New submission from Dave Burton <ncdave4l...@gmail.com>: I noticed that pydoc doesn't work for pygame under python 3.2.1 or 3.2.2 for Win32; it just reports:
NotImplementedError: scrap module not available (ImportError: No module named scrap) I made a small patch to inspect.py to solve the problem (I just added a try/expect around the failing statement in ismethoddescriptor). Here's the diff: http://www.burtonsys.com/python32/inspect.diff With that patch, pydoc works with pygame, and reports just a few pygame issues: *scrap* = <pygame.MissingModule object> *sndarray* = <pygame.MissingModule object> *surfarray* = <pygame.MissingModule object> ---------- components: Library (Lib) files: inspect.diff keywords: patch messages: 156314 nosy: ncdave4life priority: normal severity: normal status: open title: try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2 type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file24935/inspect.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14367> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com