STINNER Victor added the comment: timespec-3.patch is quite large:
Include/pyport.h | 14 + Include/pytime.h | 159 +++++++---- Lib/test/test_time.py | 340 +++++++++++++++++++------ Modules/_datetimemodule.c | 40 ++ Modules/_ssl.c | 31 +- Modules/_testcapimodule.c | 238 ++++++++++++++++- Modules/_threadmodule.c | 196 +++++++------- Modules/gcmodule.c | 15 - Modules/posixmodule.c | 24 - Modules/selectmodule.c | 36 -- Modules/signalmodule.c | 12 Modules/socketmodule.c | 206 +++++++++------ Modules/socketmodule.h | 6 Modules/timemodule.c | 22 - Python/pythonrun.c | 3 Python/pytime.c | 616 +++++++++++++++++++++++++++++++++------------- 16 files changed, 1371 insertions(+), 587 deletions(-) Tell me if you prefer to review shorter patches. I can try to only add new functions, then use new functions, and finally remove new functions. I wanted to keep changes in a single patch at least one to show how the new API is used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22117> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com