[issue19711] add test for changed portions after reloading a namespace package

Eric Snow report at bugs.python.org
Sat Mar 29 22:06:37 CET 2014


Eric Snow added the comment:

Regarding this issue, keep in mind that namespace packages have a dynamic __path__ which already updates (effectively) when new portions are added to sys.path.  So we just need to make sure that reloading does not break that.

To that end, here's a much simpler patch (with passing tests) that verifies that PEP 451 did not break anything here.

----------
Added file: http://bugs.python.org/file34661/issue19711-test_namespace_pkgs.diff

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


More information about the Python-bugs-list mailing list