Message291908
| Author |
vstinner |
| Recipients |
Mariatta, gvanrossum, vstinner, yselivanov |
| Date |
2017年04月19日.21:41:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1492638100.29.0.312013930937.issue28533@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
asyncore was modified to emit a DeprecationWarning:
http://bugs.python.org/issue25002#msg279417
But then a lot of code starts with to fail -Werror.
Copy of Martin Panter's msg279469:
I normally run the tests with -Werror, and the failures I get are:
* test_ssl, test_smtplib, test_poplib, test_logging, test_ftplib, test_support: tests use asyncore
* test_os: test uses asynchat (When you import asynchat, the first error complains about importing asyncore, there are actually two warnings)
* test_all: This seems to ignore DeprecationWarning; perhaps an exception for PendingDeprecationWarning should also be added?
* test_asyncore and test_asynchat: Obviously these have to still test the modules, so they should anticipate the warnings, perhaps using Serhiy’s code
* test_smtpd: smtpd module itself uses asyncore; see Issue 25008 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年04月19日 21:41:40 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov, Mariatta |
| 2017年04月19日 21:41:40 | vstinner | set | messageid: <1492638100.29.0.312013930937.issue28533@psf.upfronthosting.co.za> |
| 2017年04月19日 21:41:40 | vstinner | link | issue28533 messages |
| 2017年04月19日 21:41:40 | vstinner | create |
|