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 pjdelport
Recipients
Date 2007-03-16.20:44:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
DocTestFinder uses object inspection to find docstrings, which doesn't really allow this kind of thing:  g isn't created until f is actually run.

Making this possible would probably require implementing an alternate doctest finder based on source code inspection (via the new _ast module?).
History
Date User Action Args
2007-08-23 15:56:28adminlinkissue1650090 messages
2007-08-23 15:56:28admincreate