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 711d724

Browse filesBrowse files
committed
Fix pymain_run_stdin() in Modules/main.c to call pymain_start_pyrepl() instead of pymain_run_module(L"_pyrepl", 0)
This change is an equivalent to the one done in https://github.com/python/cpython/pull/120904/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2R600
1 parent b681275 commit 711d724
Copy full SHA for 711d724

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Modules/main.c

Copy file name to clipboardExpand all lines: Modules/main.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ pymain_run_stdin(PyConfig *config)
570570
int run = PyRun_AnyFileExFlags(stdin, "<stdin>", 0, &cf);
571571
return (run != 0);
572572
}
573-
return pymain_run_module(L"_pyrepl", 0);
573+
return pymain_start_pyrepl();
574574
}
575575

576576

0 commit comments

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