Mercurial > cpython-lru_cache-weakref
view Modules/ccpython.cc @ 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 | 57aa277d7a00 |
| children |
line wrap: on
line source
/* Minimal main program -- everything is loaded from the library */ #include "Python.h" extern "C" DL_EXPORT(int) Py_Main( int argc, char *argv[] ); int main( int argc, char *argv[] ) { return Py_Main(argc, argv); }
