Petri Lehtinen pe...@digip.org added the comment:
Raymond: Would you also like to commit the patch? :)
--
keywords: -needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12448
___
Roundup Robot devn...@psf.upfronthosting.co.za 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
Ezio Melotti ezio.melo...@gmail.com 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
Changes by Petri Lehtinen pe...@digip.org:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12448
___
___
Python-bugs-list
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Looks good.
Thx.
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12448
___
Petri Lehtinen pe...@digip.org 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
New submission from Matt Joiner anacro...@gmail.com:
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12448
___
___