Mercurial > cpython-lru_cache-weakref
view Include/enumobject.h @ 34845:cd2c044f699d legacy-trunk
Fix for rather inaccurately titled bug
[ 1165306 ] Property access with decorator makes interpreter crash
Don't allow the creation of unbound methods with NULL im_class, because
attempting to call such crashes.
Backport candidate.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Wed, 30 Mar 2005 16:32:10 +0000 |
| parents | 41c4e143e6e6 |
| children |
line wrap: on
line source
#ifndef Py_ENUMOBJECT_H #define Py_ENUMOBJECT_H /* Enumerate Object */ #ifdef __cplusplus extern "C" { #endif PyAPI_DATA(PyTypeObject) PyEnum_Type; PyAPI_DATA(PyTypeObject) PyReversed_Type; #ifdef __cplusplus } #endif #endif /* !Py_ENUMOBJECT_H */
