Mercurial > cpython-lru_cache-weakref
view Python/dynload_stub.c @ 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 | 6f6f965c5e2d |
| children | 257cbd2fac38 |
line wrap: on
line source
/* This module provides the necessary stubs for when dynamic loading is not present. */ #include "Python.h" #include "importdl.h" const struct filedescr _PyImport_DynLoadFiletab[] = { {0, 0} };
