[issue15494] Move test/support.py into a test.support subpackage

Martin v. Löwis report at bugs.python.org
Thu Oct 25 22:43:53 CEST 2012


Martin v. Löwis added the comment:

This may increasingly get off-topic, so I'll stop with generalities after this post.

I find the effect of modularization on discoverability to be two-sided.

On the one hand, splitting functionality into groups helps discoverability, since you don't have to wade through tons of API, and the risk "to see but not to recognize" is reduced.

OTOH, the risk of entirely ignoring some functionality because it is placed somehwere where you wouldn't expect it is increased. The classical example is the the gethostname() function, which many people wouldn't expect in the socket module.

I have personally given up on expecting "logical" grouping when trying to find functionality (not just in Python, but in general). Instead, I rely on full-text search, which works reasonably well these days. I do use modularity when studying "close friends" related to some API I already know.

----------

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


More information about the Python-bugs-list mailing list