New submission from Eric Snow:

While working on #19711 it dawned on me that test_namespace_pkgs might be more 
appropriate as a submodule of test_importlib.  The feature doesn't have it's 
own module nor is it otherwise independent of importlib.
I don't want to introduce churn here for the sake of conceptual purity.  
Rather, the module would be more discoverable if associated with importlib in 
this way.  For #19711 I wrote a test case that was overly complicated and did 
not work (goes hand-in-hand, no?) that I would not have spent time on if I'd 
remembered about test_namespace_pkgs or seen it somewhere under test_import*.

As a bonus, this change moves 1 file and 1 directory out of Lib/test (a 
directory that takes "flat is better than nested" to the extreme).

Any objections?

----------
messages: 215145
nosy: barry, brett.cannon, eric.smith, eric.snow, ncoghlan
priority: low
severity: normal
stage: needs patch
status: open
title: Move test_namespace_pkgs into test_importlib.
type: enhancement
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to