[issue10320] printf %qd is nonstandard

2018-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue10320] printf %qd is nonstandard

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 838645dc4191c4109e2b300cf9ed9d481b55509f by Serhiy Storchaka (Zackery Spytz) in branch '2.7': bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230) https://github.com/python/cpython/commit/838645dc4191c4109e2b300cf9ed9d481b55

[issue10320] printf %qd is nonstandard

2018-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10465 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue10320] printf %qd is nonstandard

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset 53e2248a94cd89e65326c5cfd400f74a88552d8c by Miss Islington (bot) in branch '2.7': bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) https://github.com/python/cpython/commit/53e2248a94cd89e65326c5cfd40

[issue10320] printf %qd is nonstandard

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10463 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10320] printf %qd is nonstandard

2018-12-03 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue10320] printf %qd is nonstandard

2018-12-03 Thread miss-islington
miss-islington added the comment: New changeset f65ede3f8fa08493facf48177540d0ec26e59560 by Miss Islington (bot) in branch '3.6': bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) https://github.com/python/cpython/commit/f65ede3f8fa08493facf4817754

[issue10320] printf %qd is nonstandard

2018-12-03 Thread miss-islington
miss-islington added the comment: New changeset a9f435e5d856fb62516b70a78217e40b90bec233 by Miss Islington (bot) in branch '3.7': bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) https://github.com/python/cpython/commit/a9f435e5d856fb62516b70a7821

[issue10320] printf %qd is nonstandard

2018-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +10093 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10320] printf %qd is nonstandard

2018-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +10091 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10320] printf %qd is nonstandard

2018-12-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +10092 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10320] printf %qd is nonstandard

2018-12-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 062cbb67726f26794b1b461853e40696b4a0b220 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) https://github.com/python/cpython/commit/062cbb6772

[issue10320] printf %qd is nonstandard

2018-12-02 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR for this issue. -- nosy: +ZackerySpytz versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker

[issue10320] printf %qd is nonstandard

2018-12-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10088 stage: test needed -> patch review ___ Python tracker ___ ___ Py

[issue10320] printf %qd is nonstandard

2015-02-08 Thread Mark Lawrence
Mark Lawrence added the comment: As VMS is not supported I doubt that people here are too bothered about what is needed to build the _ctypes module on it. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python trac

[issue10320] printf %qd is nonstandard

2015-02-08 Thread John Malmberg
John Malmberg added the comment: OpenVMS needs %lld or "%" PY_FORMAT_LONG_LONG "d" in order to build the _ctypes module. -- nosy: +John.Malmberg ___ Python tracker ___ _

[issue10320] printf %qd is nonstandard

2011-10-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10320] printf %qd is nonstandard

2011-10-17 Thread bugs-pyt...@vendor.thewrittenword.com
bugs-pyt...@vendor.thewrittenword.com added the comment: Objects/stringobject.c already does something similar: else if (longlongflag) sprintf(s, "%" PY_FORMAT_LONG_LONG "d", va_arg(vargs, PY_LONG_LONG)); so it makes sense to do the sa

[issue10320] printf %qd is nonstandard

2011-08-17 Thread Meador Inge
Meador Inge added the comment: I agree that this violates C99, but is this actually causing any real world problems with the platforms Python supports? If so, then we need a test case. This seems low priority -- assignee: theller -> nosy: +amaury.forgeotdarc, belopolsky, meador.ing

[issue10320] printf %qd is nonstandard

2010-11-05 Thread Hallvard B Furuseth
New submission from Hallvard B Furuseth : Modules/_ctypes/callproc.c:PyCArg_repr() uses sprintf(%qd, long long), which is a GNU (and more?) extension. ISO C99 says %lld. Instead, use "%" PY_FORMAT_LONG_LONG "d" from pyconfig.h/pyport.h. Kills off #ifdef MS_WIN32 too. If Python must support C l