[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread Pino Toscano
New submission from Pino Toscano toscano.p...@tiscali.it: In Lib/test/test_smtplib.py, there's a try ... except which checks the errno of the IOError exception; though, the errno module is not imported, eventually causing | NameError: global name 'errno' is not defined in such case.

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +easy nosy: +giampaolo.rodola, r.david.murray stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14442 ___

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9c2b710da3c7 by Ross Lagerwall in branch 'default': Issue #14442: Add missing errno import in test_smtplib. http://hg.python.org/cpython/rev/9c2b710da3c7 -- nosy: +python-dev

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks Ross. I don't think this is worth a news item, even though the bug was shipped in an alpha. If someone disagrees please add one. -- stage: needs patch - committed/rejected status: open - closed type: - behavior

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Thanks Ross. I don't think this is worth a news item, even though the bug was shipped in an alpha. If someone disagrees please add one. I did add it to the [Tests] section in 9c2b710da3c7. Hardly worth it, but ... -- nosy:

[issue14442] test_smtplib.py lacks import errno

2012-03-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Ah, woops, I *thought* I'd looked at the diff, but obviously I didn't. Sigh. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14442