Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 14, 2024

One of the most common reasons I see the old pipes module still in use
when porting to Python 3.13 is for the undocumented pipes.quote
function, which can easily be replaced with shlex.quote. I think it's
worth specifically calling this out, since being directed to the
subprocess module would be confusing in this case.
(cherry picked from commit 73e34b6)

Co-authored-by: Colin Watson [email protected]


📚 Documentation preview 📚: https://cpython-previews--126820.org.readthedocs.build/

One of the most common reasons I see the old `pipes` module still in use
when porting to Python 3.13 is for the undocumented `pipes.quote`
function, which can easily be replaced with `shlex.quote`.  I think it's
worth specifically calling this out, since being directed to the
`subprocess` module would be confusing in this case.
(cherry picked from commit 73e34b6)

Co-authored-by: Colin Watson <[email protected]>
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news skip issue labels Nov 14, 2024
@hauntsaninja hauntsaninja enabled auto-merge (squash) November 14, 2024 05:02
@hauntsaninja hauntsaninja merged commit 94e536e into python:3.13 Nov 14, 2024
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants