R. David Murray <rdmur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com