Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Drop old Python checks#7316

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Kojoley merged 2 commits intomatplotlib:v2.xfromQuLogic:drop-old-python-checks
Oct 21, 2016
Merged

Conversation

QuLogic
Copy link
Member

#5373 raised minimum Python to 2.7 or 3.4+. A lot oftry/except stuff was removed, but explicit checks ofsys.version_info were not.

@QuLogicQuLogic added this to the2.0 (style change major release) milestoneOct 21, 2016
from urllib.request import urlretrieve
else:
from urllib import urlretrieve
Copy link
Member

Choose a reason for hiding this comment

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

Why notsix.moves.urllib.request.urlretrieve?

@@ -90,7 +89,7 @@ def _get_xdg_cache_dir():

setup_cfg = os.environ.get('MPLSETUPCFG', 'setup.cfg')
if os.path.exists(setup_cfg):
ifPY32min:
ifPY3min:
config = configparser.ConfigParser()
else:
config = configparser.SafeConfigParser()
Copy link
Member

Choose a reason for hiding this comment

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

Why notsix.moves.configparser.SafeConfigParser?

@QuLogic
Copy link
MemberAuthor

I don't think we can rely onsix insetup.py (which usessetupext.py.)

Copy link
Member

@KojoleyKojoley left a comment

Choose a reason for hiding this comment

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

Ah, yeah.

@KojoleyKojoley merged commitea98cb5 intomatplotlib:v2.xOct 21, 2016
@QuLogicQuLogic deleted the drop-old-python-checks branchOctober 22, 2016 00:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@KojoleyKojoleyKojoley approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
v2.0.0
Development

Successfully merging this pull request may close these issues.

2 participants
@QuLogic@Kojoley

[8]ページ先頭

©2009-2025 Movatter.jp