[New-bugs-announce] [issue2963] Method cache is broken in Py3
Stefan Behnel
report at bugs.python.org
Sun May 25 10:05:49 CEST 2008
New submission from Stefan Behnel <scoder at users.sourceforge.net>:
The method cache is deactivated in current Py3. As Lisandro Dalcín
noticed, the following code in typeobject.c always returns false for a
Py3 identifier:
#define MCACHE_CACHEABLE_NAME(name) \
PyString_CheckExact(name) && \
PyString_GET_SIZE(name) <= MCACHE_MAX_ATTR_SIZE
----------
components: Interpreter Core
messages: 67328
nosy: scoder
severity: normal
status: open
title: Method cache is broken in Py3
type: behavior
versions: Python 3.0
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2963>
__________________________________
More information about the New-bugs-announce
mailing list