Serhiy Storchaka added the comment: LGTM. But maybe combine PyFloat_Check+_PyLong_FromNbInt in one helper function?
Could you please create a PR Oren? ---------- stage: patch review -> commit review versions: +Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28298> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com