diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-01-18 19:30:28 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-01-18 19:30:28 (GMT) |
commit | 74176226179ed56ad1c910bec5c4100e72ab4e84 (patch) | |
tree | f389c2d62a2852f04f969dba54edd6d93eb974d2 /Misc | |
parent | 39ed289a3511d2e9bf0950a9d5dc53c8194f61b9 (diff) | |
download | cpython-74176226179ed56ad1c910bec5c4100e72ab4e84.zip cpython-74176226179ed56ad1c910bec5c4100e72ab4e84.tar.gz cpython-74176226179ed56ad1c910bec5c4100e72ab4e84.tar.bz2 |
bpo-35733: Make isinstance(ast.Constant(boolean), ast.Num) be false. (GH-11547)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-01-13-18-42-41.bpo-35733.eFfLiv.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-01-13-18-42-41.bpo-35733.eFfLiv.rst b/Misc/NEWS.d/next/Library/2019-01-13-18-42-41.bpo-35733.eFfLiv.rst new file mode 100644 index 0000000..8e5ef9b --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-01-13-18-42-41.bpo-35733.eFfLiv.rst @@ -0,0 +1,2 @@ +``ast.Constant(boolean)`` no longer an instance of :class:`ast.Num`. Patch by Anthony +Sottile. |