]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136571: Convert more code in datetime to Argument Clinic (GH-136573) main
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 9 Aug 2025 18:25:49 +0000 (21:25 +0300)
committerGitHub <noreply@github.com>
Sat, 9 Aug 2025 18:25:49 +0000 (18:25 +0000)
commit046a4e39b3f8ac5cb13ea292418c9c3767b0074d
tree888c65dc6815d4af297e53d3c547b6478f1c95a0
parentaf15e1d13ea26575afbb94b814e541586547a706
gh-136571: Convert more code in datetime to Argument Clinic (GH-136573)

This adds signatures for some classes and methods.

date.fromisocalendar() can now raise OverflowError for arguments that
don't fit in the C int.
Doc/library/datetime.rst
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Lib/_pydatetime.py
Lib/test/datetimetester.py
Lib/test/test_inspect/test_inspect.py
Misc/NEWS.d/next/Library/2025-07-12-14-15-47.gh-issue-136571.muHmBv.rst [new file with mode: 0644]
Modules/_datetimemodule.c
Modules/clinic/_datetimemodule.c.h