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

cfr report at bugs.python.org
Thu Jul 17 02:05:22 CEST 2008


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

On the off chance this might be helpful:

I get the same error with python 2.4.3.

Python 2.4.3 (#1, Apr  7 2006, 10:54:33) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, sys, locale
>>> locale.getpreferredencoding()
Bus error

I do not get the error with the Apple-supplied python 2.3.5:

Python 2.3.5 (#1, Mar 20 2005, 20:38:20) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, sys, locale
>>> locale.getpreferredencoding()
'US-ASCII'

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


More information about the Python-bugs-list mailing list