PEP 361 update.

This commit is contained in:
Georg Brandl 2008-06-11 18:48:00 +00:00
parent f5bd80a3ab
commit 15518339db
1 changed files with 19 additions and 24 deletions

View File

@ -79,11 +79,13 @@ Completed features for 2.6
- 370: Per user site-packages directory [#pep370]
- 3112: Bytes literals in Python 3000 [#pep3112]
- 3127: Integer Literal Support and Syntax [#pep3127]
- 371: Addition of the multiprocessing package [#pep371]
New modules in the standard library:
- json
- new enhanced turtle module
- ast
Deprecated modules and functions in the standard library:
@ -105,20 +107,26 @@ Completed features for 2.6
- rgbimg
- macfs
Python 3.0 compatability:
Warnings for features removed in Py3k:
- warnings were added for the following builtins
which no longer exist in 3.0:
apply, callable, coerce, dict.has_key, execfile, reduce, reload
- builtins: apply, callable, coerce, dict.has_key, execfile,
reduce, reload
- backticks and <>
- float args to xrange
- coerce and all its friends
- comparing by default comparison
- {}.has_key()
- file.xreadlines
- softspace removal for print() function
- removal of modules because of PEP 4/3100/3108
Other major features:
- with/as will be keywords
- a __dir__() special method to control dir() was added [1]
- AtheOS support stopped.
- warnings module implemented in C
- compile() takes an AST and can convert to byte code
- with/as will be keywords
- a __dir__() special method to control dir() was added [1]
- AtheOS support stopped.
- warnings module implemented in C
- compile() takes an AST and can convert to byte code
Possible features for 2.6
@ -127,9 +135,7 @@ Possible features for 2.6
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 inclusion in 2.6:
- PEP 371: Addition of the multiprocessing package [#pep371]
The following PEPs are being worked on for inclusion in 2.6: None.
Each non-trivial feature listed here that is not a PEP must be
discussed on python-dev. Other enhancements include:
@ -148,9 +154,6 @@ Possible features for 2.6
PJE's withdrawal from 2.5 for inclusion in 2.6:
http://mail.python.org/pipermail/python-dev/2006-April/064145.html
- ast
http://mail.python.org/pipermail/python-dev/2008-April/078950.html
Modules to gain a DeprecationWarning (as specified for Python 2.6
or through negligence):
@ -163,24 +166,16 @@ Possible features for 2.6
- Convert Parser/*.c to use the C warnings module rather than printf
- 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
* comparing by default comparison
* __cmp__?
* other comparison changes?
* int division?
* {}.has_key()
* All PendingDeprecationWarnings (e.g. exceptions)
* using zip() result as a list
* the exec statement (use function syntax)
* file.xreadlines
* function attributes that start with func_* (should use __*__)
* softspace removal for print() function
* the L suffix for long literals
* removal of modules because of PEP 4/3100/3108
* renaming of __nonzero__ to __bool__
* multiple inheritance with classic classes? (MRO might change)
* properties and classic classes? (instance attrs shadow property)