[Python-Dev] a suggestion ... Re: PEP 383 (again)
p.f.moore at gmail.com
Thu Apr 30 17:04:30 CEST 2009
2009/4/30 Thomas Breuel <tmbdev at gmail.com>:
> The analogous phenomenon will exist in Python with PEP 383. Let's say I
> have a C library with wide character interfaces and I pass it a unicode
> string from Python.(*)
> (*) There's actually a second, sutble issue. PEP 383 intends utf-8b only to
> be used for file names. But that means that I might have to bind the first
> argument to TIFFOpen with utf-8b conversion, while I might have to bind
> other arguments with utf-8 conversion.
The footnote seems to imply that you have a concrete case rather than
a hypothetical one. The discussion would be much easier if you would
supply the concrete details. Then other participants in the discussion
could offer concrete suggestions on how your issue could be addressed.
Of course, there are 2 provisos here:
1. Maybe you don't care any more, having accepted that the PEP is
going to be implemented. That's fine, but there's also no point
continuing to argue your case in that event.
2. Maybe you aren't going to accept suggestions that don't conform to
your idea of how things should be done. In which case, your reasoning
is circular, and you're wasting people's time.
Sorry, that sounds grumpy. But I get a headache at the best of times
trying to understand Unicode issues, and theoretical, vague,
descriptions of problems just make my headache worse...
I suggest the discussion should be dropped now, as the PEP has been accepted.
More information about the Python-Dev