[Patches] [ python-Patches-870807 ] optparse int, long types support binary, octal and hex forma

SourceForge.net noreply at sourceforge.net
Sun Aug 22 08:50:08 CEST 2004


Patches item #870807, was opened at 2004-01-05 11:18
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=870807&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
>Assigned to: Greg Ward (gward)
Summary: optparse int, long types support binary, octal and hex forma

Initial Comment:
Hello,

I've added support for binary, octal and hexa number
with the "int" and "long" types.
binary : 0b10 (= 2)
octal : 010 (= 8)
hexa: 0x10 (= 16)

Diff for optparse.py and test_optparse.py attached.

Miki.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-22 08:50

Message:
Logged In: YES 
user_id=21627

Ok, assigning this to Greg for consideration.

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

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-08-21 13:53

Message:
Logged In: YES 
user_id=469548

optparse.py is automatically generated from the Optik source
code, so you should file this against the Optik project
(http://sf.net/projects/optik/) instead of here. 

Still, liboptparse.tex isn't in the Optik project, so this
should be kept open as well.

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

Comment By: Miki Tebeka (tebeka)
Date: 2004-02-01 12:31

Message:
Logged In: YES 
user_id=358087

Attached.
Please check it, English is *not* my native language.

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

Comment By: Martin v. Löwis (loewis)
Date: 2004-01-31 13:39

Message:
Logged In: YES 
user_id=21627

Can you please provide a patch for Doc/lib/liboptparse.tex
as well?

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

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


More information about the Patches mailing list