Package: src:openturns
Version: 1.3-2
Tags: patch

please make the -gdb.py file compatible with python3. this version is supposed
to work with both python2 and python3.

--- debian/libOT-gdb.py~        2014-03-06 22:16:38.000000000 +0100
+++ debian/libOT-gdb.py 2014-06-25 14:14:05.052268954 +0200
@@ -1,6 +1,9 @@
 
 import gdb
 import re
+import sys
+if sys.version > '3':
+    long = int
 
 objfile = gdb.current_objfile() or gdb.objfiles()[0]
 int_ptr  = gdb.lookup_type('int').pointer()
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to