-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kickstart support drop for Python < 3.7 (#499)
* Kickstart support drop for Python < 3.7 Step 1 of code clean-up: mechanically remove if-else branches that would never run in Python/PyPy >= 3.7. There's still some unused or redundant code, left for the next step to facilitate review. Note: all the remaining `sys.hexversion` tests were standardized to use numerical comparison and hexadecimal integer literals (e.g. `0x30b00a7` for version 3.11.0a7) as most of them already were. * convert single function defined via exec() due to Python2/3 differences * drop 'from __future__ import print_function' statements * remove conditional imports due to Python 2 and old Python 3 * substitute bare 'except' clauses by 'except Exception' or more specific where it's obvious * split module imports into separated lines * idem, but for test files * review: adjustments * tests: get a default Python 3 executable * update module docs * update README * review: corrections * remove unicode prefix from strings in docs/source/conf.py
- Loading branch information
Showing
27 changed files
with
461 additions
and
1,082 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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.