New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45472>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to