| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(GH-29951)
This reverts commit 9bf2cbc4c498812e14f20d86acb61c53928a5a57.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the asyncore and asynchat modules, deprecated in Python
3.6: use the asyncio module instead.
Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd
module can be used instead, it is based on asyncio.
* Remove asyncore, asynchat and smtpd documentation
* Remove test_asyncore, test_asynchat and test_smtpd
* Rename Lib/asynchat.py to Lib/test/support/_asynchat.py
* Rename Lib/asyncore.py to Lib/test/support/_asyncore.py
* Rename Lib/smtpd.py to Lib/test/support/_smtpd.py
* Remove DeprecationWarning from private _asyncore, _asynchat and
_smtpd modules
* _smtpd: remove deprecated properties
|
|
|
|
| |
when timeout not provided (GH-23969)
|
|
|
| |
Automerge-Triggered-By: @vstinner
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Milan Oberkirch, developed as part of his 2014 GSOC project.
Note that this also fixes a bug in mock_socket ('getpeername' was returning a
simple string instead of the tuple required for IPvX protocols), a bug in
DebugServer with respect to handling binary data (should have been fixed when
decode_data was introduced, but wasn't found until this patch was written),
and a long-standing bug in DebugServer (it was printing an extra blank line at
the end of the displayed message text).
|
|
|
|
| |
I forgot to run all the affected tests when I fixed smtpd.
|
|
|
|
| |
Patch by Milan Oberkirch.
|
|\ |
|
| | |
|
|/
|
|
| |
Initial patch by Serhiy Storchaka.
|
|
|
|
| |
adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
|
|
|
|
| |
mock_socket
|
|
merged the socket mock introduced in test_smtpd
|