Steven Bethard <steven.beth...@gmail.com> added the comment:

Your patch is a good start, but it needs to handle all the related situations, 
e.g. nargs='?' and the possibility of having more than one zero-length argument 
at the end.

I believe the following patch achieves this. Please test it out.

----------
versions: +Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file26485/15112.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to