Message156645
| 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: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 |
|