PEP 624

E908120

PEP 624 is a Python Enhancement Proposal that specifies the removal of the Py_UNICODE encoder APIs from the CPython C API to streamline and modernize Unicode handling in Python.

All labels observed (1)

Label Occurrences
PEP 624 canonical 1

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf Python Enhancement Proposal ⓘ
affects C extensions using Py_UNICODE encoder APIs ⓘ
author Victor Stinner ⓘ
backwardsCompatibility requires changes in third-party C extensions ⓘ
created 2020-02-24 ⓘ
discussedOn python-dev mailing list ⓘ
focusesOn CPython C API ⓘ
linked to: C API

Unicode handling ⓘ
language Python ⓘ
motivation remove legacy Py_UNICODE based APIs ⓘ
streamline and modernize Unicode handling in the CPython C API ⓘ
number 624 ⓘ
partOf CPython C API modernization efforts ⓘ
pepIndexUrl https://peps.python.org/pep-0624/ ⓘ
recommends using PyUnicode_New and PEP 393 flexible string representation ⓘ
using bytes and standard codec APIs instead of Py_UNICODE encoders ⓘ
relatedTo PEP 393 ⓘ
PEP 623 ⓘ
repository https://github.com/python/peps ⓘ
specifiesRemovalOf PyUnicode_Encode ⓘ
PyUnicode_EncodeASCII ⓘ
PyUnicode_EncodeCharmap ⓘ
PyUnicode_EncodeCharmapStateful ⓘ
PyUnicode_EncodeCodePage ⓘ
PyUnicode_EncodeCodePageStateful ⓘ
PyUnicode_EncodeDecimal ⓘ
PyUnicode_EncodeFSDefault ⓘ
PyUnicode_EncodeFSDefaultStateful ⓘ
PyUnicode_EncodeLatin1 ⓘ
PyUnicode_EncodeLocale ⓘ
PyUnicode_EncodeLocaleStateful ⓘ
PyUnicode_EncodeMBCS ⓘ
PyUnicode_EncodeMBCSStateful ⓘ
PyUnicode_EncodeRawUnicodeEscape ⓘ
PyUnicode_EncodeUTF16 ⓘ
PyUnicode_EncodeUTF16Stateful ⓘ
PyUnicode_EncodeUTF32 ⓘ
PyUnicode_EncodeUTF32Stateful ⓘ
PyUnicode_EncodeUTF7 ⓘ
linked to: UTF-7

PyUnicode_EncodeUTF7Stateful ⓘ
PyUnicode_EncodeUTF8 ⓘ
PyUnicode_EncodeUTF8Stateful ⓘ
PyUnicode_EncodeUnicodeEscape ⓘ
PyUnicode_TransformDecimalToASCII ⓘ
PyUnicode_TranslateCharmap ⓘ
Py_UNICODE encoder APIs ⓘ
status Final ⓘ
targetImplementation CPython ⓘ
title Remove Py_UNICODE encoder APIs ⓘ
type Standards Track ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Python 3.10 → implementsPEP → PEP 624 ⓘ