You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PyOS_Readline usage in tokenizer ignores sys.stdin/sys.stdout #57063
Activity
albertz commentedon Aug 29, 2011
In Parser/tokenizer.c, there is
PyOS_Readline(stdin, stdout, tok->prompt). This ignores anysys.stdin/sys.stdoutoverwrites.The usage should be like in Python/bltinmodule.c in builtin_raw_input.
BreamoreBoy commentedon Jul 3, 2014
@Albert sorry about the delay in responding to this.
Drekin commentedon Aug 8, 2015
http://bugs.python.org/issue17620 is a duplicate, but with more discussion.