Message139461
The smptlib module's __main__ doesn't flush stdout when prompting:
sys.stdout.write(prompt + ": ")
return sys.stdin.readline().strip()
stdout is usually line buffered, and so running python3 smptlib.py doesn't actually prompt the user.
The line `sys.stdout.flush()` needs to be added. |
|
Date |
User |
Action |
Args |
2011-06-30 06:20:26 | anacrolix | set | recipients:
+ anacrolix |
2011-06-30 06:20:26 | anacrolix | set | messageid: <1309414826.92.0.939740795599.issue12448@psf.upfronthosting.co.za> |
2011-06-30 06:20:26 | anacrolix | link | issue12448 messages |
2011-06-30 06:20:26 | anacrolix | create | |
|