Skip to content

Commit 70730ad

Browse files
gh-73487: Convert _decimal to use Argument Clinic (part 1) (#137606)
Co-authored-by: Adam Turner <[email protected]>
1 parent 9e512ae commit 70730ad

File tree

8 files changed

+1205
-276
lines changed

8 files changed

+1205
-276
lines changed

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_global_strings.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ struct _Py_global_strings {
645645
STRUCT_FOR_ID(options)
646646
STRUCT_FOR_ID(order)
647647
STRUCT_FOR_ID(origin)
648+
STRUCT_FOR_ID(other)
648649
STRUCT_FOR_ID(out_fd)
649650
STRUCT_FOR_ID(outgoing)
650651
STRUCT_FOR_ID(outpath)
@@ -704,6 +705,7 @@ struct _Py_global_strings {
704705
STRUCT_FOR_ID(return)
705706
STRUCT_FOR_ID(reverse)
706707
STRUCT_FOR_ID(reversed)
708+
STRUCT_FOR_ID(rounding)
707709
STRUCT_FOR_ID(salt)
708710
STRUCT_FOR_ID(sched_priority)
709711
STRUCT_FOR_ID(scheduler)

Include/internal/pycore_runtime_init_generated.h

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_unicodeobject_generated.h

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Speedup processing arguments (up to 1.5x) in the :mod:`decimal` module
2+
methods, that now using :c:macro:`METH_FASTCALL` calling convention. Patch
3+
by Sergey B Kirpichev.

0 commit comments

Comments
 (0)