[issue12448] smtplib's __main__ doesn't flush when prompting

2011-06-29 Thread Matt Joiner
New submission from Matt Joiner : 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 lin

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-06-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-03 Thread Petri Lehtinen
Petri Lehtinen added the comment: Behaves incorrectly for me, too. Attached a patch with the suggested fix. -- keywords: +needs review, patch nosy: +petri.lehtinen Added file: http://bugs.python.org/file22555/smtplib_main_prompt.patch ___ Python trac

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-24 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-07-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Looks good. Thx. -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-10-18 Thread Petri Lehtinen
Petri Lehtinen added the comment: Raymond: Would you also like to commit the patch? :) -- keywords: -needs review ___ Python tracker ___ ___

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c50343d0500 by Ezio Melotti in branch '3.2': #12448: smtplib now flushes stdout while running ``python -m smtplib`` http://hg.python.org/cpython/rev/2c50343d0500 New changeset e08397a5537a by Ezio Melotti in branch 'default': #12448: merge with 3.

[issue12448] smtplib's __main__ doesn't flush when prompting

2011-10-18 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: rhettinger -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker