https://github.com/python/cpython
Revision 05e344954de5f4e55eb49dc44b0f8e1ec272a06c authored by Amaury Forgeot d'Arc on 10 September 2008, 22:04:45 UTC, committed by Amaury Forgeot d'Arc on 10 September 2008, 22:04:45 UTC
PyString_FromFormat which has an independent implementation, and uses "%zd".

This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.

Reviewed by Martin von Loewis.
1 parent 4dd3a50
History
Tip revision: 05e344954de5f4e55eb49dc44b0f8e1ec272a06c authored by Amaury Forgeot d'Arc on 10 September 2008, 22:04:45 UTC
#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
Tip revision: 05e3449
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 37.7 KB
README -rw-r--r-- 55.6 KB
configure -rwxr-xr-x 660.2 KB
configure.in -rw-r--r-- 103.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.6 KB
setup.py -rw-r--r-- 79.6 KB

README

back to top