Message6456
IIRC our problem is our JLine console reader doesn't actually output everything (like the >>> prompt) via sys.stdout. If you disable it and use the bare minimum console I believe we'd match CPython's behavior
So on CPython you're seeing autoflush like behavior because the prompt is immediately printed afterwards and a flush is done to ensure the prompt shows up
Otherwise you'd see similar behavior in cpython if you did:
>>> sys.stdout.write('hello'); time.sleep(2)
Anyway I see this as a very minor implementation detail, but it would be nice to fix this at some point. Though it may be problematic to fix (see #695383 for a somewhat related problem) |
|
Date |
User |
Action |
Args |
2011-03-24 20:51:45 | pjenvey | set | messageid: <1300999905.26.0.506034636805.issue1723@psf.upfronthosting.co.za> |
2011-03-24 20:51:45 | pjenvey | set | recipients:
+ pjenvey, jasonsmith |
2011-03-24 20:51:45 | pjenvey | link | issue1723 messages |
2011-03-24 20:51:44 | pjenvey | create | |
|