Hi there ! I'm the author of pylint and while investigating why pyqt classes weren't correctly detected by pylint, I've found that is was due to the fact that on qt classes, the __module__ attribute is set to the module which has imported qt... This is annoying since to fix it I've to add some special code to handle qt modules. I've not found any place to report bugs for pyqt, so I'm talking about it here.
Another problem is that the __name__ attribute of those class include the module name while it should only contains the class name. >>> import qt >>> qt.QWidget.__module__ '__main__' # should be 'qt' >>> qt.QWidget.__name__ 'qt.QWidget' # should be 'QWidget' I'm using pyqt 3.12 with qt 3.3.3. Could I expect to get those problems corrected at some point ? Thanks PS: please cc me for any response since I'm not registered to this mailing list -- Sylvain Th�nault LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
