]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 10 Sep 2008 22:04:45 +0000 (22:04 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 10 Sep 2008 22:04:45 +0000 (22:04 +0000)
commit05e344954de5f4e55eb49dc44b0f8e1ec272a06c
tree85368f03ea1781b7669c3ebb94a5e40d57e163aa
parent4dd3a50ca480eef7bd898cfbfef8377231e18ae9
#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
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.
Misc/NEWS
Modules/_collectionsmodule.c
Modules/_multiprocessing/connection.h
Modules/_multiprocessing/multiprocessing.h
Python/Python-ast.c