2003-07-29 00:35:27 -04:00
|
|
|
PEP: 320
|
|
|
|
Title: Python 2.4 Release Schedule
|
|
|
|
Version: $Revision$
|
2006-03-23 15:13:19 -05:00
|
|
|
Last-Modified: $Date$
|
2007-06-27 20:12:08 -04:00
|
|
|
Author: Barry Warsaw, Raymond Hettinger, Anthony Baxter
|
2004-11-30 08:44:08 -05:00
|
|
|
Status: Final
|
2003-07-29 00:35:27 -04:00
|
|
|
Type: Informational
|
2017-02-02 12:58:49 -05:00
|
|
|
Content-Type: text/x-rst
|
2003-07-29 00:35:27 -04:00
|
|
|
Created: 29-Jul-2003
|
|
|
|
Python-Version: 2.4
|
2004-11-30 08:44:08 -05:00
|
|
|
Post-History: 1-Dec-2004
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
|
2003-07-29 00:35:27 -04:00
|
|
|
Abstract
|
2017-02-02 12:58:49 -05:00
|
|
|
========
|
|
|
|
|
|
|
|
This document describes the development and release schedule for
|
|
|
|
Python 2.4. 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.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
There will be at least two alpha releases, two beta releases, and
|
|
|
|
one release candidate. The release date was 30th November, 2004.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2004-03-21 17:11:15 -05:00
|
|
|
|
2003-07-29 00:35:27 -04:00
|
|
|
Release Manager
|
2017-02-02 12:58:49 -05:00
|
|
|
===============
|
|
|
|
|
|
|
|
Anthony Baxter
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
Martin von Lowis is building the Windows installers, Fred the
|
|
|
|
doc packages, Sean the RPMs.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2004-07-27 23:08:09 -04:00
|
|
|
|
|
|
|
Release Schedule
|
2017-02-02 12:58:49 -05:00
|
|
|
================
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- July 9: alpha 1 [completed]
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- August 5/6: alpha 2 [completed]
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Sept 3: alpha 3 [completed]
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- October 15: beta 1 [completed]
|
2004-10-27 07:53:05 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- November 3: beta 2 [completed]
|
2004-10-27 07:53:05 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- November 18: release candidate 1 [completed]
|
|
|
|
|
|
|
|
- November 30: final [completed]
|
2004-10-27 07:53:05 -04:00
|
|
|
|
2004-09-16 12:04:53 -04:00
|
|
|
|
2003-07-29 00:35:27 -04:00
|
|
|
Completed features for 2.4
|
2017-02-02 12:58:49 -05:00
|
|
|
==========================
|
|
|
|
|
|
|
|
- PEP 218 Builtin Set Objects.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 289 Generator expressions.
|
2004-05-19 17:18:55 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 292 Simpler String Substitutions to be implemented as a module.
|
2004-09-04 18:49:54 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 318: Function/method decorator syntax, using @syntax
|
2004-09-04 18:49:54 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 322 Reverse Iteration.
|
2004-09-04 18:49:54 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 327: A Decimal package for fixed precision arithmetic.
|
2003-12-07 19:40:21 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 328: Multi-line Imports
|
2004-07-01 08:42:30 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Encapsulate the decorate-sort-undecorate pattern in a keyword for
|
|
|
|
``list.sort()``.
|
2004-09-04 18:49:54 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Added a builtin called ``sorted()`` which may be used in expressions.
|
2003-12-07 19:40:21 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- The itertools module has two new functions, ``tee()`` and ``groupby()``.
|
2003-12-07 19:40:21 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Add a collections module with a ``deque()`` object.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Add two statistical/reduction functions, ``nlargest()`` and ``nsmallest()``
|
|
|
|
to the heapq module.
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Python's windows installer now uses MSI
|
2004-07-01 08:42:30 -04:00
|
|
|
|
2003-11-19 12:03:32 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
Deferred until 2.5
|
|
|
|
==================
|
2004-01-13 06:08:00 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Deprecate and/or remove the modules listed in PEP 4 (``posixfile``,
|
|
|
|
``gopherlib``, ``pre``, ``others``)
|
2004-01-16 10:58:37 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Remove support for platforms as described in PEP 11.
|
2004-01-16 10:58:37 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Finish implementing the Distutils ``bdist_dpkg`` command. (AMK)
|
2004-01-13 12:56:48 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Add support for reading shadow passwords [1]_
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- It would be nice if the built-in SSL socket type could be used
|
|
|
|
for non-blocking SSL I/O. Currently packages such as Twisted
|
|
|
|
which implement async servers using SSL have to require third-party
|
|
|
|
packages such as pyopenssl.
|
2004-07-27 23:08:09 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- AST-based compiler: this branch was not completed in time for
|
|
|
|
2.4, but will land on the trunk some time after 2.4 final is
|
|
|
|
out, for inclusion in 2.5.
|
|
|
|
|
|
|
|
- reST is going to be used a lot in Zope3. Maybe it could become
|
|
|
|
a standard library module? (Since reST's author thinks it's too
|
|
|
|
instable, I'm inclined not to do this.)
|
2004-03-21 17:11:15 -05:00
|
|
|
|
2003-07-29 00:35:27 -04:00
|
|
|
|
|
|
|
Ongoing tasks
|
2017-02-02 12:58:49 -05:00
|
|
|
=============
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
The following are ongoing TO-DO items which we should attempt to
|
|
|
|
work on without hoping for completion by any particular date.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Documentation: complete the distribution and installation
|
|
|
|
manuals.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Documentation: complete the documentation for new-style
|
|
|
|
classes.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Look over the Demos/ directory and update where required (Andrew
|
|
|
|
Kuchling has done a lot of this)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- New tests.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Fix doc bugs on SF.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Remove use of deprecated features in the core.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Document deprecated features appropriately.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Mark deprecated C APIs with ``Py_DEPRECATED``.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Deprecate modules which are unmaintained, or perhaps make a new
|
|
|
|
category for modules 'Unmaintained'
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- In general, lots of cleanup so it is easier to move forward.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
Open issues
|
2017-02-02 12:58:49 -05:00
|
|
|
===========
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
None at this time.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
Carryover features from Python 2.3
|
2017-02-02 12:58:49 -05:00
|
|
|
==================================
|
|
|
|
|
|
|
|
- The import lock could use some redesign. [2]_
|
|
|
|
|
|
|
|
- A nicer API to open text files, replacing the ugly (in some
|
|
|
|
people's eyes) "U" mode flag. There's a proposal out there to
|
|
|
|
have a new built-in type textfile(filename, mode, encoding).
|
|
|
|
(Shouldn't it have a bufsize argument too?)
|
|
|
|
|
|
|
|
- New widgets for Tkinter???
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
Has anyone gotten the time for this? *Are* there any new
|
|
|
|
widgets in Tk 8.4? Note that we've got better Tix support
|
|
|
|
already (though not on Windows yet).
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 304 (Controlling Generation of Bytecode Files by Montanaro)
|
|
|
|
seems to have lost steam.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- For a class defined inside another class, the ``__name__`` should be
|
|
|
|
"outer.inner", and pickling should work. ([3]_. I'm no
|
|
|
|
longer certain this is easy or even right.)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Decide on a clearer deprecation policy (especially for modules)
|
|
|
|
and act on it. For a start, see this message from Neal Norwitz [4]_.
|
|
|
|
There seems insufficient interest in moving this further in an
|
|
|
|
organized fashion, and it's not particularly important.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Provide alternatives for common uses of the types module;
|
|
|
|
Skip Montanaro has posted a proto-PEP for this idea [5]_.
|
|
|
|
There hasn't been any progress on this, AFAICT.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Use pending deprecation for the types and string modules. This
|
|
|
|
requires providing alternatives for the parts that aren't
|
|
|
|
covered yet (e.g. ``string.whitespace`` and ``types.TracebackType``).
|
|
|
|
It seems we can't get consensus on this.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 262 Database of Installed Python Packages (Kuchling)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
This turns out to be useful for Jack Jansen's Python installer,
|
|
|
|
so the database is worth implementing. Code will go in
|
|
|
|
sandbox/pep262.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 269 Pgen Module for Python (Riehl)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
(Some necessary changes are in; the pgen module itself needs to
|
|
|
|
mature more.)
|
2004-01-13 12:56:48 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 266 Optimizing Global Variable/Attribute Access (Montanaro)
|
2004-01-13 12:56:48 -05:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
PEP 267 Optimized Access to Module Namespaces (Hylton)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
PEP 280 Optimizing access to globals (van Rossum)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
These are basically three friendly competing proposals. Jeremy
|
|
|
|
has made a little progress with a new compiler, but it's going
|
|
|
|
slowly and the compiler is only the first step. Maybe we'll be
|
|
|
|
able to refactor the compiler in this release. I'm tempted to
|
|
|
|
say we won't hold our breath.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Lazily tracking tuples? [6]_ [7]_
|
|
|
|
Not much enthusiasm I believe.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- PEP 286 Enhanced Argument Tuples (von Loewis)
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
I haven't had the time to review this thoroughly. It seems a
|
|
|
|
deep optimization hack (also makes better correctness guarantees
|
|
|
|
though).
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
- Make '``as``' a keyword. It has been a pseudo-keyword long enough.
|
|
|
|
Too much effort to bother.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
|
|
|
|
References
|
|
|
|
==========
|
|
|
|
|
|
|
|
.. [1] Shadow Password Support Module
|
|
|
|
https://bugs.python.org/issue579435
|
|
|
|
|
|
|
|
.. [2] PyErr_Warn may cause import deadlock
|
|
|
|
https://bugs.python.org/issue683658
|
|
|
|
|
|
|
|
.. [3] Nested class __name__
|
|
|
|
https://bugs.python.org/issue633930
|
|
|
|
|
|
|
|
.. [4] Neal Norwitz, random vs whrandom
|
|
|
|
https://mail.python.org/pipermail/python-dev/2002-April/023165.html
|
|
|
|
|
|
|
|
.. [5] Skip Montanaro, python/dist/src/Lib types.py,1.26,1.27
|
|
|
|
https://mail.python.org/pipermail/python-dev/2002-May/024346.html
|
|
|
|
|
|
|
|
.. [6] Daniel Dunbar, Lazily GC tracking tuples
|
|
|
|
https://mail.python.org/pipermail/python-dev/2002-May/023926.html
|
|
|
|
|
|
|
|
.. [7] GC: untrack simple objects
|
|
|
|
https://bugs.python.org/issue558745
|
2003-07-29 00:35:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
Copyright
|
2017-02-02 12:58:49 -05:00
|
|
|
=========
|
|
|
|
|
|
|
|
This document has been placed in the public domain.
|
2003-07-29 00:35:27 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2017-02-02 12:58:49 -05:00
|
|
|
..
|
|
|
|
Local Variables:
|
|
|
|
mode: indented-text
|
|
|
|
indent-tabs-mode: nil
|
|
|
|
End:
|