[PyKDE] potentially bad interactions with re module
greg landrum
greglandrum at mindspring.com
Thu Mar 21 18:32:21 GMT 2002
[System details: RH linux 7.1 kernel 2.4.2-2smp, Python 2.1.1, Qt 3.0.2,
PyQT/Sip-3.1rc2]
So I accidentally chanced upon this this morning:
----------------------------------------------------
Python 2.1.2c1 (#6, Jan 17 2002, 14:22:45)
[GCC 3.0.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import re
>>> import qtcanvas
>>> qtcanvas.QCanvas()
Segmentation fault
----------------------------------------------------
And another crash:
----------------------------------------------------
Python 2.1.2c1 (#6, Jan 17 2002, 14:22:45)
[GCC 3.0.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import qtcanvas
>>> import re
>>> qtcanvas.QCanvas()
Segmentation fault
----------------------------------------------------
Mysteriously, this does not crash:
----------------------------------------------------
Python 2.1.2c1 (#6, Jan 17 2002, 14:22:45)
[GCC 3.0.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import qtcanvas
>>> import _sre
>>> import re
>>> qtcanvas.QCanvas()
<qtcanvas.QCanvas instance at 0x813abf4>
>>>
----------------------------------------------------
But this does:
----------------------------------------------------
Python 2.1.2c1 (#6, Jan 17 2002, 14:22:45)
[GCC 3.0.3] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import _sre
>>> import re
>>> import qtcanvas
>>> qtcanvas.QCanvas()
Segmentation fault
----------------------------------------------------
Does this happen to anyone else or is my installation woefully screwed
up?
-greg
More information about the PyQt
mailing list