[issue6195] Serious regression in doctest in Py3.1rc1

R. David Murray report at bugs.python.org
Sat Jun 6 02:17:41 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The fix is not in fact correct.  Without the fix, source code is found
that is skipped with the fix in place.  This may mean that the fix for
issue4050 is also in error.

The object found by inspect.getfile when it isn't an a .so is of the form:

   <doctest test.test_doctest.test_DocTestRunner.basics[3]>

So I think we need some way to determine whether or not what is returned
by getfile is binary data or not.

----------
resolution: accepted -> 
stage: patch review -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6195>
_______________________________________


More information about the Python-bugs-list mailing list