Terry Reedy wrote:
I did, and the bug is already fixed,
but I need some more time to update, while most of my programs crash
with the newer version.
But the real point is, should a module like inspect not be insensitive
to these kind of errors ?
cheers,
Stef
Stef Mientki wrote:
>
>
I suspect that wx has an erratic bug, which their tests do not catch.
So I would send this off to them.
>
> print getmembers ( wx )
>crashes
>>
>but not always:
>[('ACCEL_ALT', 1), ('ACCEL_CMD', 2), ('ACCEL_CTRL', 2),
>('ACCEL_NORMAL ', 0), ('ACCEL_SHIFT', 4), ('ADJUST_MINSIZ E', 0), (
>crashes
>>
>but not always:
> >>print getmembers (wx)
>('ACCEL_NORMAL ', 0), ('ACCEL_SHIFT', 4), ('ADJUST_MINSIZ E', 0), (
I suspect that wx has an erratic bug, which their tests do not catch.
So I would send this off to them.
but I need some more time to update, while most of my programs crash
with the newer version.
But the real point is, should a module like inspect not be insensitive
to these kind of errors ?
cheers,
Stef
>
>Traceback (most recent call last):
> File "<interacti ve input>", line 1, in <module>
> File "P:\Python\lib\ site-packages\wx-2.8-msw-unicode\wx\_gdi .py",
>line 242, in __repr__
> def __repr__(self): return 'wx.Colour' +
>str(self.Get(T rue))
> File "P:\Python\lib\ site-packages\wx-2.8-msw-unicode\wx\_gdi .py",
>line 230, in Get
> return _gdi_.Colour_Ge t(*args, **kwargs)
>TypeError: in method 'Colour_Get', expected argument 1 of type
>'wxColour *'
>
--
http://mail.python.org/mailman/listinfo/python-list
> >>print getmembers (wx)
> File "<interacti ve input>", line 1, in <module>
> File "P:\Python\lib\ site-packages\wx-2.8-msw-unicode\wx\_gdi .py",
>line 242, in __repr__
> def __repr__(self): return 'wx.Colour' +
>str(self.Get(T rue))
> File "P:\Python\lib\ site-packages\wx-2.8-msw-unicode\wx\_gdi .py",
>line 230, in Get
> return _gdi_.Colour_Ge t(*args, **kwargs)
>TypeError: in method 'Colour_Get', expected argument 1 of type
>'wxColour *'
--
http://mail.python.org/mailman/listinfo/python-list