[Patches] [ python-Patches-454790 ] Have getopt handle optional short args

noreply@sourceforge.net noreply@sourceforge.net
Thu, 14 Feb 2002 14:52:33 -0800


Patches item #454790, was opened at 2001-08-23 17:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=454790&group_id=5470

Category: None
Group: Python 2.3
>Status: Deleted
>Resolution: Rejected
Priority: 5
Submitted By: Richard Jones (richard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Have getopt handle optional short args

Initial Comment:
The GNU getopt implementation allows optional args to 
short arguments - two colons mean an option takes an 
optional arg; if there is text in the current 
argv-element, it is returned in optarg, otherwise 
optarg is set to zero. The attached patch implements 
this behaviour.



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

>Comment By: Richard Jones (richard)
Date: 2002-02-14 14:52

Message:
Logged In: YES 
user_id=6405

I'm going to kill it - the getopt sig kinda makes it
redundant :)

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-01-12 03:35

Message:
Logged In: YES 
user_id=21627

If there is no further action on this patch, I recommend to
close it by May 1, 2002. We really do need documentation and
test cases, and it seems that nobody is providing these, so
the patch must be rejected.

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

Comment By: Martin v. Löwis (loewis)
Date: 2001-09-19 10:55

Message:
Logged In: YES 
user_id=21627

Adding this feature sounds like a good thing. A shallow 
review of the patch reveals two major problems with it, 
though: no patches to the documentation, no patches to 
test_getopt.

Would you consider providing these missing pieces?


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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=454790&group_id=5470