Re: [Cython] Cython compiler directives: c_string_encoding

2013-07-17 Thread Stefan Behnel
Hannes Röst, 17.07.2013 14:45: > I am trying to compile a program with Cython using the compiler directives and > I am running into some trouble. Specifically, I am trying to port a Cython > 0.18 > program to Cython 0.19 and due to changes how char * and Python str are > handled, I need to set the

[Cython] Cython compiler directives: c_string_encoding

2013-07-17 Thread Hannes Röst
Dear mailing list I am trying to compile a program with Cython using the compiler directives and I am running into some trouble. Specifically, I am trying to port a Cython 0.18 program to Cython 0.19 and due to changes how char * and Python str are handled, I need to set the c_string_encoding dir

Re: [Cython] Bug: C++ strings defined in a PXD file are empty

2013-07-17 Thread Stefan Behnel
Yury V. Zaytsev, 17.07.2013 13:59: > Please find a minimal reproducer attached: > > In [1]: import pxdbug > This should show 'bad value': > This should show 'good value': good value > > Is this a real bug or I'm missing something fundamental about the PXD > files? There is only one

[Cython] Bug: C++ strings defined in a PXD file are empty

2013-07-17 Thread Yury V. Zaytsev
Hi, Please find a minimal reproducer attached: In [1]: import pxdbug This should show 'bad value': This should show 'good value': good value Is this a real bug or I'm missing something fundamental about the PXD files? If it's the former, shall I create an issue on the Trac or GitHub