mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Implement PEP 3121: new module initialization and finalization API.
This commit is contained in:
parent
cdf94635d7
commit
1a21451b1d
113 changed files with 2230 additions and 855 deletions
|
|
@ -8,9 +8,9 @@
|
|||
#include "importdl.h"
|
||||
|
||||
#if defined(__hp9000s300)
|
||||
#define FUNCNAME_PATTERN "_init%.200s"
|
||||
#define FUNCNAME_PATTERN "_PyInit_%.200s"
|
||||
#else
|
||||
#define FUNCNAME_PATTERN "init%.200s"
|
||||
#define FUNCNAME_PATTERN "PyInit_%.200s"
|
||||
#endif
|
||||
|
||||
const struct filedescr _PyImport_DynLoadFiletab[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue