[issue28784] shlex.shlex punctuation_chars documentation should use posix=True

2017-01-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ff3312ce1d14 by Vinay Sajip in branch '3.6':
Fixes #28784: Clarified use of shlex.shlex with punctuation_chars.
https://hg.python.org/cpython/rev/ff3312ce1d14

New changeset 46f8188f8646 by Vinay Sajip in branch 'default':
Closes #28784: Merged update from 3.6.
https://hg.python.org/cpython/rev/46f8188f8646

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28784] shlex.shlex punctuation_chars documentation should use posix=True

2016-11-23 Thread Evan

New submission from Evan:

(This discussion started on issue28595.)

The new punctuation_chars keyword argument is intended to provide 
"compatibility with the parsing performed by common Unix shells like bash, 
dash, and sh", however the documentation and examples do not mention that the 
user should also set posix=True (which defaults to False for shlex.shlex but 
True for shlex.split).

Longer term (over several releases), perhaps the default for posix could be 
changed from False to True. Alternatively, the punctuation_chars argument could 
also be added to shlex.split, which would avoid having to interact with 
shlex.shlex directly.

--
assignee: docs@python
components: Documentation
messages: 281612
nosy: docs@python, evan_, r.david.murray, vinay.sajip
priority: normal
severity: normal
status: open
title: shlex.shlex punctuation_chars documentation should use posix=True
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com