bpo-34565: Validate major version in launcher - #9037
Conversation
A valid major version was previously any digit sequence. This change restricts the major to either 2 or 3 to match the launcher help text.
7c4f2a4 to
e7f2836
Compare
|
We don't need NEWS entries for just comment changes, since there's no impact on end users that they may need the listing for. Normally we wouldn't insist on a bug number either, but since it's already there and there's some history around it, it can stay. |
|
If someone else merges this, change the commit message to:
|
…d major versions. (pythonGH-9037) (cherry picked from commit 3876af4) Co-authored-by: Brendan Gerrity <brerrity@gmail.com>
|
Sorry, @bgerrity and @zooba, I could not cleanly backport this to |
|
GH-9065 is a backport of this pull request to the 3.7 branch. |
|
We don't really need the 3.6 backport... |
A valid major version was previously any digit sequence. This change restricts the major to either 2 or 3 to match the launcher help text.
https://bugs.python.org/issue34565