<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/asyncore.py, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncore.py?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncore.py?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-03-20T20:38:01Z</updated>
<entry>
<title>[3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) (#31997)</title>
<updated>2022-03-20T20:38:01Z</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2022-03-20T20:38:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94f038cbb27dc6d1a74ae2bfedea674911f8e8c6'/>
<id>urn:sha1:94f038cbb27dc6d1a74ae2bfedea674911f8e8c6</id>
<content type='text'>
Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594..
(cherry picked from commit 77473846439b8a3eae66de1a1cfe931619f38513)

Co-authored-by: Hugo van Kemenade &lt;hugovk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-44498: Issue a deprecation warning on asynchat, asyncore and smtpd import (GH-26882) (GH-26904)</title>
<updated>2021-06-24T19:57:55Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-06-24T19:57:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a80a38ee9a7b2e26dba848793cc298d8435fddd5'/>
<id>urn:sha1:a80a38ee9a7b2e26dba848793cc298d8435fddd5</id>
<content type='text'>
* Issue a deprecation warning on smtpd import

* Also issue DeprecationWarnings for asynchat and asyncore

* Fix some tests

* test___all__ requires the word 'module' or 'package' in the deprecation
  warning text, so add those to smtpd, asynchat, and asyncore.
* In test_support, use pprint now instead of asyncore as the landmark.

* Add What's New

* Use ..deprecated::

* Use ..deprecated::

* Update Lib/smtpd.py

Co-authored-by: Miro Hrončok &lt;miro@hroncok.cz&gt;

* Update Doc/library/smtpd.rst

Co-authored-by: Miro Hrončok &lt;miro@hroncok.cz&gt;

* Import async{hat,ore} after the DeprecationWarning for this module

Co-authored-by: Miro Hrončok &lt;miro@hroncok.cz&gt;
(cherry picked from commit 8488b85c6397fe58f17fc00e047044c959ac0b04)


Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;

Automerge-Triggered-By: GH:warsaw</content>
</entry>
<entry>
<title>bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449)</title>
<updated>2020-11-22T08:28:34Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-11-22T08:28:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4d45ee670c09d4f6da709df072ec80cb7dfad22'/>
<id>urn:sha1:c4d45ee670c09d4f6da709df072ec80cb7dfad22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-15999: Always pass bool instead of int to socket.setblocking(). (GH-15621)</title>
<updated>2019-09-01T09:12:52Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-09-01T09:12:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5eca7f3f3836cc734dfe8dc5ec669f3b4e9333fe'/>
<id>urn:sha1:5eca7f3f3836cc734dfe8dc5ec669f3b4e9333fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-36793: Remove unneeded __str__ definitions. (GH-13081)</title>
<updated>2019-05-06T19:29:40Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-05-06T19:29:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96aeaec64738b730c719562125070a52ed570210'/>
<id>urn:sha1:96aeaec64738b730c719562125070a52ed570210</id>
<content type='text'>
Classes that define __str__ the same as __repr__ can
just inherit it from object.</content>
</entry>
<entry>
<title>bpo-29639: change test.support.HOST to "localhost"</title>
<updated>2017-09-09T07:30:15Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2017-09-09T07:30:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=efb1d0a3c001a6153211063ba439b9847aa03509'/>
<id>urn:sha1:efb1d0a3c001a6153211063ba439b9847aa03509</id>
<content type='text'>
test.support.HOST should be "localhost" as it was in the past. See the bpo-29639.

Tests that need the IP address should use HOSTv4 (added) or the existing HOSTv6 constant.

This changes the definition and fixes tests that needed updating to deal with HOST being
the hostname rather than the hardcoded IP address.

This is only the first step in addressing https://bugs.python.org/issue29639.</content>
</entry>
<entry>
<title>bpo-30980: Fix double close in asyncore.file_wrapper (#2789)</title>
<updated>2017-07-24T21:18:06Z</updated>
<author>
<name>Nir Soffer</name>
<email>nirsof@gmail.com</email>
</author>
<published>2017-07-24T21:18:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c648a93ae342ac28d2abbb100161eae4f907d001'/>
<id>urn:sha1:c648a93ae342ac28d2abbb100161eae4f907d001</id>
<content type='text'>
* bpo-30980: Fix close test to fail

test_close_twice was not considering the fact that file_wrapper is
duping the file descriptor. Closing the original descriptor left the
duped one open, hiding the fact that close protection is not effective.

* bpo-30980: Fix double close protection

Invalidated self.fd before closing, handling correctly the case when
os.close raises.

* bpo-30980: Fix fd leak introduced in the fixed test
</content>
</entry>
<entry>
<title>Issue #25002: Back out asyncore/asynchat deprecation.</title>
<updated>2016-10-26T01:42:51Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2016-10-26T01:42:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66078ac5d022cf68f5fcd8875649e4e6527648c8'/>
<id>urn:sha1:66078ac5d022cf68f5fcd8875649e4e6527648c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.</title>
<updated>2016-10-25T15:49:13Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2016-10-25T15:49:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16591f440d650f77c841a3245785e2423a50249f'/>
<id>urn:sha1:16591f440d650f77c841a3245785e2423a50249f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27355: Removed support for Windows CE.  It was never finished,</title>
<updated>2016-09-05T22:11:23Z</updated>
<author>
<name>Larry Hastings</name>
<email>larry@hastings.org</email>
</author>
<published>2016-09-05T22:11:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=10108a7b9affa61719a1dc1863edb2bdb3402fd1'/>
<id>urn:sha1:10108a7b9affa61719a1dc1863edb2bdb3402fd1</id>
<content type='text'>
and Windows CE is no longer a relevant platform for Python.
</content>
</entry>
</feed>
