Re: [Cython] File encoding issue

2011-11-07 Thread Vitja Makarov
2011/11/7 Stefan Behnel : > Vitja Makarov, 07.11.2011 19:28: >> >> 2011/11/6 Stefan Behnel: >>> >>> Vitja Makarov, 06.11.2011 18:10: When file encoding is specified cython generates two PyObject entries for string consts one for the variable name and one for the string constant.

Re: [Cython] File encoding issue

2011-11-07 Thread Stefan Behnel
Vitja Makarov, 07.11.2011 19:28: 2011/11/6 Stefan Behnel: Vitja Makarov, 06.11.2011 18:10: When file encoding is specified cython generates two PyObject entries for string consts one for the variable name and one for the string constant. That's because the content may actually become differe

Re: [Cython] File encoding issue

2011-11-07 Thread Vitja Makarov
2011/11/6 Stefan Behnel : > Vitja Makarov, 06.11.2011 18:10: >> >> When file encoding is specified cython generates two PyObject entries >> for string consts one for the variable name and one for the string >> constant. > > That's because the content may actually become different after decoding, >

Re: [Cython] File encoding issue

2011-11-06 Thread Stefan Behnel
Vitja Makarov, 06.11.2011 18:10: When file encoding is specified cython generates two PyObject entries for string consts one for the variable name and one for the string constant. That's because the content may actually become different after decoding, even if the encoded byte sequence is iden