[Python-ideas] Move more parts of interpreter core to stdlib

Antoine Pitrou solipsis at pitrou.net
Tue Aug 27 10:11:02 CEST 2013


Le Mon, 26 Aug 2013 21:57:50 +0200,
Draic Kin <drekin at gmail.com> a écrit :
> > The one thing that may be considered is whether there is a point in
> > having two versions of the interactive prompt: the default one in C,
> > and a re-usable Python one in code.py.
> >
> > There are also subtle differences between the two. E.g. whether to
> > write
> the prompt to stdout or stderr, how to behave when attributes sys.ps1,
> sys.ps2 are missing, and of course whether to get input from
> sys.stdin or the standard STDIN.

Yes... But I'm not sure those differences were intended in the first
place. IMO it would make sense to smooth them out.
(there's a lot of historical baggage that could explain the
discrepancies)

Regards

Antoine.




More information about the Python-ideas mailing list