mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
Previously, negative timestamps (representing dates before 1970-01-01) were not supported on Windows due to platform limitations. The changes introduce a fallback implementation using the Windows FILETIME API, allowing negative timestamps to be correctly handled in both UTC and local time conversions. Additionally, related test code is updated to remove Windows-specific skips and error handling, ensuring consistent behavior across platforms. Co-authored-by: Victor Stinner <vstinner@python.org>
Miscellaneous source files for the main Python shared library