mirror of
https://github.com/python/cpython
synced 2026-11-19 19:04:47 +03:00
* gh-157407: Use _PyUnicode_AsUTF8NoNUL for AC 's' and 'z' converters The code was doing the same as the helper added in GH-111957 but inline. That resulted in significantly more `.text` for most functions. Refactor the Arguemnt Clinic converters code to deduplicate a bit while keeping generated code close to original. On my Linux x64 box this reduces `.text` by ~6200 bytes in a clang release build (no PGO or LTO). Performance is flat. The helper was already exported for `_sqlite3`, update the comment that it is used in AC generated code as well. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * Update Include/internal/pycore_unicodeobject.h Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> * Remove NEWS, add period --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> |
||
|---|---|---|
| .. | ||
| _contextvars.c.h | ||
| _warnings.c.h | ||
| bltinmodule.c.h | ||
| context.c.h | ||
| hamt.c.h | ||
| import.c.h | ||
| instruction_sequence.c.h | ||
| instrumentation.c.h | ||
| marshal.c.h | ||
| Python-tokenize.c.h | ||
| sysmodule.c.h | ||
| traceback.c.h | ||