[New-bugs-announce] [issue28426] PyUnicode_AsDecodedObject can only return unicode now

Xiang Zhang report at bugs.python.org
Thu Oct 13 00:30:06 EDT 2016


New submission from Xiang Zhang:

PyUnicode_AsDecodedObject was added in f46d49e2e0f0 and became an API in 2284fa89ab08. It seems its intention is to return a Python object. But during evolution, with commits 5f11621a6f51 and 123f2dc08b3e, it can only return unicode now, becoming another version of PyUnicode_AsDecodedUnicode. Is this the wanted behaviour?

----------
components: Interpreter Core
messages: 278545
nosy: haypo, lemburg, xiang.zhang
priority: normal
severity: normal
status: open
title: PyUnicode_AsDecodedObject can only return unicode now
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28426>
_______________________________________


More information about the New-bugs-announce mailing list