Serhiy Storchaka added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com