[issue9723] Add shlex.quote

Éric Araujo report at bugs.python.org
Sat Jan 22 19:42:12 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Even if quote does not start with an underscore, its absence from the docs and from the module’s __all__ make it a private function.

I propose to make it public as shlex.quote in 3.3 and deprecate pipes.quote for people that relied on it (i.e. move code from pipes/test_pipes to shlex/test_shlex, add doc, write a pipes.quote function that sends a DeprecationWarning and calls shlex.quote).

----------
assignee: docs at python -> 
components: +Library (Lib) -Documentation
nosy:  -docs at python
title: pipes.quote() needs to be documented -> Add shlex.quote
type:  -> feature request
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9723>
_______________________________________


More information about the Python-bugs-list mailing list