[Python-bugs-list] [ python-Bugs-757365 ] FutureWarning: %u/%o/%x/%X of negative int will return a sig

SourceForge.net noreply@sourceforge.net
Thu, 19 Jun 2003 09:35:26 -0700


Bugs item #757365, was opened at 2003-06-19 16: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=757365&group_id=5470

Category: None
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Duncan Grant (duncangrantuk)
Assigned to: Nobody/Anonymous (nobody)
Summary: FutureWarning: %u/%o/%x/%X of negative int will return a sig

Initial Comment:
printf style formatting:

"FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up"

The library reference clearly states that these are UNSIGNED representations, so the Futurewarning must be spurious!

Please tell me you don't really intend to break this in 2.4 !!!!

In 20+ yrs of low level bit-twiddling I have never ever wanted a signed hexadecimal. The idea of a signed hex or octal is just plain stupid. 

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

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