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 <>
Python-bugs-list mailing list

Reply via email to