cpython/Objects
Cody Maloney 50082b8d89
gh-87613: Use AC vectorcall for float (GH-158201)
Move float.__new__ to AC vectorcall dropping the hand-written.

Running microbenchmark from the original add (`pyperf timeit "float(0)"`
in gh-86039) shows no significant performance change.

The generated name matches the hand-written name so the tp_vectorcall
slot is unchanged.

Update the vectorcall slot-parity test to include float.
2026-10-13 12:21:19 +02:00
..
clinic gh-87613: Use AC vectorcall for float (GH-158201) 2026-10-13 12:21:19 +02:00
mimalloc gh-152433: Allow building mimalloc for Windows UWP (GH-152477) 2026-09-07 17:35:51 +01:00
stringlib gh-158803: Fix crash in bytes.join() on a concurrently mutated list (#158910) 2026-10-08 15:58:00 +02:00
abstract.c gh-157526: Call __instancecheck__ and __subclasscheck__ without creating a bound method (#157670) 2026-09-22 11:16:30 +05:30
boolobject.c
bytearrayobject.c gh-158316: Avoid second buffer fetch on bytearray_decode() (#158485) 2026-10-01 21:39:34 +00:00
bytes_methods.c
bytesobject.c gh-158585: Adjust _PyBytes_FormatEx() allocation (#158823) 2026-10-05 03:09:25 +00:00
call.c gh-151157: Speed up PyObject_CallMethod via _PyObject_GetMethod (#151158) 2026-10-05 18:44:28 +00:00
capsule.c
cellobject.c Fix a stray newline in the cell type docstring (#157240) 2026-09-10 16:54:47 +01:00
classobject.c
codeobject.c gh-129724: Intern string constants in the compiler, not per code object (GH-159193) 2026-10-12 21:37:55 -07:00
complexobject.c gh-155526: Don't check errno in abs(complex) (#155527) 2026-09-11 17:46:59 +02:00
descrobject.c gh-129040: Use wasm-gc to handle pointer casts in wasi (GH-158617) 2026-10-09 22:25:44 +00:00
dictnotes.txt
dictobject.c gh-159285: Fix crash when copying an empty dict fails with MemoryError (#159286) 2026-10-13 03:07:34 +00:00
enumobject.c gh-87613: Argument Clinic vectorcall decorator (GH-145381) 2026-09-10 16:53:36 +02:00
exceptions.c gh-113318: Better implementation of @getter and @setter in Argument Clinic (GH-156066) 2026-09-19 18:48:39 +03:00
fileobject.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
floatobject.c gh-87613: Use AC vectorcall for float (GH-158201) 2026-10-13 12:21:19 +02:00
frameobject.c gh-124697: Represent inlined comprehensions as subscopes in the symbol table (#156819) 2026-09-23 20:31:57 +01:00
funcobject.c gh-113318: Better implementation of @getter and @setter in Argument Clinic (GH-156066) 2026-09-19 18:48:39 +03:00
genericaliasobject.c
genobject.c gh-144446: Fix thread safety of gi_frame, cr_frame and ag_frame in free-threading (#156037) 2026-09-02 23:26:04 +05:30
interpolationobject.c
iterobject.c gh-157361: Implement anext() in Python instead of C (#157362) 2026-09-16 18:58:59 +05:30
lazyimportobject.c gh-158140: Resolve lazily imported sibling submodules independently (#158521) 2026-10-02 19:20:04 +02:00
listobject.c gh-158592: Skip reallocation when shrinking a small list (gh-158787) 2026-10-08 08:58:23 +09:00
listsort.txt
longobject.c gh-158451: Convert _PyUnicodeWriter_Prepare() to static inline function (#158466) 2026-09-30 05:31:36 +02:00
memoryobject.c gh-155742: Use PyMem_Malloc() in memoryview.hex() (#158582) 2026-10-02 17:51:47 +02:00
methodobject.c gh-157833: Fix specialized C calls with additional method flags (GH-157834) 2026-09-30 14:37:24 +01:00
moduleobject.c gh-158918: Reduce C stack usage of _PyModule_IsPossiblyShadowing. (GH-158919) 2026-10-09 13:59:27 +02:00
namespaceobject.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
object.c gh-130706: Add a fast path to _Py_Dealloc() for non-GC objects. (gh-158645) 2026-10-05 21:18:22 +09:00
object_layout.md
object_layout_312.gv
object_layout_312.png
object_layout_313.gv
object_layout_313.png
object_layout_full_312.gv
object_layout_full_312.png
object_layout_full_313.gv
object_layout_full_313.png
obmalloc.c gh-136872: Build pymalloc in sanitizer builds, but disable it by default (GH-157934) 2026-10-07 18:05:37 +02:00
odictobject.c
picklebufobject.c
rangeobject.c
README
sentinelobject.c
setobject.c
sliceobject.c
structseq.c gh-155496: Use Argument Clinic for more functions and methods (GH-158134) 2026-09-27 19:00:22 +03:00
templateobject.c
tupleobject.c gh-87613: Argument Clinic vectorcall decorator (GH-145381) 2026-09-10 16:53:36 +02:00
typeobject.c gh-149816: Fix race in subtype_getweakref in free-threading build (gh-150247) 2026-10-12 11:33:36 -07:00
typevarobject.c gh-157621: Clear weakrefs for ParamSpec attributes (#157622) 2026-09-17 02:48:25 +00:00
unicode_format.c gh-158451: Reuse PyUnicodeWriter_WriteStr() in PyUnicode_Format() (#158467) 2026-09-30 05:30:22 +02:00
unicode_formatter.c gh-158451: Convert _PyUnicodeWriter_Prepare() to static inline function (#158466) 2026-09-30 05:31:36 +02:00
unicode_writer.c gh-158451: Remove _PyUnicodeWriter_WriteASCIIString() read-only optim (#159141) 2026-10-10 20:09:32 +00:00
unicodectype.c
unicodeobject.c gh-158585: Simplify PyBytesWriter_Finish() (#158822) 2026-10-05 04:47:04 +02:00
unicodetype_db.h fixes gh-157633: Update Unicode data to Unicode 18.0.0 (#157634) 2026-09-16 11:34:53 -07:00
unionobject.c
weakrefobject.c

Source files for various builtin objects