boa-constructor bug: import string

Mark Carter cartermark46 at ukmail.com
Tue Aug 5 17:04:44 CEST 2003


In v0.2.0
starting boa.py produces the error message:
  File "C:\Python23\Lib\site-packages\wxPython\tools\boa\About.py",
line 301, in write
    ss = string.strip(s)
NameError: global name 'string' is not defined

It appears that string is not imported in many modules, because fixing
this gives the further error:

File "C:\Python23\Lib\site-packages\wxPython\tools\boa\PropEdit\PropertyEditors.py",
line 1050, in NamePropEdit
    identifier = string.letters+string.digits+'_'
NameError: name 'string' is not defined

Can someone confirm that this is a bug? I don't want to post it to
their list inadvertantly.




More information about the Python-list mailing list