SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

Doc: Recommend shlex.quote alongside pipes removal (#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.
C
Colin Watson committed
73e34b680852794d110cd806505b3d74d9d593db
Parent: 6a93a1a
Committed by GitHub <noreply@github.com> on 11/14/2024, 5:01:35 AM