]> granicus.if.org Git - python/commit
bpo-32892: Support subclasses of base types in isinstance checks for AST constants...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 28 Oct 2018 11:43:03 +0000 (13:43 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Oct 2018 11:43:03 +0000 (13:43 +0200)
commit6015cc50bc38b9e920ce4986ee10658eaa14f561
treeeeae07dc8d901b5295b10c11c98a96205415bade
parent913876d824d969f8c7431e8a9d4610a9a11a786e
bpo-32892: Support subclasses of base types in isinstance checks for AST constants. (GH-9934)

Some projects (e.g. Chameleon) create ast.Str containing an instance
of the str subclass.
Lib/ast.py
Lib/test/test_ast.py