Message288603
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. |
|
Date |
User |
Action |
Args |
2017-02-26 17:09:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, berker.peksag, sayanchowdhury, conqp, Richard Neumann |
2017-02-26 17:09:59 | serhiy.storchaka | set | messageid: <1488128999.1.0.218133241872.issue25452@psf.upfronthosting.co.za> |
2017-02-26 17:09:59 | serhiy.storchaka | link | issue25452 messages |
2017-02-26 17:09:58 | serhiy.storchaka | create | |
|