Jason R. Coombs <[email protected]> added the comment:
The main questions I have before proceeding with creating tests relate to what
interfaces Python wishes to support. Here's the decision tree I have in my head.
- Retain the change of adding a __file__ attribute to namespace packages for
Python 3.7?
yes:
- Should inspect.getfile still raise a TypeError on a namespace package?
no:
- The NEWS file should reflect this change also.
- doctest.DocTestFinder.find should account for this change.
yes:
- Capture with a test and and restore that expectation.
no:
- The change should be reverted.
- Regardless, the test suite should capture and assert that
doctest.DocTestFinder.find should succeed on a namespace package.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32991>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com