[New-bugs-announce] [issue45161] _Py_DecodeUTF8_surrogateescape not exported from 3.10 framework build

Ronald Oussoren report at bugs.python.org
Fri Sep 10 04:40:03 EDT 2021


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

The symbol _Py_DecodeUTF8_surrogateescape is not exported from Python.framework on macOS in Python 3.10.  The symbol was exported in earlier versions of 3.x.

I'm not sure if this was intentional, so far I haven't been able to find when this was changed.

This change breaks py2app which uses _Py_DecodeUTF8_surrogateescape to convert the C argv array to an array of 'wchar_t*' for use with Python's C API.

----------
components: C API, macOS
messages: 401564
nosy: ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: _Py_DecodeUTF8_surrogateescape not exported from 3.10 framework build
versions: Python 3.10

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


More information about the New-bugs-announce mailing list