[Python-Dev] inspect.py change for pygame
ncdave4life
ncdave4life at gmail.com
Mon Mar 19 05:13:55 CET 2012
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?
--
View this message in context: http://python.6.n6.nabble.com/inspect-py-change-for-pygame-tp4631993p4631993.html
Sent from the Python - python-dev mailing list archive at Nabble.com.
More information about the Python-Dev
mailing list