Message376640
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); |
|
Date |
User |
Action |
Args |
2020-09-09 14:21:03 | pmpp | set | recipients:
+ pmpp, vstinner, Kevin.Barry, emmanuel, Yauheni Kaliuta |
2020-09-09 14:21:03 | pmpp | set | messageid: <1599661263.87.0.291736302681.issue14916@roundup.psfhosted.org> |
2020-09-09 14:21:03 | pmpp | link | issue14916 messages |
2020-09-09 14:21:03 | pmpp | create | |
|