Éric Araujo <mer...@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@python -> 
components: +Library (Lib) -Documentation
nosy:  -docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to