[issue36675] Doctest directives and comments missing from code samples

Jim DeLaHunt report at bugs.python.org
Fri Apr 24 03:29:20 EDT 2020


Jim DeLaHunt <from+python at jdlh.com> added the comment:

We discovered and fixed this same problem back in 2011-2012 with #12947 . 

That was apparently the source of the monkeypatch that was removed as "obselete code" on 2019-09-12. That old issue commentary has some suggestions about other workarounds. This includes adding explanatory text about the fact that doctest directives are missing from the examples which should be showing them. Maybe some of those workarounds would be effective for us now.

----------
nosy: +JDLH

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36675>
_______________________________________


More information about the Python-bugs-list mailing list