Message376640
| Author |
pmpp |
| Recipients |
Kevin.Barry, Yauheni Kaliuta, emmanuel, pmpp, vstinner |
| Date |
2020年09月09日.14:21:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1599661263.87.0.291736302681.issue14916@roundup.psfhosted.org> |
| In-reply-to |
| Content |
all PyRun_InteractiveOne* functions are also affected
it is really annoying when implementing repl behaviour when embedding( use cases : pyodide, android, wasi )
But I think the correct patch is :
- char *newtok = PyOS_Readline(stdin, stdout, tok->prompt);
+ char *newtok = PyOS_Readline(tok->fp? tok->fp : stdin, stdout, tok->prompt); |
|