[Python-Dev] inspect.py change for pygame (original) (raw)

Brian Curtin brian at python.org
Mon Mar 19 05:19:03 CET 2012


On Sun, Mar 18, 2012 at 23:13, ncdave4life <ncdave4life at gmail.com> wrote:

I noticed that pydoc doesn't work for pygame under python 3.2.1 for Win32:

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 http://www.burtonsys.com/python32/inspect.diff With that patch, pydoc works with pygame, and reports just a few issues: scrap = <pygame.MissingModule object> sndarray = <pygame.MissingModule object> surfarray = <pygame.MissingModule object> Sorry, I'm a newbie to python-dev, so please forgive my ignorance, but what do I need to do get this fix (or something similar) into a future release?

Patches to fix Python should be posted to http://bugs.python.org/.

From there they'll be classified, reviewed, and if all is well, committed. It's much easier for patches to be tracked on there instead of email.



More information about the Python-Dev mailing list