[issue12149] Segfault in _PyObject_GenericGetAttrWithDict
Antoine Pitrou
report at bugs.python.org
Thu Dec 15 14:11:36 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Since PyType_Modified is generally called whenever a type is modified,
> it is likely to act as a guardian for any future optimisations that
> require classes to be unchanged.
>
> Thus, given these two reasons, it seems wise to call PyType_Modified
> anywhere the type is modified, however minor that modification appears
> to be.
Well, unless we start reviewing all the places where a type might be
directly modified, I'm not sure there's much point in adding
PyType_Modified to those two.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12149>
_______________________________________
More information about the Python-bugs-list
mailing list