This is a known problem on the PyQt side (not pylint) and should be fixed in the next upcoming releases of PyQt/SIP. Until then you must make sure you import QtGui *before* QtCore --- this should avoid the crash you're seeing.

derek.

On 10/09/2009, at 4:20 AM, brian downing wrote:

On Windows Vista, when I import PyQt:

-------------------------------------------------

from PyQt4.QtCore import *

from PyQt4.QtGui import *

-------------------------------------------------


I get an crash error that says “python.exe has stopped working”. If I comment out the import PyQt then PyLint runs. I've tried adding <- ignore PyQt4> to the pylint.bat command line arguments but it doesn't work.


How do I handle PyQt in PyLint?


If I do a –version I get the following:

-------------------------------------------------

pylint.bat 0.18.1,

astng 0.19.1, common 0.45.0

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]

-------------------------------------------------


Brian

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to