[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 74176226179ed56ad1c910bec5c4100e72ab4e84 by Serhiy Storchaka (Anthony Sottile) in branch 'master': bpo-35733: Make isinstance(ast.Constant(boolean), ast.Num) be false. (GH-11547) https://github.com/python/cpython/commit/74176226179ed56ad1c910b

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Added Serhiy since this seems to have been caused due to issue32892 and changes made in 6015cc50bc ➜ cpython git:(6015cc50bc) ./python.exe -c 'import ast; print(isinstance(ast.Constant(False), ast.Num))' True ➜ cpython git:(6015cc50bc) git checko

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +11165 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch, patch, patch pull_requests: +11165, 11166, 11167 stage: -> patch review ___ Python tracker ___ ___

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch, patch pull_requests: +11165, 11166 stage: -> patch review ___ Python tracker ___ _

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Anthony Sottile
New submission from Anthony Sottile : Noticing this in pyflakes https://github.com/PyCQA/pyflakes/pull/408 -- messages: 333579 nosy: Anthony Sottile priority: normal severity: normal status: open title: isinstance(ast.Constant(value=True), ast.Num) should be False versions: Python 3.8