Message20496
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). |
|
Date |
User |
Action |
Args |
2007-08-23 14:20:55 | admin | link | issue934282 messages |
2007-08-23 14:20:55 | admin | create | |
|