boa-constructor bug: import string

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

In v0.2.0
starting produces the error message:
  File "C:\Python23\Lib\site-packages\wxPython\tools\boa\",
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\",
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