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 <>
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.
Date User Action Args
2019-07-18 02:13:12shiyuchongsetrecipients: + shiyuchong, benjamin.peterson, docs@python, josh.r
2019-07-18 02:13:12shiyuchongsetmessageid: <>
2019-07-18 02:13:12shiyuchonglinkissue37602 messages
2019-07-18 02:13:12shiyuchongcreate