8000 Use dicts instead of long elif chains for fastparse operator conversion by ddfisher · Pull Request #1248 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Use dicts instead of long elif chains for fastparse operator conversion #1248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2016

Conversation

ddfisher
Copy link
Collaborator

As per Guido's suggestion on #1218. This is a lot less verbose and slightly faster.

@gvanrossum
Copy link
Member

Lgtm. Disagree with the try/except.

--Guido (mobile)
On Feb 26, 2016 6:22 PM, "David Fisher" notifications@github.com wrote:

As per Guido's suggestion on #1218
#1218. This is a lot less verbose

and slightly faster.

You can view, comment on, or merge this pull request online at:

#1248
Commit Summary

  • Use dicts instead of long elif chains for fastparse operator
    conversion

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#1248.

@ddfisher
Copy link
Collaborator Author

Yeah, I think this looks cleaner as is.

ddfisher added a commit that referenced this pull request Feb 27, 2016
Use dicts instead of long elif chains for fastparse operator conversion
@ddfisher ddfisher merged commit ac9f59b into python:master Feb 27, 2016
neiljp added a commit to neiljp/python-zulip-api that referenced this pull request Nov 15, 2017
neiljp added a commit to neiljp/python-zulip-api that referenced this pull request Nov 15, 2017
timabbott pushed a commit to zulip/python-zulip-api that referenced this pull request Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0