Skip to content

Commit

Permalink
gh-117953: Share More Machinery Code Between Builtin and Dynamic Exte…
Browse files Browse the repository at this point in the history
…nsions (gh-118204)

This change will make some later changes simpler. It also brings more consistent behavior and lower maintenance costs.
  • Loading branch information
ericsnowcurrently authored Apr 29, 2024
1 parent 7ccacb2 commit 529a160
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 156 deletions.
3 changes: 3 additions & 0 deletions Include/internal/pycore_importdl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading

0 comments on commit 529a160

Please sign in to comment.