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 serhiy.storchaka
Recipients Richard Neumann, berker.peksag, conqp, sayanchowdhury, serhiy.storchaka, vstinner
Date 2017-02-26.17:09:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488128999.1.0.218133241872.issue25452@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure that it is worth to implement the __bool__() method. This doesn't add much in comparison with checking the returncode attribute.

The change can break existing code that uses boolean testing instead of checking for None.
History
Date User Action Args
2017-02-26 17:09:59serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, berker.peksag, sayanchowdhury, conqp, Richard Neumann
2017-02-26 17:09:59serhiy.storchakasetmessageid: <1488128999.1.0.218133241872.issue25452@psf.upfronthosting.co.za>
2017-02-26 17:09:59serhiy.storchakalinkissue25452 messages
2017-02-26 17:09:58serhiy.storchakacreate