[Python-bugs-list] [ python-Bugs-766891 ] oct() function does not represent zero correctly

SourceForge.net noreply@sourceforge.net
Sun, 06 Jul 2003 17:35:26 -0700


Bugs item #766891, was opened at 2003-07-06 17:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=766891&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joshua Biagio (roehnan)
Assigned to: Nobody/Anonymous (nobody)
Summary: oct() function does not represent zero correctly

Initial Comment:
Under python 2.3b2, the oct() function does not 
return '00' for 0 as the grammar specifies, but simply '0'. 
I believe this to be a bug because the hex() function 
returns '0x0' for zero.

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

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