[Python-checkins] r64141 - peps/trunk/pep-0361.txt
georg.brandl
python-checkins at python.org
Wed Jun 11 20:48:00 CEST 2008
Author: georg.brandl
Date: Wed Jun 11 20:48:00 2008
New Revision: 64141
Log:
PEP 361 update.
Modified:
peps/trunk/pep-0361.txt
Modified: peps/trunk/pep-0361.txt
==============================================================================
--- peps/trunk/pep-0361.txt (original)
+++ peps/trunk/pep-0361.txt Wed Jun 11 20:48:00 2008
@@ -79,11 +79,13 @@
- 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 @@
- rgbimg
- macfs
- Python 3.0 compatability:
-
- - warnings were added for the following builtins
- which no longer exist in 3.0:
+ Warnings for features removed in Py3k:
- 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 @@
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 @@
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 @@
- 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)
More information about the Python-checkins
mailing list