[New-bugs-announce] [issue45472] Add public C API for partial "unicode-escape" and "raw-unicode-escape" decoding

Serhiy Storchaka report at bugs.python.org
Thu Oct 14 14:40:52 EDT 2021


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The proposed PR adds C API functions PyUnicode_DecodeUnicodeEscapeStateful() and PyUnicode_DecodeRawUnicodeEscapeStateful() for partially decoding with "unicode-escape" and "raw-unicode-escape" encodings. It were the only multibyte text codecs which did not provide such interface.

They are neccessary for correct implementation of increment decoders and stream  readers (see issue45461 and issue45467).

----------
components: Unicode
messages: 403932
nosy: ezio.melotti, lemburg, serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Add public C API for partial "unicode-escape" and "raw-unicode-escape" decoding
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45472>
_______________________________________


More information about the New-bugs-announce mailing list