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

Martin v. Löwis report at bugs.python.org
Wed Jul 16 04:54:55 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

The Python debugger (pdb) won't help here; you'ld have to use the system
debugger (gdb).

Please add the line

  printf("The value of name is %p\n", name);
  printf("It points to '%s'\n", name);

right before the call to CFStringGetCStringPtr in Modules/_localemodule.c

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


More information about the Python-bugs-list mailing list