[Python-checkins] r55572 - peps/trunk/pep-0361.txt
neal.norwitz
python-checkins at python.org
Fri May 25 08:32:38 CEST 2007
Author: neal.norwitz
Date: Fri May 25 08:32:35 2007
New Revision: 55572
Modified:
peps/trunk/pep-0361.txt
Log:
Update status of some items (mostly deprecated modules)
Modified: peps/trunk/pep-0361.txt
==============================================================================
--- peps/trunk/pep-0361.txt (original)
+++ peps/trunk/pep-0361.txt Fri May 25 08:32:35 2007
@@ -61,9 +61,11 @@
Deprecated modules and functions in the standard library:
- - sets
+ - commands.getstatus()
- macostools.touched()
+ - popen2, os.popen[234]()
- posixfile
+ - sets
Modules removed from the standard library:
@@ -73,7 +75,10 @@
Python 3.0 compatability:
- None
+ - warnings were added for the following builtins
+ which no longer exist in 3.0:
+
+ apply, callable, coerce, dict.has_key, execfile, reduce, reload
Other major features:
@@ -112,7 +117,7 @@
PJE's withdrawal from 2.5 for inclusion in 2.6:
http://mail.python.org/pipermail/python-dev/2006-April/064145.html
- Module to gain a DeprecationWarning (as specified for Python 2.6
+ Modules to gain a DeprecationWarning (as specified for Python 2.6
or through negligence):
- rfc822
@@ -124,6 +129,7 @@
- sha
- buildtools
- cfmfile
+ - compiler package
- warnings module implemented in C
* Convert Parser/*.c to use warnings module rather than printf
@@ -141,9 +147,6 @@
* {}.has_key()
* All PendingDeprecationWarnings (e.g. exceptions)
* using zip() result as a list
- * input()
- * apply()
- * reduce()
* the exec statement (use function syntax)
* file.xreadlines
* function attributes that start with func_* (should use __*__)
@@ -167,7 +170,7 @@
- Replace all old style tests (operate on import) with unittest or docttest
- - All tests for all untested modules
+ - Add tests for all untested modules
- Document undocumented modules/features
@@ -196,15 +199,16 @@
http://python.org/sf/1515609
http://python.org/sf/1515361
- How should -m (and __main__ in general) work with relative imports?
- http://mail.python.org/pipermail/python-dev/2006-June/066161.html
- (also see the section on main modules in PEP 338)
+ How should -m (__main__ in general) work with relative imports? [#pep366]_
References
- [1] Adding a __dir__() magic method
- http://mail.python.org/pipermail/python-dev/2006-July/067139.html
+.. [1] Adding a __dir__() magic method
+ http://mail.python.org/pipermail/python-dev/2006-July/067139.html
+
+.. [#pep366] PEP 366 (Main module explicit relative imports)
+ http://www.python.org/dev/peps/pep-0366
Copyright
More information about the Python-checkins
mailing list