[New-bugs-announce] [issue22883] Get rid of references to PyInt in Py3 sources

Serhiy Storchaka report at bugs.python.org
Sun Nov 16 15:12:26 CET 2014


New submission from Serhiy Storchaka:

There are several references to PyInt in outdated comments in .c and .h files:

$ find * -name '*.[ch]' -exec egrep -n --color -- 'PyInt\b' '{}' +
Include/longobject.h:34:/* It may be useful in the future. I've added it in the PyInt -> PyLong
Modules/fcntlmodule.c:157:       into either a large positive number (PyLong or PyInt on 64-bit
Modules/fcntlmodule.c:158:       platforms) or a negative number on others (32-bit PyInt)
Modules/_json.c:813:        PyInt, PyLong, or PyFloat.
Modules/itertoolsmodule.c:3869:    assert(cnt != PY_SSIZE_T_MAX && long_cnt == NULL && long_step==PyInt(1));
Python/ceval.c:4606:/* Extract a slice index from a PyInt or PyLong or an object with the

----------
components: Extension Modules, Interpreter Core
messages: 231246
nosy: mark.dickinson, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: Get rid of references to PyInt in Py3 sources
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22883>
_______________________________________


More information about the New-bugs-announce mailing list