forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1740123: Move Python version check earlier r=ahal
Move Python version check as early as possible so that more code can safely depend on modern behaviour while out-of-date Python versions still get graceful error messages. Without this change, Python 2 usages fail on importing `importlib.util` before the nice "out-of-date version" warning is printed. Differential Revision: https://phabricator.services.mozilla.com/D134185
- Loading branch information
Mitchell Hentges
committed
Jan 4, 2022
1 parent
07f875d
commit 8fff83d
Showing
2 changed files
with
35 additions
and
41 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