Message156645
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*. |
|
Date |
User |
Action |
Args |
2012-03-23 10:38:25 | michael.foord | set | recipients:
+ michael.foord, pitrou, r.david.murray, ncdave4life |
2012-03-23 10:38:25 | michael.foord | set | messageid: <1332499105.79.0.716474557716.issue14367@psf.upfronthosting.co.za> |
2012-03-23 10:38:25 | michael.foord | link | issue14367 messages |
2012-03-23 10:38:24 | michael.foord | create | |
|