[issue45161] _Py_DecodeUTF8_surrogateescape not exported from 3.10 framework build

2021-09-10 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

I've switched py2app to Py_DecodeLocale, which is a public API introduced in 
3.5 to accomplish the same task. 

I'm leaving the issue open in case hiding the symbol is unintentional.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45161] _Py_DecodeUTF8_surrogateescape not exported from 3.10 framework build

2021-09-10 Thread Ronald Oussoren


New submission from Ronald Oussoren :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com