and others added 4 commits
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t. (cherry picked from commit edad38e)
ast.c: fstring_fix_node_location() downcasts a pointer difference to a C int. Replace int with Py_ssize_t to fix the compiler warning. (cherry picked from commit fb7e799)
(cherry picked from commit 028f0ef)
Use the _PyTime_t type and round away from zero (ROUND_UP, _PyTime_ROUND_TIMEOUT) the sleep duration, when converting a Python object to seconds and then to milliseconds. Raise an OverflowError in case of overflow. Previously the (int)double conversion rounded towards zero (ROUND_DOWN). (cherry picked from commit ca40501)
vstinner
changed the title
[3.7] Fix compiler warnings on Windows
[3.7] bpo-9566: Fix compiler warnings on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters