>> - Have a seperate mechanism for specifying what encoding should be used >> for conversion to C buffers. >> > > I don't see a reason to go that route, given the existing PEP. > I argued: The PEP is about **input** source code. It declares the encoding of your source file, which likely depends on the preferred programming environment of the Cython coder, and has absolutely nothing to do with the encoding of the runtime C library, which is likely on a different system with a potentially different encoding.
The moment the compiled behaviour of your code depends on the encoding of the source file, you have big problems, and the exact reason for the PEP was to *avoid* the behaviour you seem to want. Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
