Raymond Hettinger added the comment: Sorry, I don't think that is a good idea. The use of None as a placeholder for optional arguments is legitimate and well enshrined in Python history. The code is bisect is very old, stable, and battle-tested. There isn't a real bug here, nothing is broken; instead, we have a near pedantic notion that the C-version must be forced to replicate a minor and irrelevant implementation detail of the Python version that goes beyond what the docs guarantee. I recommend closing this as "not a bug".
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26653> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com