mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
c60542b12b
Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which uses clang. clang implements more aggressive optimization which gives different result than GCC on undefined behaviours. Check if a multiplication will overflow, instead of checking if a multiplicatin had overflowed, to avoid undefined behaviour. Add also debug information if the test on overflow fails.
Miscellaneous source files for the main Python shared library