[issue12854] PyOS_Readline usage in tokenizer ignores sys.stdin/sys.stdout

2015-08-08 Thread eryksun
Changes by eryksun : -- resolution: -> duplicate status: open -> closed superseder: -> Python interactive console doesn't use sys.stdin for input ___ Python tracker ___ ___

[issue12854] PyOS_Readline usage in tokenizer ignores sys.stdin/sys.stdout

2015-08-08 Thread Adam Bartoš
Adam Bartoš added the comment: http://bugs.python.org/issue17620 is a duplicate, but with more discussion. -- nosy: +Drekin ___ Python tracker ___ ___

[issue12854] PyOS_Readline usage in tokenizer ignores sys.stdin/sys.stdout

2014-07-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Albert sorry about the delay in responding to this. -- nosy: +BreamoreBoy type: -> behavior versions: +Python 3.4, Python 3.5 ___ Python tracker __

[issue12854] PyOS_Readline usage in tokenizer ignores sys.stdin/sys.stdout

2011-08-29 Thread Albert Zeyer
New submission from Albert Zeyer : In Parser/tokenizer.c, there is `PyOS_Readline(stdin, stdout, tok->prompt)`. This ignores any `sys.stdin` / `sys.stdout` overwrites. The usage should be like in Python/bltinmodule.c in builtin_raw_input. -- messages: 143168 nosy: Albert.Zeyer priority