Re: Would this be called a bug in inspect ?



Terry Reedy wrote:
Stef Mientki wrote:

print getmembers ( wx )
crashes

but not always:
>>> print getmembers (wx)
[('ACCEL_ALT', 1), ('ACCEL_CMD', 2), ('ACCEL_CTRL', 2), ('ACCEL_NORMAL', 0), ('ACCEL_SHIFT', 4), ('ADJUST_MINSIZE', 0), (

I suspect that wx has an erratic bug, which their tests do not catch.
So I would send this off to them.
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


>>> print getmembers (wx)
Traceback (most recent call last):
File "<interactive 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(True))
File "P:\Python\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 230, in Get
return _gdi_.Colour_Get(*args, **kwargs)
TypeError: in method 'Colour_Get', expected argument 1 of type 'wxColour *'

--
http://mail.python.org/mailman/listinfo/python-list

.



Relevant Pages

  • 2.4.23-pre9 ide+XFree+ptrace=Complete hang
    ... This is a very vague bug report... ... sometimes even the bios crashes (the fn key ceases to cause a status LED ... Perhaps I should mention that this doesn't seem to be a strace bug per se ... The minimum case I've managed to get to crash: ...
    (Linux-Kernel)
  • Re: Lisp-aware editor for Windows?
    ... And remember, any crashes are due ... not a bug in the OS. ... Tim Cross ... My real e-mail is ...
    (comp.lang.lisp)
  • Re: USB2 Avstream driver
    ... If I enable the camera and reboot, I can trap DriverEntry, ... from within Windows, it crashes. ... by the Stream class but is called by KsInitializeDriver. ... Are you aware if this bug has been fixed in some patch or of some ...
    (microsoft.public.development.device.drivers)
  • Re: How stable is 1.5? CRASH REPRODUCED
    ... The folks at Sun said the bug exposed by the test applet at ... the test applet under 1.6, and he did not see crashes using 1.6, but he also ...
    (comp.lang.java.programmer)
  • RE: instruction at 0x5d32319f
    ... The error seems to be a general Access Violation error. ... BUG: VB Crashes When Deselecting Multi-Selected Objects ... Find Next Crashes After Closing a Maximized Code Window ... "Prompt To Save Changes" Setting Crashes VB IDE Upon Saving Project ...
    (microsoft.public.vb.bugs)