Éric Araujo <mer...@netwok.org> added the comment: Attached patch does the trick. (Also removes extra whitespace in three lines and groups the ignored names by topic for ease of reading.)
No test fails before or after the patch; there are some pydoc tests that check full text or HTML output, but apparently none that triggers the appearance of of __loader__ in the module data section. If someone thinks such a test is needed, please complete my patch, otherwise I can commit it. ---------- keywords: +patch nosy: +eric.araujo stage: needs patch -> patch review Added file: http://bugs.python.org/file26235/pydoc-ignore-__loader__.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15163> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com