forked from python/peps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pep-0002.txt
64 lines (48 loc) · 2.14 KB
/
pep-0002.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PEP: 2
Title: Procedure for Adding New Modules
Version: $Revision$
Last-Modified: $Date$
Author: Brett Cannon <[email protected]>,
Martijn Faassen <[email protected]>
Status: Active
Type: Process
Content-Type: text/x-rst
Created: 07-Jul-2001
Post-History: 07-Jul-2001, 09-Mar-2002
Introduction
============
The Python Standard Library contributes significantly to Python's
success. The language comes with "batteries included", so it is easy
for people to become productive with just the standard library alone.
It is therefore important that the usefulness of the standard library
be maintained.
Due to the visibility and importance of the standard library, it must
be maintained thoughtfully. As such, any code within it must be
maintained by Python's development team which leads to a perpetual
cost to each addition made. There is also added cognitive load for
users in familiarizing themselves with what is in the standard
library to be considered.
New functionality is commonly added to the library in the form of new
modules. This PEP will describe the procedure for the *addition* of
new modules. :pep:`4` deals with procedures for deprecation of modules;
the *removal* of old and unused modules from the standard library.
Acceptance Procedure
====================
For top-level modules/packages, a PEP is required. The procedure for
writing a PEP is covered in :pep:`1`.
For submodules of a preexisting package in the standard library,
additions are at the discretion of the general Python development team
and its members.
General guidance on what modules typically are accepted into the
standard library, the overall process, etc. are covered in the
`developer's guide <https://devguide.python.org/stdlibchanges/>`_.
Maintenance Procedure
=====================
Anything accepted into the standard library is expected to be
primarily maintained there, within Python's development infrastructure.
While some members of the development team may choose to maintain a
backport of a module outside of the standard library, it is up to them
to keep their external code in sync as appropriate.
Copyright
=========
This document has been placed in the public domain.