[issue25452] Add __bool__() method to subprocess.CompletedProcess
Serhiy Storchaka
report at bugs.python.org
Mon Feb 27 06:04:40 EST 2017
Serhiy Storchaka added the comment:
See also issue26748. Classes usually have True boolean value, but empty enum classes were False-y by accident. This was considered a bug.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25452>
_______________________________________
More information about the Python-bugs-list
mailing list