Le lun. 23 sept. 2019 à 21:36, Vinay Sajip via Python-Dev <python-dev@python.org> a écrit : > Nathaniel Smith wrote: > > Windows already has working symbol visibility handling, and PyAPI_FUNC is > > what controls it. So adding symbol visibility handling to Linux/macOS is > > just about making all the platforms consistent. There might be some weird > > choices being made, but I don't think you need to sort all those out as > > part of this. > > Well, _Py_DecodeLocaleEx is declared with PyAPI_FUNC, so would you expect it > to be exposed on Windows?
_Py_DecodeLocaleEx() should not be used outside Python. It's really a low-level function which should not be used directly. Its definition should be moved to the internal API and it should use extern rather than PyAPI_FUNC(). It's a private API so we can make it internal. Victor -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/MEAAF636JYXNN7RKXJ4TKKUUBJALIMN4/