boa-constructor bug: import string

Kevin Altis altis at semi-retired.com
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

  http://sourceforge.net/project/showfiles.php?group_id=1909

ka

"Mark Carter" <cartermark46 at ukmail.com> wrote in message
news:d3c9c04.0308050704.5b8a500 at posting.google.com...
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.p
y",
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