Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue14616] subprocess docs should mention pipes.quote/shlex.quote

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Apr 18, 2012, 10:12 AM

Post #1 of 3 (35 views)
Permalink
[issue14616] subprocess docs should mention pipes.quote/shlex.quote

New submission from Éric Araujo <merwok [at] netwok>:

The warning at http://docs.python.org/library/subprocess#frequently-used-arguments should IMO recommend using shlex.quote. Even if it strongly advises against using shell=True, there are people who need or want to use it, so let’s give them a pointer to the quote function.

For older versions, I think we should talk about pipes.quote; even if it’s not documented in library/pipes, it is there, it is known and it is used, so I see no harm in mentioning it (with due mention that it’s only semi-official and that it becomes public in 3.3).

----------
assignee: docs [at] pytho
components: Documentation
messages: 158641
nosy: docs [at] pytho, eric.araujo
priority: normal
severity: normal
status: open
title: subprocess docs should mention pipes.quote/shlex.quote
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 23, 2012, 1:41 AM

Post #2 of 3 (32 views)
Permalink
[issue14616] subprocess docs should mention pipes.quote/shlex.quote [In reply to]

Changes by Tshepang Lekhonkhobe <tshepang [at] gmail>:


----------
nosy: +tshepang

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 23, 2012, 5:30 AM

Post #3 of 3 (31 views)
Permalink
[issue14616] subprocess docs should mention pipes.quote/shlex.quote [In reply to]

Changes by Chris Rebert <pybugs [at] rebertia>:


----------
nosy: +cvrebert

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14616>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.