[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 310bae628a9b065d29dbdbf4f7f5beb9fcc72ace by Irit Katriel in branch '3.10': [3.10] bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30085)

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 80eb8ab81fbe46497f16071b311c9d8e13ec2d3b by Miss Islington (bot) in branch '3.9': bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) (GH-30083)

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28306 pull_request: https://github.com/python/cpython/pull/30085 ___ Python tracker ___

[issue37602] nonzero fixer problem

2021-12-13 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +28304 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30083 ___ Python tracker

[issue37602] nonzero fixer problem

2021-12-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 481f3ffdbe40bd19677a1ba0ac2e7cece8949b47 by Irit Katriel in branch 'main': bpo-37602: Clarify that the lib2to3 nonzero fixer changes only definitions (GH-30075) https://github.com/python/cpython/commit/481f3ffdbe40bd19677a1ba0ac2e7cece8949b47

[issue37602] nonzero fixer problem

2021-12-12 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +iritkatriel nosy_count: 5.0 -> 6.0 pull_requests: +28297 status: pending -> open pull_request: https://github.com/python/cpython/pull/30075 ___ Python tracker

[issue37602] nonzero fixer problem

2021-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one going to provide documentation changes I propose to close this issue. -- nosy: +serhiy.storchaka status: open -> pending versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue37602] nonzero fixer problem

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue37602] nonzero fixer problem

2019-07-17 Thread 徐靖
徐靖 added the comment: Got it. I am just testing all changes in Python 3.X (in preparation for a project porting to 3.7 before I have permission to view the source code), and call __nonzero__() directly for testing. So maybe I cannot provide an example. I did not realize that it should not be

[issue37602] nonzero fixer problem

2019-07-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: I suspect these fixers were left out simply because no one expected anyone to call the dunder names directly; the whole point of the dunder names is that they're not used directly, being invoked by syntax/context (__nonzero__ being the first thing tried for

[issue37602] nonzero fixer problem

2019-07-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37602] nonzero fixer problem

2019-07-15 Thread 徐靖
New submission from 徐靖 : An easy problem. It seems like nonzero fixer can only fix definition, not usage. nonzero fixer cannot fix problems like below: a = 1 a.__nonzero__() And there are no cases of __nonzero__() usage in test cases from test_fixers.py.(all cases test only definition