Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue35733

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:isinstance(ast.Constant(value=True), ast.Num) should be False
Type:Stage:resolved
Components:Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: Anthony Sottile, serhiy.storchaka, xtreak
Priority:normalKeywords:patch, patch, patch

Created on2019-01-14 02:31 byAnthony Sottile, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 11547mergedAnthony Sottile,2019-01-14 02:47
PR 11547mergedAnthony Sottile,2019-01-14 02:47
PR 11547mergedAnthony Sottile,2019-01-14 02:47
Messages (3)
msg333579 -(view)Author: Anthony Sottile (Anthony Sottile)*Date: 2019-01-14 02:31
Noticing this in pyflakeshttps://github.com/PyCQA/pyflakes/pull/408
msg333585 -(view)Author: Karthikeyan Singaravelan (xtreak)*(Python committer)Date: 2019-01-14 06:24
Added Serhiy since this seems to have been caused due toissue32892 and changes made in6015cc50bc➜  cpython git:(6015cc50bc) ./python.exe -c 'import ast; print(isinstance(ast.Constant(False), ast.Num))'True➜  cpython git:(6015cc50bc) git checkout 6015cc5~1➜  cpython git:(913876d824) make > /dev/null➜  cpython git:(913876d824) ./python.exe -c 'import ast; print(isinstance(ast.Constant(False), ast.Num))'False
msg334008 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2019-01-18 19:30
New changeset74176226179ed56ad1c910bec5c4100e72ab4e84 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/74176226179ed56ad1c910bec5c4100e72ab4e84
History
DateUserActionArgs
2022-04-11 14:59:10adminsetgithub: 79914
2019-01-18 19:30:53serhiy.storchakasetkeywords:patch,patch,patch
status: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-01-18 19:30:30serhiy.storchakasetmessages: +msg334008
2019-01-14 06:24:58xtreaksetkeywords:patch,patch,patch
nosy: +xtreak
messages: +msg333585

2019-01-14 06:13:57xtreaksetkeywords:patch,patch,patch
nosy: +serhiy.storchaka
2019-01-14 02:47:55Anthony Sottilesetkeywords: +patch
stage: patch review
pull_requests: +pull_request11167
2019-01-14 02:47:51Anthony Sottilesetkeywords: +patch
stage: (no value)
pull_requests: +pull_request11166
2019-01-14 02:47:47Anthony Sottilesetkeywords: +patch
stage: (no value)
pull_requests: +pull_request11165
2019-01-14 02:31:19Anthony Sottilecreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp