Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: fix py2 compatibility issue #7473

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
Nov 17, 2016

Conversation

tacaswell
Copy link
Member

Turns out that maxsplit can only be used as a keyword arg in py3.3+

@tacaswell tacaswell added this to the 2.0.1 (next bug fix release) milestone Nov 17, 2016
@tacaswell
Copy link
Member Author

As this is fixing up a example which is failing travis, will self-merge as soon as it passes.

@QuLogic
Copy link
Member

QuLogic commented Nov 17, 2016

I also get an error running the example directly with python2 due to the unicode emdash and no explicit source file encoding.

@tacaswell tacaswell force-pushed the doc_fix_mandelbort_demo branch from 2e305ba to a0b44a7 Compare November 17, 2016 01:57
@tacaswell
Copy link
Member Author

Thank @QuLogic !

@QuLogic
Copy link
Member

QuLogic commented Nov 17, 2016

Grr, looks like it won't eval with the encoding, so I guess you'd need to change the character to a Unicode escape or just a plain dash instead.

@tacaswell tacaswell force-pushed the doc_fix_mandelbort_demo branch from a0b44a7 to 5e1adca Compare November 17, 2016 03:01
@tacaswell
Copy link
Member Author

Once more with feeling.

Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see it?

 - Turns out that maxsplit can only be used as a keyword arg in py3.3+
 - use - instead of — to play nice with python2
@tacaswell tacaswell force-pushed the doc_fix_mandelbort_demo branch from 5e1adca to 6a38195 Compare November 17, 2016 03:15
@tacaswell
Copy link
Member Author

lucky 4th force push.

@QuLogic QuLogic merged commit 59c9f36 into matplotlib:v2.x Nov 17, 2016
@tacaswell tacaswell deleted the doc_fix_mandelbort_demo branch November 17, 2016 04:04
@QuLogic QuLogic modified the milestones: 2.0.1 (next bug fix release), 2.0 (style change major release) Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.