[issue31577] crash in os.utime() in case of a bad ns argument

Oren Milman report at bugs.python.org
Mon Sep 25 15:50:27 EDT 2017


Oren Milman added the comment:

I opened a PR.
I think another fix might be to use
PyLong_Type.tp_as_number->long_divmod() instead of PyNumber_Divmod().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31577>
_______________________________________


More information about the Python-bugs-list mailing list