This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients michael.foord, ncdave4life, pitrou, r.david.murray
Date 2012-03-23.10:38:24
SpamBayes Score 0.00012077294
Marked as misclassified No
Message-id <1332499105.79.0.716474557716.issue14367@psf.upfronthosting.co.za>
In-reply-to
Content
So PyGame __init__.py has various not-a-module objects with __getattr__ that raises a NotImplementedError on every attribute access. Changing inspect to use getattr_static, so it doesn't trigger code execution on attribute access, would fix the problem.

Making pydoc resilient against exceptions is probably a *better* solution for the specific problem - although changing ismethoddescriptor to not trigger code execution would be good *as well*.
History
Date User Action Args
2012-03-23 10:38:25michael.foordsetrecipients: + michael.foord, pitrou, r.david.murray, ncdave4life
2012-03-23 10:38:25michael.foordsetmessageid: <1332499105.79.0.716474557716.issue14367@psf.upfronthosting.co.za>
2012-03-23 10:38:25michael.foordlinkissue14367 messages
2012-03-23 10:38:24michael.foordcreate