Message272662
There is also the following consequence of (not) having the standard filenos: input() either considers the streams interactive or not. To consider them interactive, standard filenos and isatty are needed on sys.stdin and sys.stdout.
If the streams are considered interactive, input() goes via readlinehook machinery, otherwise it just writes and reads an ordinary file.
The latter means we don't have to touch readline machinery now, the downside is that custom rlcompleters like pyreadline won't work on input(). |
|
Date |
User |
Action |
Args |
2016-08-14 10:31:16 | Drekin | set | recipients:
+ Drekin, lemburg, mhammond, terry.reedy, paul.moore, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, christian.heimes, tim.golden, mark, ned.deily, christoph, ezio.melotti, v+python, hippietrail, ssbarnea, flox, davidsarah, santoso.wijaya, akira, BreamoreBoy, David.Sankel, smerlin, lilydjwg, martin.panter, piotr.dobrogost, steve.dower, wiz21, stijn, Jonitis, escapewindow, dead1ne |
2016-08-14 10:31:16 | Drekin | set | messageid: <1471170676.83.0.813183616219.issue1602@psf.upfronthosting.co.za> |
2016-08-14 10:31:16 | Drekin | link | issue1602 messages |
2016-08-14 10:31:16 | Drekin | create | |
|