On 2018-08-18 10:52, Robert Bradshaw wrote:
Do the existing c_string_type and c_string_encoding directives not
cover this usecase?

Those seem to refer to C strings, I am talking about the Python type of string literals.

I suppose what you're asking for is str being the
str of the runtime, even if language_level=3 is set.

Basically I am asking for

type("foo") is str

both on Python 2 and Python 3.
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to