Staging
v0.5.1
https://github.com/python/cpython
Revision 4a11bb3f86a5d5ca975f800cf1740b9253794ab7 authored by Thomas Wouters on 23 May 2001, 12:30:59 UTC, committed by Thomas Wouters on 23 May 2001, 12:30:59 UTC
A different approach to the problem reported in
Patch #419651: Metrowerks on Mac adds 0x itself
C std says %#x and %#X conversion of 0 do not add the 0x/0X base marker.
Metrowerks apparently does.  Mark Favas reported the same bug under a
Compaq compiler on Tru64 Unix, but no other libc broken in this respect
is known (known to be OK under MSVC and gcc).
So just try the damn thing at runtime and see what the platform does.
Note that we've always had bugs here, but never knew it before because
a relevant test case didn't exist before 2.1.
1 parent ed53d87
History
Tip revision: 4a11bb3f86a5d5ca975f800cf1740b9253794ab7 authored by Thomas Wouters on 23 May 2001, 12:30:59 UTC
Backport Tim's checkin 2.104:
Tip revision: 4a11bb3
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.1 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.0 KB

README

back to top