[ python-Bugs-1742901 ] shlex handles 'None' poorly

SourceForge.net noreply at sourceforge.net
Mon Jun 25 17:22:39 CEST 2007


Bugs item #1742901, was opened at 2007-06-25 15:09
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1742901&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.5
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Seth Vidal (skvidal)
Assigned to: Nobody/Anonymous (nobody)
Summary: shlex handles  'None' poorly

Initial Comment:

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.


----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-06-25 15:22

Message:
Logged In: YES 
user_id=849994
Originator: NO

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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1742901&group_id=5470


More information about the Python-bugs-list mailing list