Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3926

Re: When is PEP necessary?

From "Martin v. Loewis" <martin@v.loewis.de>
Newsgroups comp.lang.python
Subject Re: When is PEP necessary?
Date 2011-04-23 22:31 +0200
Organization 1&1 Internet AG
Message-ID <4DB3370A.5020203@v.loewis.de> (permalink)
References <mailman.774.1303560988.9059.python-list@python.org>

Show all headers | View raw


Am 23.04.2011 14:16, schrieb Disc Magnet:
> Is PEP necessary to add a new package to the standard library?

A PEP is necessary if the proposed change is contentious. If there is
widespread agreement that the change is desirable, no PEP is needed.

> What if the community just wants to add a new module to an existing package?

It depends on many questions: how does the author of the module think
about that addition? If he vetoes it (for example), it doesn't matter
what the community wants. Also, who is going to maintain it? Are there
competing libraries that provide the same feature? etc.

> What if only a new function has to be added to a module in the standard library?

Likewise. Propose to contribute it, and see what happens.

> What if only a line or two are to be added to a function in the
> standard library?

See above. It depends on the two lines. For example, changing the
default source encoding to UTF-8 was a fairly small change, yet
given past discussions, I felt that writing PEP 3120 was necessary.

Regards,
Martin

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

When is PEP necessary? Disc Magnet <discmagnet@gmail.com> - 2011-04-23 17:46 +0530
  Re: When is PEP necessary? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-23 13:04 +0000
  Re: When is PEP necessary? "Martin v. Loewis" <martin@v.loewis.de> - 2011-04-23 22:31 +0200

csiph-web