]> granicus.if.org Git - python/commit
PyString_FromFormatV: Massage platform %p output to match what gcc does,
authorTim Peters <tim.peters@gmail.com>
Sat, 25 Aug 2001 03:02:28 +0000 (03:02 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 25 Aug 2001 03:02:28 +0000 (03:02 +0000)
commit6af5bbb5653a9b77102369d60fb18d3bc896bf92
tree6acf77178ee58c9e5e115a5363287dea94edf115
parentea46fa84946752513888996f0aabe1263a73164f
PyString_FromFormatV:  Massage platform %p output to match what gcc does,
at least in the first two characters.  %p is ill-defined, and people will
forever commit bad tests otherwise ("bad" in the sense that they fall
over (at least on Windows) for lack of a leading '0x'; 5 of the 7 tests
in test_repr.py failed on Windows for that reason this time around).
Objects/stringobject.c