summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/futures.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-06-24 20:51:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-06-24 20:51:42 (GMT)
commit16f08355ce8ea8b754cb95933a3dfaf24fd2544b (patch)
tree238df03263b15beff83f536820f419c3c0e6bdae /Lib/asyncio/futures.py
parent7c59613a75a40553ae364504877eabfef694f5a0 (diff)
parenta02f81ff1757a257c7243ff53542d6f4f34668db (diff)
downloadcpython-16f08355ce8ea8b754cb95933a3dfaf24fd2544b.zip
cpython-16f08355ce8ea8b754cb95933a3dfaf24fd2544b.tar.gz
cpython-16f08355ce8ea8b754cb95933a3dfaf24fd2544b.tar.bz2
merge
Diffstat (limited to 'Lib/asyncio/futures.py')
-rw-r--r--Lib/asyncio/futures.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py
index 91ea170..4edd2e5 100644
--- a/Lib/asyncio/futures.py
+++ b/Lib/asyncio/futures.py
@@ -169,6 +169,9 @@ class Future:
res += '<{}>'.format(self._state)
return res
+ # 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.
if _PY34:
def __del__(self):
if not self._log_traceback: