Message168038
One option for whitelisting files would be to subclass doctest.DocTestParser and pass an instance as the parser argument to doctest.DocFileSuite:
http://docs.python.org/dev/library/doctest.html#doctest.DocFileSuite
The custom parser could look for the per-file marker before falling back to the usual parsing logic. This would give us the functionality we need without having to make changes to doctest. |
|
Date |
User |
Action |
Args |
2012-08-12 14:04:02 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python, sbt |
2012-08-12 14:04:02 | chris.jerdonek | set | messageid: <1344780242.45.0.913812867436.issue15629@psf.upfronthosting.co.za> |
2012-08-12 14:04:01 | chris.jerdonek | link | issue15629 messages |
2012-08-12 14:04:01 | chris.jerdonek | create | |
|