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

Remove Python 2 compatibility shims#56

Merged
Byron merged 10 commits intogitpython-developers:masterfrom
Harmon758:python-2-support-removal
Feb 17, 2020
Merged

Remove Python 2 compatibility shims#56
Byron merged 10 commits intogitpython-developers:masterfrom
Harmon758:python-2-support-removal

Conversation

@Harmon758
Copy link
Member

This PR removes and replaces Python 2 compatibility shims, since Python 2 support was dropped withc880f6b in 3.0.0:

  • Removecompat.memoryview andcompat.PY3
  • Remove and replacecompat.buffer andcompat.to_bytes
  • Remove and replacecompat.izip withzip,compat.MAXSIZE withsys.maxsize,compat.xrange withrange
  • Remove and replaceencoding.string_types andencoding.text_type withstr
  • Remove and replaceizip inTestPack

@Harmon758Harmon758 self-assigned thisFeb 16, 2020
Copy link
Member

@ByronByron left a comment

Choose a reason for hiding this comment

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

Absolutely fantastic, thanks so much for your work!
I will be releasing this in a moment, and publish a new version of GitPython as well with adjusted requirements.

@ByronByron merged commit183d1bc intogitpython-developers:masterFeb 17, 2020
@Harmon758Harmon758 deleted the python-2-support-removal branchFebruary 17, 2020 02:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ByronByronByron approved these changes

Assignees

@Harmon758Harmon758

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Harmon758@Byron

[8]ページ先頭

©2009-2026 Movatter.jp