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