mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-117953: Share More Machinery Code Between Builtin and Dynamic Extensions (gh-118204)
This change will make some later changes simpler. It also brings more consistent behavior and lower maintenance costs.
This commit is contained in:
parent
7ccacb220d
commit
529a160be6
3 changed files with 198 additions and 157 deletions
|
|
@ -36,6 +36,9 @@ extern int _Py_ext_module_loader_info_init(
|
|||
struct _Py_ext_module_loader_info *info,
|
||||
PyObject *name,
|
||||
PyObject *filename);
|
||||
extern int _Py_ext_module_loader_info_init_for_builtin(
|
||||
struct _Py_ext_module_loader_info *p_info,
|
||||
PyObject *name);
|
||||
extern int _Py_ext_module_loader_info_init_from_spec(
|
||||
struct _Py_ext_module_loader_info *info,
|
||||
PyObject *spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue