diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 16:50:58 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 16:50:58 (GMT) |
commit | 978a9afc6af6c137065bdcf7ae4ef5450e5b2ec2 (patch) | |
tree | 54eb1a4cdf09be18b62c40e0e203a347c37c4cd6 /Lib/asyncio/futures.py | |
parent | 3c0cf05901ea5cca0694734fd4a64b2bc267cb41 (diff) | |
download | cpython-978a9afc6af6c137065bdcf7ae4ef5450e5b2ec2.zip cpython-978a9afc6af6c137065bdcf7ae4ef5450e5b2ec2.tar.gz cpython-978a9afc6af6c137065bdcf7ae4ef5450e5b2ec2.tar.bz2 |
Issue #23243, asyncio: Emit a ResourceWarning when an event loop or a transport
is not explicitly closed. Close also explicitly transports in test_sslproto.
Diffstat (limited to 'Lib/asyncio/futures.py')
-rw-r--r-- | Lib/asyncio/futures.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py index 19212a9..2c741fd 100644 --- a/Lib/asyncio/futures.py +++ b/Lib/asyncio/futures.py @@ -195,9 +195,9 @@ class Future: info = self._repr_info() return '<%s %s>' % (self.__class__.__name__, ' '.join(info)) - # On Python 3.3 or older, objects with a destructor part of a reference - # cycle are never destroyed. It's not more the case on Python 3.4 thanks to - # the PEP 442. + # On Python 3.3 and older, objects with a destructor part of a reference + # cycle are never destroyed. It's not more the case on Python 3.4 thanks + # to the PEP 442. if _PY34: def __del__(self): if not self._log_traceback: |