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 ncoghlan
Recipients ajaksu2, brianvanden, eric.araujo, kjohnson, mikehoy, ncoghlan, ping
Date 2012-08-28.12:10:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346155836.97.0.348663901691.issue1185124@psf.upfronthosting.co.za>
In-reply-to
Content
Oops, I somehow ended up looking at an old revision of pydoc.py

The current version *is* using tokenize.open and importlib in synopsis(), so those aspects of my comments are incorrect.

However, the point that pydoc should probably be using the tokenize module to do the parsing inside source_synopsis remains valid. There's no good reason to continue duplicating a subset of that text processing logic within pydoc.
History
Date User Action Args
2012-08-28 12:10:37ncoghlansetrecipients: + ncoghlan, ping, kjohnson, brianvanden, ajaksu2, eric.araujo, mikehoy
2012-08-28 12:10:36ncoghlansetmessageid: <1346155836.97.0.348663901691.issue1185124@psf.upfronthosting.co.za>
2012-08-28 12:10:36ncoghlanlinkissue1185124 messages
2012-08-28 12:10:36ncoghlancreate