[issue42995] Add PurePath.with_suffix_appended()
Change by Brendan Gerrity : -- keywords: +patch pull_requests: +23109 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24288 ___ Python tracker <https://bugs.python.org/issue42995> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42995] Add PurePath.with_suffix_appended()
Brendan Gerrity added the comment: This could addressed with either a new helper or an option in the `PurePath.with_suffix()`. -- ___ Python tracker <https://bugs.python.org/issue42995> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42995] Add PurePath.with_suffix_appended()
New submission from Brendan Gerrity : Appending a new suffix to a file is common operation. The operations don't come across as elegant: e.g. `foo_path.with_suffix(foo_path.suffix + ".old")` -- components: Library (Lib) messages: 385451 nosy: bgerrity priority: normal severity: normal status: open title: Add PurePath.with_suffix_appended() versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue42995> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34532] Windows launcher exits with error after listing available versions
Change by Brendan Gerrity : -- keywords: +patch pull_requests: +8501 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue34532> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34565] Launcher does not validate major versions
Brendan Gerrity added the comment: Added a commit that just changes the comment. -- ___ Python tracker <https://bugs.python.org/issue34565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34565] Launcher does not validate major versions
Brendan Gerrity added the comment: The function's comment says otherwise; I just noticed when I was messing with 34565. Supporting arbitrary major versions makes the -0 arg ambiguous so alternatively that could be the special case? -- ___ Python tracker <https://bugs.python.org/issue34565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34565] Launcher does not validate major versions
Change by Brendan Gerrity : -- keywords: +patch pull_requests: +8498 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34565] Launcher does not validate major versions
New submission from Brendan Gerrity : When a version argument is passed to the launcher (e.g. `py -3.4` or `py -7.0`), contrary to the launcher help text, the major version isn't validated as 2 or 3. -- components: Windows messages: 324483 nosy: bgerrity, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Launcher does not validate major versions type: behavior versions: Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34565> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34062] Python launcher on Windows does not work with --list or --list-paths
Change by Brendan Gerrity : -- nosy: +bgerrity ___ Python tracker <https://bugs.python.org/issue34062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34532] Python launcher on Windows exits with error when requesting list of available versions
New submission from Brendan Gerrity : When any of the list available pythons arguments is used (e.g. `py -0`), the launcher exits with the error code 103 `RC_NO_PYTHON`. This is inconsistent with the launcher's `-h` help argument, which exits with a 0. -- components: Windows messages: 324265 nosy: bgerrity, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python launcher on Windows exits with error when requesting list of available versions type: behavior versions: Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34532> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34062] Python launcher on Windows does not work with --list or --list-paths
Change by Brendan Gerrity : -- pull_requests: +8306 ___ Python tracker <https://bugs.python.org/issue34062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com