This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2004-06-05.17:05:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

This can be simplifed.  The code in PyString_FromFormatV() 
massages the native %p result to guarantee it begins 
with "0x".  It didn't always do this, and inspect.py was 
written when Python didn't massage the native %p result at 
all.  Now there's no need to cater to "0X", or to cater to 
that "0x" might be missing.  The case of a-f may still differ 
across platforms, and that's deliberate (addresses are of 
most interest to C coders, and they're "used to" whichever 
case their platform delivers for %p in C code).
History
Date User Action Args
2007-08-23 14:20:55adminlinkissue934282 messages
2007-08-23 14:20:55admincreate