This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: shlex handles 'None' poorly
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, skvidal
Priority: normal Keywords:

Created on 2007-06-25 15:09 by skvidal, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg32395 - (view) Author: Seth Vidal (skvidal) Date: 2007-06-25 15:09
If you pass shlex.split() None for any reason it will run forever waiting for input, w/o outputting anything.

That seems like the wrong behavior.
msg32396 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-06-25 15:22
This won't fix, because that comes from split() creating a shlex() instance, which takes None as sys.stdin.

But I've added a documentation note in rev. 56084, 56085 (2.5).
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45128
2007-06-25 15:09:25skvidalcreate