Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] Doc: Recommend shlex.quote alongside pipes removal (GH-126570) #126820

Merged
merged 1 commit into from
Nov 14, 2024

Commits on Nov 14, 2024

  1. Doc: Recommend shlex.quote alongside pipes removal (pythonGH-126570)

    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]>
    cjwatson authored and miss-islington committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    6962946 View commit details
    Browse the repository at this point in the history