1 |
arfrever 10/11/28 17:40:18 |
2 |
|
3 |
Added: pycxx-6.2.1-python-3.1.3.patch |
4 |
Log: |
5 |
Fix compatibility with Python 3.1.3 (bug #344831). |
6 |
|
7 |
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-python/pycxx/files/pycxx-6.2.1-python-3.1.3.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.1-python-3.1.3.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycxx/files/pycxx-6.2.1-python-3.1.3.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: pycxx-6.2.1-python-3.1.3.patch |
16 |
=================================================================== |
17 |
http://cxx.svn.sourceforge.net/viewvc?view=revision&revision=250 |
18 |
|
19 |
--- CXX/Python3/IndirectPythonInterface.hxx |
20 |
+++ CXX/Python3/IndirectPythonInterface.hxx |
21 |
@@ -78,8 +78,6 @@ |
22 |
PyObject * _Exc_WindowsError(); |
23 |
#endif |
24 |
|
25 |
-PyObject * _Exc_MemoryErrorInst(); |
26 |
- |
27 |
PyObject * _Exc_IndentationError(); |
28 |
PyObject * _Exc_TabError(); |
29 |
PyObject * _Exc_UnboundLocalError(); |
30 |
--- Src/Python3/IndirectPythonInterface.cxx |
31 |
+++ Src/Python3/IndirectPythonInterface.cxx |
32 |
@@ -80,7 +80,6 @@ |
33 |
static PyObject *ptr__Exc_KeyError = NULL; |
34 |
static PyObject *ptr__Exc_LookupError = NULL; |
35 |
static PyObject *ptr__Exc_MemoryError = NULL; |
36 |
-static PyObject *ptr__Exc_MemoryErrorInst = NULL; |
37 |
static PyObject *ptr__Exc_NameError = NULL; |
38 |
static PyObject *ptr__Exc_NotImplementedError = NULL; |
39 |
static PyObject *ptr__Exc_OSError = NULL; |
40 |
@@ -245,7 +244,6 @@ |
41 |
ptr__Exc_KeyError = GetPyObjectPointer_As_PyObjectPointer( "PyExc_KeyError" ); |
42 |
ptr__Exc_LookupError = GetPyObjectPointer_As_PyObjectPointer( "PyExc_LookupError" ); |
43 |
ptr__Exc_MemoryError = GetPyObjectPointer_As_PyObjectPointer( "PyExc_MemoryError" ); |
44 |
- ptr__Exc_MemoryErrorInst = GetPyObjectPointer_As_PyObjectPointer( "PyExc_MemoryErrorInst" ); |
45 |
ptr__Exc_NameError = GetPyObjectPointer_As_PyObjectPointer( "PyExc_NameError" ); |
46 |
ptr__Exc_NotImplementedError= GetPyObjectPointer_As_PyObjectPointer( "PyExc_NotImplementedError" ); |
47 |
ptr__Exc_OSError = GetPyObjectPointer_As_PyObjectPointer( "PyExc_OSError" ); |
48 |
@@ -318,7 +316,6 @@ |
49 |
PyObject *_Exc_KeyError() { return ptr__Exc_KeyError; } |
50 |
PyObject *_Exc_LookupError() { return ptr__Exc_LookupError; } |
51 |
PyObject *_Exc_MemoryError() { return ptr__Exc_MemoryError; } |
52 |
-PyObject *_Exc_MemoryErrorInst() { return ptr__Exc_MemoryErrorInst; } |
53 |
PyObject *_Exc_NameError() { return ptr__Exc_NameError; } |
54 |
PyObject *_Exc_NotImplementedError() { return ptr__Exc_NotImplementedError; } |
55 |
PyObject *_Exc_OSError() { return ptr__Exc_OSError; } |
56 |
@@ -449,7 +446,6 @@ |
57 |
PyObject *_Exc_KeyError() { return ::PyExc_KeyError; } |
58 |
PyObject *_Exc_LookupError() { return ::PyExc_LookupError; } |
59 |
PyObject *_Exc_MemoryError() { return ::PyExc_MemoryError; } |
60 |
-PyObject *_Exc_MemoryErrorInst() { return ::PyExc_MemoryErrorInst; } |
61 |
PyObject *_Exc_NameError() { return ::PyExc_NameError; } |
62 |
PyObject *_Exc_NotImplementedError() { return ::PyExc_NotImplementedError; } |
63 |
PyObject *_Exc_OSError() { return ::PyExc_OSError; } |