[Python-modules-commits] r28081 - in packages/pycxx/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Sun Mar 9 14:17:28 UTC 2014
Date: Sunday, March 9, 2014 @ 14:17:27
Author: jtaylor-guest
Revision: 28081
fix-example-crash.patch: fix crash of example with python3.4-dbg
Added:
packages/pycxx/trunk/debian/patches/fix-example-crash.patch
Modified:
packages/pycxx/trunk/debian/changelog
packages/pycxx/trunk/debian/patches/series
Modified: packages/pycxx/trunk/debian/changelog
===================================================================
--- packages/pycxx/trunk/debian/changelog 2014-03-09 14:17:25 UTC (rev 28080)
+++ packages/pycxx/trunk/debian/changelog 2014-03-09 14:17:27 UTC (rev 28081)
@@ -3,6 +3,7 @@
* New upstream release (Closes: #739879)
- drop upstream applied 02_fix_indentation.patch
- add fix-version.patch to fix setup.py version number
+ - fix-example-crash.patch: fix crash of example with python3.4-dbg
* Bump standard version to 3.9.5, no changes required
-- Julian Taylor <jtaylor.debian at googlemail.com> Sun, 09 Mar 2014 14:48:16 +0100
Added: packages/pycxx/trunk/debian/patches/fix-example-crash.patch
===================================================================
--- packages/pycxx/trunk/debian/patches/fix-example-crash.patch (rev 0)
+++ packages/pycxx/trunk/debian/patches/fix-example-crash.patch 2014-03-09 14:17:27 UTC (rev 28081)
@@ -0,0 +1,28 @@
+Description: fix assert with pytohn3.4-dbg
+ python3.4-dbg asserts on capi usage that can fail with an error set
+Bug: https://sourceforge.net/p/cxx/bugs/39/
+
+--- a/Demo/Python3/example.cxx
++++ b/Demo/Python3/example.cxx
+@@ -124,8 +124,6 @@ void test_String()
+
+ void test_boolean()
+ {
+- bool passed = true;
+-
+ Py::Object o;
+ Py::Boolean pb1;
+ Py::Boolean pb2;
+@@ -783,10 +781,11 @@ private:
+ }
+ catch( Py::TypeError &e )
+ {
++ e.clear();
++
+ std::cout << "PASSED: Correctly caught " << Py::type(e) << std::endl;
+ std::cout << "PASSED: Py::Exception value: " << Py::value(e) << std::endl;
+ std::cout << "PASSED: Py::Exception traceback: " << Py::trace(e) << std::endl;
+- e.clear();
+ }
+
+ try
Modified: packages/pycxx/trunk/debian/patches/series
===================================================================
--- packages/pycxx/trunk/debian/patches/series 2014-03-09 14:17:25 UTC (rev 28080)
+++ packages/pycxx/trunk/debian/patches/series 2014-03-09 14:17:27 UTC (rev 28081)
@@ -1,2 +1,3 @@
01_change_include_paths.patch
fix-version.patch
+fix-example-crash.patch
More information about the Python-modules-commits
mailing list