summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLisa Roach <lisaroach14@gmail.com>2019-09-10 11:18:40 (GMT)
committerGitHub <noreply@github.com>2019-09-10 11:18:40 (GMT)
commitf1a297acb60b88917712450ebd3cfa707e6efd6b (patch)
treec1307ca321b2aae7abc43f714a7310a38331c4a6 /Misc
parent5a7d2e11aaea2dd32878dc5c6b1aae8caf56cb44 (diff)
downloadcpython-f1a297acb60b88917712450ebd3cfa707e6efd6b.zip
cpython-f1a297acb60b88917712450ebd3cfa707e6efd6b.tar.gz
cpython-f1a297acb60b88917712450ebd3cfa707e6efd6b.tar.bz2
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-09-10-10-59-50.bpo-37251.8zn2o3.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-10-10-59-50.bpo-37251.8zn2o3.rst b/Misc/NEWS.d/next/Library/2019-09-10-10-59-50.bpo-37251.8zn2o3.rst
new file mode 100644
index 0000000..27fd1e4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-09-10-10-59-50.bpo-37251.8zn2o3.rst
@@ -0,0 +1,3 @@
+Remove `__code__` check in AsyncMock that incorrectly
+evaluated function specs as async objects but failed to evaluate classes
+with `__await__` but no `__code__` attribute defined as async objects.