New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: test_deque fails on win64 buildbot: AssertionError: 'deque([7, 8, 9], maxlen=%Id)' != 'deque([7, 8, 9], maxlen=3)'
A PY_FORMAT_SIZE_T format is incorrectly used with PyUnicode_FromFormat. The correct format here is "%zd". PY_FORMAT_SIZE_T should be reserved for the OS printf routines, PyOS_snprintf, PySys_WriteStderr. The attached patch replaces "%" PY_FORMAT_SIZE_T "%d" with "%zd" ---------- files: fromformat.patch keywords: patch messages: 72212 nosy: amaury.forgeotdarc severity: normal status: open title: PY_FORMAT_SIZE_T is not for PyString_FromFormat versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11320/fromformat.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3743> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com