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 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:40vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, Mariatta
2017-04-19 21:41:40vstinnersetmessageid: <1492638100.29.0.312013930937.issue28533@psf.upfronthosting.co.za>
2017-04-19 21:41:40vstinnerlinkissue28533 messages
2017-04-19 21:41:40vstinnercreate