cpython/Include/cpython
Victor Stinner f49a07b531
gh-133968: Add PyUnicodeWriter_WriteASCII() function (#133973)
Replace most PyUnicodeWriter_WriteUTF8() calls with
PyUnicodeWriter_WriteASCII().

Unrelated change to please the linter: remove an unused
import in test_ctypes.

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-05-29 14:54:30 +00:00
..
abstract.h
audit.h
bytearrayobject.h
bytesobject.h
cellobject.h
ceval.h
classobject.h
code.h
compile.h
complexobject.h gh-128813: hide mixed-mode functions for complex arithmetic from C-API (#131703) 2025-04-22 14:18:18 +02:00
context.h
critical_section.h
descrobject.h
dictobject.h
fileobject.h
fileutils.h
floatobject.h
frameobject.h
funcobject.h gh-132775: Unrevert "Add _PyCode_GetVarCounts()" (gh-133265) 2025-05-05 13:24:29 -06:00
genobject.h
import.h
initconfig.h gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
listobject.h
lock.h
longintrepr.h
longobject.h gh-132639: Adds PyLong_AsNativeBytes, PyLong_FromNativeBytes and PyLong_FromUnsignedNativeBytes to the limited API (GH-132640) 2025-04-21 15:59:03 +01:00
memoryobject.h
methodobject.h
modsupport.h
monitoring.h
object.h Revert "gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays (#133396)" (#133498) 2025-05-06 13:12:26 +03:00
objimpl.h
odictobject.h
picklebufobject.h
pthread_stubs.h
pyatomic.h
pyatomic_gcc.h
pyatomic_msc.h
pyatomic_std.h
pyctype.h
pydebug.h
pyerrors.h gh-132449: Improve syntax error messages for keywords with typos (#132450) 2025-04-22 11:01:55 +02:00
pyfpe.h
pyframe.h
pyhash.h
pylifecycle.h
pymem.h
pystate.h gh-91048: Refactor and optimize remote debugging module (#134652) 2025-05-25 20:19:29 +00:00
pystats.h gh-100239: specialize BINARY_OP/SUBSCR for list-slice (#132626) 2025-05-01 10:28:52 +00:00
pythonrun.h
pythread.h
pytime.h
setobject.h
traceback.h
tracemalloc.h
tupleobject.h
unicodeobject.h gh-133968: Add PyUnicodeWriter_WriteASCII() function (#133973) 2025-05-29 14:54:30 +00:00
warnings.h gh-131927: Prevent emitting optimizer warnings twice in the REPL (#131993) 2025-04-12 11:34:36 +01:00
weakrefobject.h