[issue27775] `shlex.split(None)` causes infinite loop
R. David Murray
report at bugs.python.org
Tue Aug 16 09:19:40 EDT 2016
R. David Murray added the comment:
This is working as designed. None means read from stdin. It is already documented in a note under shlex.split, so there isn't a doc issue here either.
(Aside: 'crash' means segfault, which this isn't.)
You could try to recast this as a feature request, but I think backward compatibility would shoot that down. You could raise it on python-ideas if you want to, but it is quite likely that *someone* is using this feature, so I don't think it likely we'll want to change it.
----------
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
type: crash -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27775>
_______________________________________
More information about the Python-bugs-list
mailing list