Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: I agree that a backport is still desirable.
Your plan LGTM. Implement __abs__ raising an exception (test both int ant long subclasses). Make sure that no error is raised. Make sure that random() returns the same value as when seeding with an exact int and long. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31478> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com