Ned Batchelder added the comment:

Python's goal is not to emulate the suboptimal parts of other languages.  We 
have dynamic typing, and so can return None from the same function that returns 
1.  And we have compact expressions like `cpu_count() or 1`, so we don't have 
to make unfortunate compromises.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to