https://bugzilla.novell.com/show_bug.cgi?id=810259 https://bugzilla.novell.com/show_bug.cgi?id=810259#c0 Summary: Running "help(PyQt4.QtCore)" in Python3 leads to an error and traceback Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rjd4@cam.ac.uk QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 SuSE replease information: openSUSE 12.2 (x86_64) VERSION = 12.2 CODENAME = Mantis Packages: python3-3.2.3-1.1.1.x86_64 python3-qt4-4.9.1-2.1.2.x86_64 python3-qt4-devel-4.9.1-2.1.2.x86_64 System fully patched. Python3 sys.path: ['', '/usr/lib/python32.zip', '/usr/lib64/python3.2', '/usr/lib64/python3.2/plat-linux2', '/usr/lib64/python3.2/lib-dynload', '/usr/lib64/python3.2/site-packages', '/usr/lib/python3.2/site-packages', '/usr/local/lib64/python3.2/site-packages'] /usr/local is empty Reproducible: Always Steps to Reproduce: 1. Check environment has no Python environment variables etc. 2. Launch python3 3. import PyQt4.QtCore 4. help(PyQt4.QtCore) Actual Results: $ env | grep PYTHON $ python3 Python 3.2.3 (default, May 18 2012, 11:54:24) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import PyQt4.QtCore help(PyQt4.QtCore) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.2/site.py", line 463, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib64/python3.2/pydoc.py", line 1774, in __call__ self.help(request) File "/usr/lib64/python3.2/pydoc.py", line 1824, in help else: doc(request, 'Help on %s:', output=self._output) File "/usr/lib64/python3.2/pydoc.py", line 1560, in doc pager(render_doc(thing, title, forceload)) File "/usr/lib64/python3.2/pydoc.py", line 1553, in render_doc return title % desc + '\n\n' + renderer.document(object, name) File "/usr/lib64/python3.2/pydoc.py", line 338, in document if inspect.ismodule(object): return self.docmodule(*args) File "/usr/lib64/python3.2/pydoc.py", line 1070, in docmodule for key, value in inspect.getmembers(object, inspect.isclass): TypeError: C++ type 'QWidget*' is not supported as type
Expected Results: Module help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.