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

SourceForge.net noreply at sourceforge.net
Sun Feb 1 13:23:26 EST 2004


Patches item #870807, was opened at 2004-01-05 11:18
Message generated for change (Settings changed) 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: Martin v. Löwis (loewis)
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: 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