Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: If the implementation made it easy, I would add the check. But since it would be an invasive change, I'm inclined to pass on it because it is so uncommon — the lo and hi arguments are rarely used, even more rarely with a negative hi paired with a non-negative lo — I've never seen this arise in practice ever.
If someone does find a real-world case where this was problematic, feel free to reopen this and we'll find a way to squeeze in the extra range check. ---------- resolution: -> wont fix stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40832> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com