This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shiyuchong
Recipients benjamin.peterson, docs@python, josh.r, shiyuchong
Date 2019-07-18.02:13:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563415992.61.0.699025803286.issue37602@roundup.psfhosted.org>
In-reply-to
Content
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 called directly.
Still, I recommend a documentation change to explain this fact, telling readers the fixer will not change the usage of __nonzero__().
Thanks for your reply.
History
Date User Action Args
2019-07-18 02:13:12shiyuchongsetrecipients: + shiyuchong, benjamin.peterson, docs@python, josh.r
2019-07-18 02:13:12shiyuchongsetmessageid: <1563415992.61.0.699025803286.issue37602@roundup.psfhosted.org>
2019-07-18 02:13:12shiyuchonglinkissue37602 messages
2019-07-18 02:13:12shiyuchongcreate