Skip to content
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

Workaround for Python 3 with pyparsing <= 2.0.0 #1927

Merged
merged 1 commit into from May 13, 2013

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Apr 19, 2013

Turning off packrat parsing will avoid a bug in pyparsing <= 2.0.0, however it is much slower.

http://pyparsing.svn.sourceforge.net/viewvc/pyparsing/src/pyparsing_py3.py?r1=219&r2=218&pathrev=219

This is a follow on to the discussion in #1788

@mdboom
Copy link
Member Author

mdboom commented Apr 19, 2013

In #1788, @juliantaylor suggested adding a test for the bug, rather than a strict version check. I thought it actually better to have a workaround, which is to turn off packrat parsing... It would be difficult to test for the case and then respond accordingly, since there is no function to disable packrat parsing once it is enabled. I think this at least allows people who fall in the hole of being on Python 3 but who want to install everything from dependencies to move forward with something that at least works.

mdboom added a commit that referenced this pull request May 13, 2013
Workaround for Python 3 with pyparsing <= 2.0.0
@mdboom mdboom merged commit e13cd6e into matplotlib:master May 13, 2013
@mdboom mdboom deleted the pyparsing-workaround branch August 7, 2014 13:52
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.

None yet

1 participant