Mercurial > cpython-lru_cache-weakref
view Python/dynload_stub.c @ 20903:bfcc2ed9caba legacy-trunk
Add a regression test for SF bug #478536: If a value cannot be weakly
referenced, WeakKeyDictionary.has_key() should return 0 instead of raising
TypeError.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 06 Nov 2001 16:38:34 +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} };
