Issue 25614: Lib/code.py: InteractiveConsole.raw_input writes prompt to stdout (original) (raw)

Issue25614

Created on 2015-11-12 23:41 by Yclept.Nemo, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg254575 - (view) Author: Yclept Nemo (Yclept.Nemo) Date: 2015-11-12 23:41
Just like InteractiveInterpreter.write and the actual python interpreter, the console's prompt should be written to stderr. Something like: self.write(prompt) return input()
msg256182 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2015-12-10 20:24
Thanks for the report! Unfortunately, self.write(prompt) return input() is not equivalent of ``return input(prompt)``. Could you give more information about your use case?
msg338710 - (view) Author: Cheryl Sabella (cheryl.sabella) * (Python committer) Date: 2019-03-24 00:54
Since there was no additional information provided by the original poster, I'm going to close this. Feel free to reopen if there is a use case.
History
Date User Action Args
2022-04-11 14:58:23 admin set github: 69800
2019-03-24 00:54:59 cheryl.sabella set status: open -> closednosy: + cheryl.sabellamessages: + resolution: not a bugstage: resolved
2015-12-10 20:24:16 berker.peksag set nosy: + berker.peksagmessages: +
2015-11-12 23:41:20 Yclept.Nemo create