[issue15959] Declaration mismatch of quick integer allocation counters

Serhiy Storchaka report at bugs.python.org
Mon Sep 17 21:52:36 CEST 2012


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
files: quick_int_allocs.patch
keywords: patch
messages: 170621
nosy: loewis, storchaka
priority: normal
severity: normal
status: open
title: Declaration mismatch of quick integer allocation counters
type: resource usage
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file27210/quick_int_allocs.patch

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


More information about the Python-bugs-list mailing list