> What do you think?
I see another alternative: invoke the Apple converters (assuming they
exist). Then, these encodings would only be available on OS X, but
that might be just sufficient.
Now, I'm not a CFString expert, but I would hope that the conversion
would only be a few lines of C code whi
Brett Cannon wrote:
Really? Without really digging into the code too much I see that if
warnings were set on the command-line it's loaded, otherwise it's
skipped.
You are right. It's not loaded by pythonrun.c. The io module is
importing warnings w/o using it. I fixed it in r65694
./python -S
On Fri, Aug 15, 2008 at 1:09 AM, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Brett Cannon wrote:
>>
>> Speaking with my importlib hat on, I need a function that can easily
>> return the encoding of a file, so I have another legit use-case for
>> the functionality where exposing it through some bu
On 2008-08-15 15:41, Hye-Shik Chang wrote:
Currently, Python 3.0 fails to build in MacOS X with CJK locales
due to lack of codec support for preferred encodings, such as
MacJapanese or MacKorean, provided by locale.getpreferredencoding().
We have a patch that implements the codecs that resolves t
Currently, Python 3.0 fails to build in MacOS X with CJK locales
due to lack of codec support for preferred encodings, such as
MacJapanese or MacKorean, provided by locale.getpreferredencoding().
We have a patch that implements the codecs that resolves the problem
in issue #1276, but it's too late
Christian Heimes wrote:
> Jesus Cea wrote:
>> Current pybsddb code don't allow subclassing or adding new attibutes to
>> a given instance. I will (probably) work on this for a future pybsddb
>> version. Pointers to references to do this kind of magic welcomed :-)
>
> For making it subclass-able yo
Brett Cannon wrote:
Speaking with my importlib hat on, I need a function that can easily
return the encoding of a file, so I have another legit use-case for
the functionality where exposing it through some built-in fashion
would be REALLY appreciated (I have one hacked together as
imp.source_open