This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anacrolix
Recipients anacrolix
Date 2011-06-30.06:20:26
SpamBayes Score 0.00012882082
Marked as misclassified No
Message-id <1309414826.92.0.939740795599.issue12448@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-06-30 06:20:26anacrolixsetrecipients: + anacrolix
2011-06-30 06:20:26anacrolixsetmessageid: <1309414826.92.0.939740795599.issue12448@psf.upfronthosting.co.za>
2011-06-30 06:20:26anacrolixlinkissue12448 messages
2011-06-30 06:20:26anacrolixcreate