Re: [Cython] CPython incompatibility in string literal concatenation

2015-09-19 Thread Stefan Behnel
Hi, sorry for the late reply. Jelle Zijlstra schrieb am 13.09.2015 um 21:00: > While implementing PEP 498 I found a minor incompatibility between > CPython and Cython: CPython lets you concatenate u-prefixed and > non-prefixed string literals, while Cython throws an error. > > jelle@devjelle:~/c

[Cython] CPython incompatibility in string literal concatenation

2015-09-13 Thread Jelle Zijlstra
While implementing PEP 498 I found a minor incompatibility between CPython and Cython: CPython lets you concatenate u-prefixed and non-prefixed string literals, while Cython throws an error. jelle@devjelle:~/cython$ cat concat.py print(u'foo' 'bar') jelle@devjelle:~/cython$ python concat.py fooba