Opened 12 years ago

Closed 12 years ago

#4994 closed Patches (fixed)

Fix compile error with Python 3.2

Reported by: Matthew Bradbury <matt-bradbury@…> Owned by: Dave Abrahams
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.45.0 Severity: Showstopper
Keywords: Cc:

Description

The type passed to PyUnicode_AsWideChar appears to have changed from PyUnicodeObject * to PyObject *.

Attachments (2)

compile-fix-for-Python32.patch (618 bytes ) - added by Matthew Bradbury <matt-bradbury@…> 12 years ago.
Pass the correct type
4994-compile-fix-for-Python32-v2.patch (579 bytes ) - added by Matthew Bradbury <matt-bradbury@…> 12 years ago.
Fix the whitespace

Download all attachments as: .zip

Change History (3)

by Matthew Bradbury <matt-bradbury@…>, 12 years ago

Pass the correct type

by Matthew Bradbury <matt-bradbury@…>, 12 years ago

Fix the whitespace

comment:1 by Ralf W. Grosse-Kunstleve, 12 years ago

Resolution: fixed
Status: newclosed

r71050 | rwgk | 2011-04-06 14:32:59 -0700 (Wed, 06 Apr 2011) | 1 line Changed paths:

M /trunk/libs/python/src/converter/builtin_converters.cpp

libs/python/src/converter/builtin_converters.cpp: Python 3.2 compatibility, based on patch by Matthew Bradbury, fixes issue #4994


Note: See TracTickets for help on using tickets.