Hello,

I found a problem in Cython 12.1 (with Python 2.6.1). If you try to
compile the following:

str1 = 'a'
str2 = 'a\n'

It produces the following code, which will not compile:

static char __pyx_k__a[] = "a";
static char __pyx_k__a
[] = "a\n";


Also, I find I can no longer cast str to char* (again with Python
2.6.1). The documentation seems to indicate this should only be a
problem in Python 3, or have I missed something?

regards,
Paul Harrison

Victorian Bioinformatics Consortium / Monash University
[email protected]
jabber [email protected]
http://www.logarithmic.net/pfh/
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to