[issue3362] locale.getpreferredencoding() gives bus error on Mac OS X 10.4.11 PPC

cfr report at bugs.python.org
Wed Jul 16 14:50:31 CEST 2008


cfr <margali at imapmail.org> added the comment:

Thanks.

I couldn't get anything from gdb which wasn't already in the crash log -
likely because I don't know how to elicit the information correctly.

Output from a build with the augmented _localemodule.c:

./python.exe 
Python 2.5.2 (r252:60911, Jul 16 2008, 01:44:22) 
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
iType "help", "copyright", "credits" or "license" for more information.
>>> import os, sys, locale
>>> locale.getpreferredencoding()
The value of name is 0x0
It points to '(null)'
Bus error

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3362>
_______________________________________


More information about the Python-bugs-list mailing list