Sion Arrowsmith wrote:
> Michele Petrazzo <[EMAIL PROTECTED]> wrote:
>> some days ago I posted here and say that python "forgot" to raise
>> an exception, but my code was too long for make some tries
>> possible. But now I can reproduce the problem into another, little,
>> project:
>>
>> www.unip
Michele Petrazzo <[EMAIL PROTECTED]> wrote:
>some days ago I posted here and say that python "forgot" to raise an
>exception, but my code was too long for make some tries possible.
>But now I can reproduce the problem into another, little, project:
>
>www.unipex.it/vario/wxFrameSchedule.py
>www.un
Hi group,
some days ago I posted here and say that python "forgot" to raise an
exception, but my code was too long for make some tries possible.
But now I can reproduce the problem into another, little, project:
(Need wx 2.6)
Here is the code:
www.unipex.it/vario/wxFrameSchedule.py
www.unipex.it
Diez B. Roggisch wrote:
>> This code are inside a method into class that have no try/except.
>> And called from a method inside a wx.Frame derivate. The other
>> strange thing is that if I try the same code just before the
>> "caller" to that method, it raise an exception:
>
> So maybe the C-la
> This code are inside a method into class that have no try/except. And
> called from a method inside a wx.Frame derivate. The other strange thing
> is that if I try the same code just before the "caller" to that method,
> it raise an exception:
So maybe the C-layer of wx in-between doesn't pro
Michele Petrazzo wrote:
> Michele Petrazzo wrote:
>> Hi list, I have a strange error on my software on win 2k/xp and
>> debian 3.1 with py 2.3.5 / 2.4.1 + twisted + wxpython:
>
Opss, I forgot some words :)
> Just for give evidence to my _failed_ tests, my a debugger (eric3), it
with a debugger
Michele Petrazzo wrote:
> Hi list, I have a strange error on my software on win 2k/xp and
> debian 3.1 with py 2.3.5 / 2.4.1 + twisted + wxpython:
Just for give evidence to my _failed_ tests, my a debugger (eric3), it
see the exception, so it break with a KeyError!
And the same code, no!
Thanks,
Diez B. Roggisch wrote:
> Not here:
>
> t_fields = {}
> #code
> def test():
> print type(t_fields), 11 in t_fields
> print t_fields[11]
> print "I'm here"
>
> print "ok"
> test()
> print "ok"
> #end code
>
> Gives me
>
> KeyError: 11
Also on my environ when I try this 4 line code. My pr
Michele Petrazzo wrote:
> Hi list, I have a strange error on my software on win 2k/xp and debian
> 3.1 with py 2.3.5 / 2.4.1 + twisted + wxpython:
>
> python, on a piece of code doesn't raise a KeyError on a dict (that
> don't have that key), but the strange thing is that the try/except code
> see
Michele Petrazzo wrote:
> Simple example extract from my code:
>
> #code
> def test():
> print type(t_fields), 11 in t_fields
> print t_fields[11]
> print "I'm here"
>
> print "ok"
> test()
> print "ok"
> #end code
>
> Output:
>
> ok
> False
>
> Here I see only one "ok" and not the "I'm here
Hi list, I have a strange error on my software on win 2k/xp and debian
3.1 with py 2.3.5 / 2.4.1 + twisted + wxpython:
python, on a piece of code doesn't raise a KeyError on a dict (that
don't have that key), but the strange thing is that the try/except code
see that exception. Other strange thing
11 matches
Mail list logo