Nick Coghlan added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1185124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to