Message168038
| Author |
chris.jerdonek |
| Recipients |
chris.jerdonek, docs@python, sbt |
| Date |
2012年08月12日.14:04:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344780242.45.0.913812867436.issue15629@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|