timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

Cython should accept all strings as ASCII. #89

Open rec opened 8 years ago

rec commented 8 years ago

We aren't allowing any non-ASCII strings, and there's a setting in Cython that's supposed to automatically convert ASCII, but I couldn't make it work, so every time we get a string, we have boilerplate like this:

https://github.com/rec/timedata/blob/82781715f2ee5c9777446c9fb043c3380aa2a545/src/pyx/timedata/base/timestamp.pyx#L7

rec commented 8 years ago

Dammit, still can't work this out! :-)