This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Stable API broken on Windows for PyUnicode_*
Type: Stage: resolved
Components: Extension Modules, Windows Versions: Python 3.3, Python 3.4, Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: jkloth, loewis, steve.dower, vstinner, zach.ware
Priority: normal Keywords:

Created on 2014-09-13 23:31 by jkloth, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg226856 - (view) Author: Jeremy Kloth (jkloth) * Date: 2014-09-13 23:31
When using any of the PyUnicode_* functions in an extension module compiled with Py_LIMITED_API defined, the resulting module cannot be imported due to:

ImportError: DLL load failed: The specified procedure could not be found.

Upon investigation, the error is in the EXPORTS for PC\python3.def.  The PyUnicode_* functions still refer to the old PyUnicodeUCS2_* variants.
msg226948 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-09-16 12:12
I think this issue was already fixed by this change:

changeset:   88287:ea0aa3e32ab5
branch:      3.3
parent:      88263:203ca77ea819
user:        Martin v. Löwis <martin@v.loewis.de>
date:        Sat Jan 04 10:01:42 2014 +0100
files:       Misc/NEWS PC/python3.def
description:
Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.
msg226956 - (view) Author: Jeremy Kloth (jkloth) * Date: 2014-09-16 15:04
Ah, yes indeeed.  Sorry for the noise as it was that my local repos were having some syncing issues so I had out of date sources.

Marking as closed (fixed) and duplicate of issue17432.
History
Date User Action Args
2022-04-11 14:58:08adminsetgithub: 66594
2014-09-16 15:09:57r.david.murraysetstage: resolved
2014-09-16 15:04:14jklothsetstatus: open -> closed
resolution: duplicate
messages: + msg226956
2014-09-16 12:12:39vstinnersetnosy: + vstinner
messages: + msg226948
2014-09-13 23:31:44jklothcreate