[Python-3000-checkins] r56409 - python/branches/py3k-struni/Lib/test/test_exceptions.py

Guido van Rossum guido at python.org
Tue Jul 17 22:18:08 CEST 2007


On 7/17/07, Brett Cannon <brett at python.org> wrote:
> How about having individual test files for the various built-ins?  As
> of right now we have test_builtin, but also things like test_tuple and
> test_file without a test_chr.
>
> And then semantic stuff is all over (e.g., test_class, test_descr,
> test_binop, etc.).  I would never expect a newbie to come along and
> know where to look for a semantic test.
>
> Should we make Lib/test less shallow and have like a builtins,
> language, stdlib, and capi subpackages to help organize this stuff and
> make the location of tests more obvious?  That might help make it
> clearer where one should look and thus if a test for something is not
> found there it probably doesn't exist.

Personally, I'm in favor of leaving well enough alone, and only using
the guidelines to avoid repeating the mistakes of the past. But if you
want to be more ambitious as part of the stdlib reorg, eb my guest!

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000-checkins mailing list