Bugs item #3130627, was opened at 2010-12-07 06:13
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3130627&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Christoph Gohlke (cjgohlke)
Assigned to: Nobody/Anonymous (nobody)
Summary: build fails with Python3.2b1
Initial Comment:
Using current pywin32 sources from CVS and Python 3.2b1 binaries from python.org, the build fails with the following error:
win32\src\PyUnicode.cpp(258) : error C2664: 'PyUnicodeUCS2_AsWideChar' : cannot convert parameter 1 from 'PyUnicodeObject *' to 'PyObject *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Same for win32\src\win32consolemodule.cpp, line 112.
This is related to Python changeset r85298 <http://svn.python.org/view?view=rev&revision=85298>:
PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the
prototype for the new function PyUnicode_AsWideCharString().
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2010-12-18 12:10
Message:
Fixed:
Checking in PyUnicode.cpp;
new revision: 1.35; previous revision: 1.34
Checking in win32consolemodule.cpp;
new revision: 1.18; previous revision: 1.17
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3130627&group_id=78018
|