Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 529a160

Browse filesBrowse files
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.
1 parent 7ccacb2 commit 529a160
Copy full SHA for 529a160

File tree

Expand file treeCollapse file tree

3 files changed

+197
-156
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+197
-156
lines changed

‎Include/internal/pycore_importdl.h

Copy file name to clipboardExpand all lines: Include/internal/pycore_importdl.h
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ extern int _Py_ext_module_loader_info_init(
3636
struct _Py_ext_module_loader_info *info,
3737
PyObject *name,
3838
PyObject *filename);
39+
extern int _Py_ext_module_loader_info_init_for_builtin(
40+
struct _Py_ext_module_loader_info *p_info,
41+
PyObject *name);
3942
extern int _Py_ext_module_loader_info_init_from_spec(
4043
struct _Py_ext_module_loader_info *info,
4144
PyObject *spec);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.