Roundup Robot added the comment:
New changeset 5ed83105731d by Mark Dickinson in branch '3.2':
Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy
Storchaka.
http://hg.python.org/cpython/rev/5ed83105731d
New changeset 3504cbb3e1d8 by Mark Dickinson in branch 'default':
Mark Dickinson added the comment:
Fixed; thanks for the patch!
(It seems this was fixed in Python 2 some time ago: see issue #4850.)
--
nosy: +mark.dickinson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Serhiy Storchaka:
In Objects/longobject.c quick_int_allocs and quick_neg_int_allocs defined as
int but in Objects/object.c they are declared and used as Py_ssize_t.
Here is a patch that fixes this mismatch.
See also issue4850.
--
components: Interpreter Core
Christian Heimes added the comment:
The patch looks good. IMO it can safely be applied as it fixes a rarely used
debug feature.
--
nosy: +christian.heimes
stage: - patch review
___
Python tracker rep...@bugs.python.org