Staging
v0.5.1
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
mime
test
__init__.py -rw-r--r-- 2.8 KB
_parseaddr.py -rw-r--r-- 14.6 KB
base64mime.py -rw-r--r-- 5.7 KB
charset.py -rw-r--r-- 15.4 KB
encoders.py -rw-r--r-- 2.2 KB
errors.py -rw-r--r-- 1.6 KB
feedparser.py -rw-r--r-- 19.9 KB
generator.py -rw-r--r-- 12.8 KB
header.py -rw-r--r-- 21.2 KB
iterators.py -rw-r--r-- 2.2 KB
message.py -rw-r--r-- 29.6 KB
parser.py -rw-r--r-- 3.2 KB
quoprimime.py -rw-r--r-- 10.6 KB
utils.py -rw-r--r-- 9.6 KB

back to top