[Python-Dev] Unittest PEP do's and don'ts (BDFL pronouncement)

Ben Finney ben+python at benfinney.id.au
Thu Jul 17 04:36:13 CEST 2008


Steve Holden <steve at holdenweb.com> writes:
> Yes, but unless I misunderstand you, you don't regard a mass
> renaming of the module's functionality and removal of existing
> aliases as a change to the API.

You slightly misunderstand me. The above changes *are* a change to the
API, by definition. My position is that those changes, which *only*
(and deliberately) change names without changing behaviour, are far
below the threshold that might justify a new module.
> As far as I'm concerned, if I have to alter my code to use the
> updated module you have changed the API. Test code is particularly
> sensitive to such changes.

I agree entirely with this.
-- 
 \ “Smoking cures weight problems. Eventually.” —Steven Wright |
 `\ |
_o__) |
Ben Finney


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /