• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Was gibt es Schöneres als den Mai draußen in der Natur mit allen Sinnen zu genießen? Lasst uns teilhaben an Euren Erlebnissen und macht mit beim Thema des Monats Da blüht uns was! ---> Klick

Python + wxPython + String-Partition = crash...

galdo

Auralia
Registriert
02.06.06
Beiträge
201
Hi zusammen,

könnte evtl. ein bissl speziell sein, aber mir ist aufgefallen, dass unter Python 2.5 (alle Subversionen) das Programm / Script immer crasht, wenn man eine Stringpartition durchführt und das Programm auf die wxPython-Bib zurückgreift.

Kann das mal jemand testen / bestätigen?

Gibt es eine Lösung für dieses Problem?

hat schon jemand von euch ein Binary für Python 2.6 oder Python 3 gebacken bekommen, bei mir schlägt das make immer fehl mit folgender Meldung:

[galdo@mephisto] [~/Downloads/Python-3.0a4] # sudo make
./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
gcc -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
In file included from /usr/include/wchar.h:114,
from Include/unicodeobject.h:116,
from Include/Python.h:68,
from ./Modules/python.c:3:
/usr/include/_wctype.h: In function 'iswalnum':
/usr/include/_wctype.h:74: error: '_CTYPE_A' undeclared (first use in this function)
/usr/include/_wctype.h:74: error: (Each undeclared identifier is reported only once
/usr/include/_wctype.h:74: error: for each function it appears in.)
/usr/include/_wctype.h:74: error: '_CTYPE_D' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswalpha':
/usr/include/_wctype.h:80: error: '_CTYPE_A' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswcntrl':
/usr/include/_wctype.h:86: error: '_CTYPE_C' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswdigit':
/usr/include/_wctype.h:98: error: '_CTYPE_D' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswgraph':
/usr/include/_wctype.h:104: error: '_CTYPE_G' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswlower':
/usr/include/_wctype.h:110: error: '_CTYPE_L' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswprint':
/usr/include/_wctype.h:116: error: '_CTYPE_R' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswpunct':
/usr/include/_wctype.h:122: error: '_CTYPE_P' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswspace':
/usr/include/_wctype.h:128: error: '_CTYPE_S' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswupper':
/usr/include/_wctype.h:134: error: '_CTYPE_U' undeclared (first use in this function)
/usr/include/_wctype.h: In function 'iswxdigit':
/usr/include/_wctype.h:140: error: '_CTYPE_X' undeclared (first use in this function)
make: *** [Modules/python.o] Error 1

Danke GALDO