Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Remove Python 2 compatibility shims#979
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
Byron merged 32 commits intogitpython-developers:masterfromHarmon758:python-2-support-removalFeb 8, 2020
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
32 commits Select commitHold shift + click to select a range
ff57c04
Remove str import from builtins
Harmon758e0bf255
Remove unnecessary check for sys.getfilesystemencoding
Harmon758142c779
Remove and replace compat.FileType
Harmon758584ab08
Remove compat.byte_ord
Harmon758e564c2f
Remove and replace compat.bchr
Harmon7585444787
Remove and replace compat.mviter
Harmon7583f21cb1
Remove compat.range
Harmon758d0d2a86
Remove and replace compat.xrange
Harmon75891e91b2
Remove and replace compat.unicode
Harmon758c30880d
Remove Python 2 check for compat.defenc
Harmon7582c4d556
Remove and replace compat.binary_type
Harmon7588e55323
Remove and replace compat._unichr
Harmon75818fc6b2
Remove and replace compat.bytes_chr
Harmon7589615ada
Remove surrogateescape error handler for Python 2
Harmon7585549ffe
Remove and replace compat.UnicodeMixin
Harmon75860c8dc2
Remove checks for Python 2 and/or 3
Harmon7586005b89
Remove Python 2 test
Harmon758952eaad
Remove compat.PY3
Harmon758266187b
Remove and replace compat.MAXSIZE
Harmon7588a8b24e
Remove and replace compat.izip
Harmon75807df7c9
Remove and replace compat.string_types
Harmon7582f31261
Remove and replace compat.text_type
Harmon758369de3d
Remove no longer used compat imports
Harmon75892348df
Remove no longer used imports in tests
Harmon758ebcdb8b
Remove attempt to import ConfigParser for Python 2
Harmon7587f250ca
Remove check for Python 2.7
Harmon75821d56e2
Remove unnecessary check for logging.NullHandler for Python 2.6
Harmon758d96688f
Improve setup.py python_requires
Harmon758d0cd5bf
Remove unnecessary check for PermissionError for Python < 3.3
Harmon758a611adc
Add to AUTHORS
Harmon758d0899a0
Fix requirements.txt formatting
Harmon758c5f5911
Remove now unused is_invoking_git variable in test
Harmon758File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletionsAUTHORS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
17 changes: 1 addition & 16 deletionsgit/cmd.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
254 changes: 4 additions & 250 deletionsgit/compat.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.