2006-06-30 02:38:33 -04:00
|
|
|
|
PEP: 361
|
2008-03-01 13:36:30 -05:00
|
|
|
|
Title: Python 2.6 and 3.0 Release Schedule
|
2006-06-30 02:38:33 -04:00
|
|
|
|
Version: $Revision$
|
|
|
|
|
Last-Modified: $Date$
|
|
|
|
|
Author: Neal Norwitz
|
|
|
|
|
Status: Draft
|
|
|
|
|
Type: Informational
|
|
|
|
|
Created: 29-June-2006
|
|
|
|
|
Python-Version: 2.6
|
2008-03-01 13:36:30 -05:00
|
|
|
|
Python-Version: 3.0
|
2006-06-30 02:38:33 -04:00
|
|
|
|
Post-History:
|
|
|
|
|
|
|
|
|
|
Abstract
|
|
|
|
|
|
|
|
|
|
This document describes the development and release schedule for
|
2008-03-01 13:36:30 -05:00
|
|
|
|
Python 2.6 and 3.0. The schedule primarily concerns itself with
|
|
|
|
|
PEP-sized items. Small features may be added up to and including
|
|
|
|
|
the first beta release. Bugs may be fixed until the final
|
|
|
|
|
release.
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
There will be at least two alpha releases, two beta releases, and
|
2008-03-01 13:36:30 -05:00
|
|
|
|
one release candidate. The release date is planned to be in 2008.
|
|
|
|
|
|
|
|
|
|
Python 2.6 is not only the next advancement in the Python 2
|
|
|
|
|
series, it is also a transitionary release, helping developers
|
|
|
|
|
begin to prepare their code for Python 3.0. As such, many
|
|
|
|
|
features are being backported from Python 3.0 to 2.6. Thus, it
|
|
|
|
|
makes sense to release both versions in at the same time. The
|
|
|
|
|
precedence for this was set with the Python 1.6 and 2.0 release.
|
|
|
|
|
|
|
|
|
|
During the alpha test cycle we will be releasing both versions in
|
|
|
|
|
lockstep, on a monthly release cycle. The releases will happen on
|
|
|
|
|
the last Friday of every month. If this schedule works well, we
|
|
|
|
|
will continue releasing in lockstep during the beta program.
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Release Manager and Crew
|
|
|
|
|
|
2008-02-23 18:30:50 -05:00
|
|
|
|
Barry Warsaw volunteered to be Release Manager.
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
XXX is building the Windows installers,
|
|
|
|
|
XXX is building the Mac installers,
|
|
|
|
|
XXX the doc packages and
|
|
|
|
|
XXX the RPMs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Release Schedule
|
|
|
|
|
|
|
|
|
|
Note that this schedule is completely tentative. The number of alphas,
|
|
|
|
|
betas and release candidates will be determined as the release process
|
|
|
|
|
unfolds. The minimal schedule is:
|
|
|
|
|
|
2008-03-01 13:36:30 -05:00
|
|
|
|
Feb 29 2008: Python 2.6a1 and 3.0a3 are released.
|
|
|
|
|
Mar 25 2008: next alpha releases planned
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
2008-02-23 18:30:50 -05:00
|
|
|
|
Monthly releases for alphas are planned starting at the end of Feb 2008:
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2008-February/077125.html
|
|
|
|
|
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
2008-03-01 13:36:30 -05:00
|
|
|
|
Completed features for 3.0
|
|
|
|
|
|
|
|
|
|
See PEP 3000 [#pep3000] and PEP 3100 [#pep3100] for details on the
|
|
|
|
|
Python 3.0 project.
|
|
|
|
|
|
|
|
|
|
|
2006-06-30 02:38:33 -04:00
|
|
|
|
Completed features for 2.6
|
|
|
|
|
|
|
|
|
|
PEPs:
|
|
|
|
|
|
2007-04-22 21:29:47 -04:00
|
|
|
|
352: Raising a string exception now triggers a TypeError.
|
|
|
|
|
Attempting to catch a string exception raises DeprecationWarning.
|
2007-05-04 21:34:50 -04:00
|
|
|
|
BaseException.message has been deprecated.
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
New modules in the standard library:
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
2007-05-20 19:18:12 -04:00
|
|
|
|
Deprecated modules and functions in the standard library:
|
2007-05-16 01:27:37 -04:00
|
|
|
|
|
2007-05-31 15:41:41 -04:00
|
|
|
|
- buildtools
|
2007-05-31 16:01:43 -04:00
|
|
|
|
- cfmfile
|
2007-05-25 02:32:35 -04:00
|
|
|
|
- commands.getstatus()
|
2007-05-20 19:18:12 -04:00
|
|
|
|
- macostools.touched()
|
2007-05-30 18:24:53 -04:00
|
|
|
|
- md5
|
2007-05-30 16:48:17 -04:00
|
|
|
|
- MimeWriter
|
2007-05-30 17:49:50 -04:00
|
|
|
|
- mimify
|
2007-05-25 02:32:35 -04:00
|
|
|
|
- popen2, os.popen[234]()
|
2007-05-20 19:59:49 -04:00
|
|
|
|
- posixfile
|
2007-05-25 02:32:35 -04:00
|
|
|
|
- sets
|
2007-05-31 15:20:54 -04:00
|
|
|
|
- sha
|
2007-05-16 01:27:37 -04:00
|
|
|
|
|
2007-05-16 18:46:19 -04:00
|
|
|
|
Modules removed from the standard library:
|
|
|
|
|
|
|
|
|
|
- gopherlib
|
2007-05-20 03:13:46 -04:00
|
|
|
|
- rgbimg
|
2007-05-20 19:18:12 -04:00
|
|
|
|
- macfs
|
2007-05-16 18:46:19 -04:00
|
|
|
|
|
2007-04-22 21:29:47 -04:00
|
|
|
|
Python 3.0 compatability:
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
- warnings were added for the following builtins
|
|
|
|
|
which no longer exist in 3.0:
|
|
|
|
|
|
|
|
|
|
apply, callable, coerce, dict.has_key, execfile, reduce, reload
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
2007-04-22 21:29:47 -04:00
|
|
|
|
Other major features:
|
|
|
|
|
|
|
|
|
|
- with/as will be keywords
|
|
|
|
|
- a __dir__() special method to control dir() was added [1]
|
2007-06-01 23:04:57 -04:00
|
|
|
|
- AtheOS support stopped.
|
2007-04-22 21:29:47 -04:00
|
|
|
|
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
Possible features for 2.6
|
|
|
|
|
|
|
|
|
|
New features *should* be implemented prior to alpha2, particularly
|
|
|
|
|
any C modifications or behavioral changes. New features *must* be
|
|
|
|
|
implemented prior to beta1 or will require Release Manager approval.
|
|
|
|
|
|
|
|
|
|
The following PEPs are being worked on for possible inclusion in 2.6:
|
|
|
|
|
|
2007-05-25 02:40:53 -04:00
|
|
|
|
- PEP 297: Support for System Upgrades [#pep297]
|
|
|
|
|
- PEP 358: The "bytes" Object [#pep358]
|
|
|
|
|
- PEP 367: New Super [#pep367]
|
|
|
|
|
- PEP 3112: Bytes literals in Python 3000 [#pep3112]
|
|
|
|
|
- PEP 3127: Integer Literal Support and Syntax [#pep3127]
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
Each non-trivial feature listed here that is not a PEP must be
|
|
|
|
|
discussed on python-dev. Other enhancements include:
|
|
|
|
|
|
|
|
|
|
- distutils replacement (requires a PEP)
|
|
|
|
|
- turtle.py replacement or enhancements
|
|
|
|
|
|
|
|
|
|
New modules in the standard library:
|
|
|
|
|
|
|
|
|
|
- winerror
|
|
|
|
|
http://python.org/sf/1505257
|
|
|
|
|
(Owner: MAL)
|
|
|
|
|
|
2007-04-22 21:29:47 -04:00
|
|
|
|
- JSON implementation
|
|
|
|
|
|
2007-01-17 13:29:34 -05:00
|
|
|
|
- setuptools
|
|
|
|
|
BDFL pronouncement for inclusion in 2.5:
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-April/063964.html
|
|
|
|
|
|
|
|
|
|
PJE's withdrawal from 2.5 for inclusion in 2.6:
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-April/064145.html
|
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
Modules to gain a DeprecationWarning (as specified for Python 2.6
|
2007-05-16 01:27:37 -04:00
|
|
|
|
or through negligence):
|
|
|
|
|
|
|
|
|
|
- rfc822
|
|
|
|
|
- mimetools
|
|
|
|
|
- multifile
|
2007-05-31 16:01:43 -04:00
|
|
|
|
- compiler package (or a Py3K warning instead?)
|
2007-05-16 01:27:37 -04:00
|
|
|
|
|
2006-08-24 21:29:43 -04:00
|
|
|
|
- warnings module implemented in C
|
2007-02-25 16:58:13 -05:00
|
|
|
|
* Convert Parser/*.c to use warnings module rather than printf
|
2006-08-24 21:29:43 -04:00
|
|
|
|
|
|
|
|
|
- Add warnings for Py3k features removed:
|
|
|
|
|
* backticks and <>
|
|
|
|
|
* __getslice__/__setslice__/__delslice__
|
|
|
|
|
* float args to PyArgs_ParseTuple
|
|
|
|
|
* float args to xrange
|
|
|
|
|
* coerce and all its friends
|
2007-02-25 17:54:58 -05:00
|
|
|
|
* comparing by default comparison
|
2006-08-24 21:29:43 -04:00
|
|
|
|
* __cmp__?
|
|
|
|
|
* other comparison changes?
|
|
|
|
|
* int division?
|
|
|
|
|
* {}.has_key()
|
|
|
|
|
* All PendingDeprecationWarnings (e.g. exceptions)
|
|
|
|
|
* using zip() result as a list
|
2007-02-25 17:54:58 -05:00
|
|
|
|
* the exec statement (use function syntax)
|
|
|
|
|
* file.xreadlines
|
2007-02-25 16:56:38 -05:00
|
|
|
|
* function attributes that start with func_* (should use __*__)
|
2007-02-25 16:58:13 -05:00
|
|
|
|
* softspace removal for print() function
|
2007-04-22 21:29:47 -04:00
|
|
|
|
* the L suffix for long literals
|
2007-05-16 01:27:37 -04:00
|
|
|
|
* removal of modules because of PEP 4/3100/3108
|
2007-02-25 17:54:58 -05:00
|
|
|
|
* renaming of __nonzero__ to __bool__
|
|
|
|
|
* multiple inheritance with classic classes? (MRO might change)
|
|
|
|
|
* properties and classic classes? (instance attrs shadow property)
|
|
|
|
|
|
|
|
|
|
- use __bool__ method if available and there's no __nonzero__
|
2006-08-24 21:29:43 -04:00
|
|
|
|
|
2006-07-06 02:14:29 -04:00
|
|
|
|
- Check the various bits of code in Demo/ and Tools/ all still work,
|
|
|
|
|
update or remove the ones that don't.
|
2006-07-06 00:33:23 -04:00
|
|
|
|
|
2006-07-06 02:14:29 -04:00
|
|
|
|
- All modules in Modules/ should be updated to be ssize_t clean.
|
2006-07-06 00:33:23 -04:00
|
|
|
|
|
2006-07-06 02:14:29 -04:00
|
|
|
|
- All of Python (including Modules/) should compile cleanly with g++
|
2006-07-06 00:33:23 -04:00
|
|
|
|
|
2006-07-06 02:14:29 -04:00
|
|
|
|
- Start removing deprecated features and generally moving towards Py3k
|
|
|
|
|
|
|
|
|
|
- Replace all old style tests (operate on import) with unittest or docttest
|
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
- Add tests for all untested modules
|
2006-07-06 02:14:29 -04:00
|
|
|
|
|
|
|
|
|
- Document undocumented modules/features
|
2006-07-06 00:33:23 -04:00
|
|
|
|
|
2007-01-17 13:31:50 -05:00
|
|
|
|
- bdist_deb in distutils package
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-February/060926.html
|
|
|
|
|
|
|
|
|
|
- bdist_egg in distutils package
|
|
|
|
|
|
|
|
|
|
- pure python pgen module
|
|
|
|
|
(Owner: Guido)
|
|
|
|
|
Deferral to 2.6:
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-April/064528.html
|
|
|
|
|
|
|
|
|
|
- Remove the fpectl module?
|
|
|
|
|
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
Deferred until 2.7
|
|
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Open issues
|
|
|
|
|
|
2006-07-06 00:33:23 -04:00
|
|
|
|
How should import warnings be handled?
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-June/066345.html
|
|
|
|
|
http://python.org/sf/1515609
|
|
|
|
|
http://python.org/sf/1515361
|
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
How should -m (__main__ in general) work with relative imports? [#pep366]_
|
2006-06-30 02:38:33 -04:00
|
|
|
|
|
|
|
|
|
|
2006-07-07 21:50:31 -04:00
|
|
|
|
References
|
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
.. [1] Adding a __dir__() magic method
|
|
|
|
|
http://mail.python.org/pipermail/python-dev/2006-July/067139.html
|
|
|
|
|
|
2007-05-25 02:40:53 -04:00
|
|
|
|
.. [#pep358] PEP 358 (The "bytes" Object)
|
|
|
|
|
http://www.python.org/dev/peps/pep-0358
|
|
|
|
|
|
2007-05-25 02:32:35 -04:00
|
|
|
|
.. [#pep366] PEP 366 (Main module explicit relative imports)
|
|
|
|
|
http://www.python.org/dev/peps/pep-0366
|
2006-07-07 21:50:31 -04:00
|
|
|
|
|
2007-05-25 02:40:53 -04:00
|
|
|
|
.. [#pep367] PEP 367 (New Super)
|
|
|
|
|
http://www.python.org/dev/peps/pep-0367
|
|
|
|
|
|
2008-03-01 13:36:30 -05:00
|
|
|
|
.. [#pep3000] PEP 3000 (Python 3000)
|
|
|
|
|
http://www.python.org/dev/peps/pep-3000
|
|
|
|
|
|
|
|
|
|
.. [#pep3100] PEP 3100 (Miscellaneous Python 3.0 Plans)
|
|
|
|
|
http://www.python.org/dev/peps/pep-3100
|
|
|
|
|
|
2007-05-25 02:40:53 -04:00
|
|
|
|
.. [#pep3112] PEP 3112 (Bytes literals in Python 3000)
|
|
|
|
|
http://www.python.org/dev/peps/pep-03112
|
|
|
|
|
|
|
|
|
|
.. [#pep3127] PEP 3127 (Integer Literal Support and Syntax)
|
|
|
|
|
http://www.python.org/dev/peps/pep-03127
|
|
|
|
|
|
2007-04-22 21:29:47 -04:00
|
|
|
|
|
2006-06-30 02:38:33 -04:00
|
|
|
|
Copyright
|
|
|
|
|
|
|
|
|
|
This document has been placed in the public domain.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: indented-text
|
|
|
|
|
indent-tabs-mode: nil
|
|
|
|
|
sentence-end-double-space: t
|
|
|
|
|
fill-column: 70
|
|
|
|
|
coding: utf-8
|
|
|
|
|
End:
|