Hi there,
being mostly new to python and this list, i do not
want to miss the opportunity to report a strange
behavior:
string.atof('0.5') is valid when used by itself.
However, when processing my glade-file in
xmlparse.py it is causing problems:
[...]
File "/usr/lib/python1.5/site-packages/pyglade/build.py", line 83,
in __new_widget
widget = create(node)
File "/usr/lib/python1.5/site-packages/pyglade/build.py", line 225,
in label_new
misc_set(label, node)
File "/usr/lib/python1.5/site-packages/pyglade/build.py", line 214,
in misc_set
xalign = info.get_float('xalign', 0.5)
File "/usr/lib/python1.5/site-packages/pyglade/xmlparse.py", line
88, in get_float
return string.atof(self.__tags[key])
ValueError: invalid literal for atof(): 0.5
this seems quite strange to me. only to me?
if this is a bug, i can not see why i should be the first to
encounter.
cheers, christian folini
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]