This document describes the development and release schedule forPython 2.3. The schedule primarily concerns itself with PEP-sizeditems. Small features may be added up to and including the firstbeta release. Bugs may be fixed until the final release.
There will be at least two alpha releases, two beta releases, andone release candidate. Alpha and beta releases will be spaced atleast 4 weeks apart (except if an emergency release must be madeto correct a blunder in the previous release; then the blunderrelease does not count). Release candidates will be spaced atleast one week apart (excepting again blunder corrections).
| alpha 1 | 31 Dec 2002 |
| alpha 2 | 19 Feb 2003 |
| beta 1 | 25 Apr 2003 |
| beta 2 | 29 Jun 2003 |
| candidate 1 | 18 Jul 2003 |
| candidate 2 | 24 Jul 2003 |
| final | 29 Jul 2003 |
Barry Warsaw, Jeremy Hylton, Tim Peters
This list is not complete. SeeDoc/whatsnew/whatsnew23.tex in CVSfor more, and of courseMisc/NEWS for the full list.
bool type and its constants,True andFalse (PEP 285).PyMalloc was greatly enhanced and is enabled by default.Implemented (at least phase 1, which is all that’s planned for2.3).
tp_iter and other tweaks.Seehttps://bugs.python.org/issue560736; also done forxrange andtuples.int/long integration (PEP 237). This meansissuing aFutureWarning about situations wherehex oroctconversions or left shifts returns a different value for anintthan for along with the same value. The semantics donotchange in Python 2.3; that will happen in Python 2.4.SET_LINENO from all code objects (providing a different wayto set debugger breakpoints). This can boostpystone by >5%.https://bugs.python.org/issue587993, now checked in. (Unfortunatelythepystone boost didn’t happen. What happened?)pymemcompat.h that people can bundle with theirextensions and then use the 2.3 memory interface with allPythons in the range 1.5.2 to 2.3. (Michael Hudson checked inMisc/pymemcompat.h.)PendingDeprecationWarning. This warning is normallysuppressed, but can be enabled by a suitable-W option. Only afew things use this at this time.tp_compare returns anything except-1, 0 or 1.https://bugs.python.org/issue472523None (in various forms).Alex Martelli contributed a new version of Greg Wilson’sprototype, and I’ve reworked that quite a bit. It’s in thestandard library now as the modulesets, although some detailsmay still change until the first beta release. (There are noplans to make this a built-in type, for now.)
Fully implemented. Error handling inunicode.encode orstr.decode can now be customized.
Vinay Sajip’s implementation has been packagized and imported.(Documentation and unit tests still pending.)https://bugs.python.org/issue578494
optparse. See alsohttp://www.python.org/sigs/getopt-sig/datetime type. This started as a wiki:http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage. Aprototype was coded innondist/sandbox/datetime/. Tim Petershas finished the C implementation and checked it in.Implemented as a part of thePEP 302 implementation work.
Implemented (though the 2.3a1 release contained some bugs thathave been fixed post-release).
itertools module is in.PyArg_Parse*() format codes, ‘k’ returns an unsigned Clong int that receives the lowerLONG_BIT bits of the Pythonargument, truncating without range checking. ‘K’ returns anunsigned C long long int that receives the lowerLONG_LONG_BITbits, truncating without range checking. (SF 595026; ThomasHeller did this work.)idlelibpackage in the standard library and theidle script is installedbysetup.py.Too late for anything more to get done here.
The following are ongoing TO-DO items which we should attempt towork on without hoping for completion by any particular date.
Demos/ directory and update where required (AndrewKuchling has done a lot of this)Py_DEPRECATED.There are some issues that may need more work and/or thoughtbefore the final release (and preferably before the first betarelease): No issues remaining.
I expect it’s good enough to stop polishing it until we’ve hadmore widespread user experience.
textfile(filename,mode,encoding).(Shouldn’t it have abufsize argument too?)Ditto.
Has anyone gotten the time for this?Are there any newwidgets in Tk 8.4? Note that we’ve got better Tix supportalready (though not on Windows yet).
http://effbot.org/ideas/time-type.htm
I believe this is dead now.
__name__ should be"outer.inner", and pickling should work. (SF 633930. I’m nolonger certain this is easy or even right.)types module;Skip Montanaro has posted a proto-PEP for this idea:https://mail.python.org/pipermail/python-dev/2002-May/024346.html
There hasn’t been any progress on this, AFAICT.
types andstring modules. Thisrequires providing alternatives for the parts that aren’tcovered yet (e.g.string.whitespace andtypes.TracebackType).It seems we can’t get consensus on this.buffer object.It seems that this is never going to be resolved.
(Some necessary changes are in; thepgen module itself needs tomature more.)
PEP 267 Optimized Access to Module Namespaces, Hylton
PEP 280 Optimizing access to globals, van Rossum
These are basically three friendly competing proposals. Jeremyhas made a little progress with a new compiler, but it’s goingslow and the compiler is only the first step. Maybe we’ll beable to refactor the compiler in this release. I’m tempted tosay we won’t hold our breath. In the meantime, Oren Tirosh hasa much simpler idea that may give a serious boost to theperformance of accessing globals and built-ins, by optimizingand inlining the dict access:http://tothink.com/python/fastnames/
Not much enthusiasm I believe.
I haven’t had the time to review this thoroughly. It seems adeep optimization hack (also makes better correctness guaranteesthough).
This document has been placed in the public domain.
Source:https://github.com/python/peps/blob/main/peps/pep-0283.rst
Last modified:2025-02-01 08:59:27 GMT