[yoda-svn] yoda: Better fix to unicode issues

YODA Mercurial yoda at projects.hepforge.org
Tue Oct 10 10:00:01 BST 2017


details:   https://yoda.hepforge.org/hg/yoda/rev/1e8d936d37c2
branches:  
changeset: 1426:1e8d936d37c2
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Oct 10 09:37:03 2017 +0100
description:
Better fix to unicode issues

diffs (25 lines):

--- a/pyext/yoda/include/IO.pyx	Mon Oct 09 14:16:50 2017 +0100
+++ b/pyext/yoda/include/IO.pyx	Tue Oct 10 09:37:03 2017 +0100
@@ -1,3 +1,5 @@
+# cython: c_string_type=unicode
+
 """Readers and writers
 
 The basic idea here is to provide Python IO semantics by using Python to do
--- a/src/zstr/zstr.hpp	Mon Oct 09 14:16:50 2017 +0100
+++ b/src/zstr/zstr.hpp	Tue Oct 10 09:37:03 2017 +0100
@@ -15,6 +15,7 @@
 #include <zlib.h>
 #include "strict_fstream.hpp"
 
+namespace YODA {
 namespace zstr
 {
 
@@ -407,5 +408,6 @@
 }; // class ofstream
 
 } // namespace zstr
+}
 
 #endif


More information about the yoda-svn mailing list