[Python-Dev] PEP: Consolidating names and classes in the unittest module (updated 2008-07-15) (original) (raw)

Rodrigo Bernardo Pimentel rbp at isnomore.net
Wed Jul 16 15:35:39 CEST 2008


On Tue, Jul 15 2008 at 07:38:59PM BRT, Ben Finney <ben+python at benfinney.id.au> wrote:

Tres Seaver <tseaver at palladion.com> writes:

> I would keep both by preference, rather than insist on a "foolish > consistency."

+1

The "consistency" argument leads to the PEP 8 names. The removal of redundant names is not made in the name of consistency, but of API simplicity.

Isn't this enourmous discussion a clear sign that a lot of people won't find a trimmed-down API simpler? If assert* to fail* mapping is consistent, then voilá, simple, everyone can remember method names (+1 for PEP-8 renaming), everyone is free to think of each test as they please.

rbp

-- Rodrigo Bernardo Pimentel <rbp at isnomore.net> | GPG: <0x0DB14978>



More information about the Python-Dev mailing list