boa-constructor bug: import string

Kevin Altis altis at
Tue Aug 5 17:48:24 CEST 2003

Known bug in 0.2.0 but fixed in later releases. You should upgrade either
from cvs or to 0.2.3


"Mark Carter" <cartermark46 at> wrote in message
news:d3c9c04.0308050704.5b8a500 at
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:

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