[issue45497] Argparse: Refactor '%' interpolation to f-strings

2021-10-16 Thread Shivnaren Srinivasan
Shivnaren Srinivasan added the comment: Understood--thank you for the responses. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45497] Argparse: Refactor '%' interpolation to f-strings

2021-10-16 Thread Shivnaren Srinivasan
New submission from Shivnaren Srinivasan : I use `argparse` a lot, and I think it's great—going through the source code, I see all string interpolation is with the old printf `%` formatting. AFAIK, f-strings are now the suggested method for interpolation (*after they were introduced, th

[issue45442] Update `Virtual Environment` tutorial

2021-10-16 Thread Shivnaren Srinivasan
Change by Shivnaren Srinivasan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45442] Update `Virtual Environment` tutorial

2021-10-15 Thread Shivnaren Srinivasan
Change by Shivnaren Srinivasan : -- pull_requests: +27268 pull_request: https://github.com/python/cpython/pull/28981 ___ Python tracker <https://bugs.python.org/issue45

[issue45442] Update `Virtual Environment` tutorial

2021-10-12 Thread Shivnaren Srinivasan
Shivnaren Srinivasan added the comment: In the same vein, the specified script for windows is the old .bat file, though PowerShell is now the preferred shell (and for which a .ps1 script is generated in the venv directory). We could make the .ps1 the default, and specify the .bat as an

[issue45442] Update `Virtual Environment` tutorial

2021-10-12 Thread Shivnaren Srinivasan
New submission from Shivnaren Srinivasan : Priority: Low The Virtual Environment tutorial page (https://docs.python.org/3/tutorial/venv.html) doesn't specify how we can revert, or deactivate the `venv`. This is quite a popular question on SO: https://stackoverflow.com/questions/990754/h