|
From: <bc...@wo...> - 2001-08-06 18:48:57
|
[Titus Brown] >Hi, I'm having an interesting problem: > >in the following piece of code, when interpreted, > >--- >try: > (a, b, c) = string.split(s) >except ValueError: > print 'ERROR in input string, skipping line: %s' % (s,) >-- > >if the split of s does not contain three elements, a ValueError >is raised & caught appropriately. > >HOWEVER, if I use jythonc to compile the file into a .class, it turns >out that a KeyError is raised in the same place for the same piece of >code. This is obviously a bug and I have added a bug report about it. regards, finn |