[Python-checkins] r54923 - peps/trunk/pep-0361.txt
neal.norwitz
python-checkins at python.org
Mon Apr 23 03:29:51 CEST 2007
Author: neal.norwitz
Date: Mon Apr 23 03:29:47 2007
New Revision: 54923
Modified:
peps/trunk/pep-0361.txt
Log:
Various status updates
Modified: peps/trunk/pep-0361.txt
==============================================================================
--- peps/trunk/pep-0361.txt (original)
+++ peps/trunk/pep-0361.txt Mon Apr 23 03:29:47 2007
@@ -51,16 +51,22 @@
PEPs:
- None
+ 352: Raising a string exception now triggers a TypeError.
+ Attempting to catch a string exception raises DeprecationWarning.
New modules in the standard library:
None
- Other major features:
+ Python 3.0 compatability:
None
+ Other major features:
+
+ - with/as will be keywords
+ - a __dir__() special method to control dir() was added [1]
+
Possible features for 2.6
@@ -70,7 +76,6 @@
The following PEPs are being worked on for possible inclusion in 2.6:
- - PEP 275: Switching on Multiple Values
- PEP 297: Support for System Upgrades
Each non-trivial feature listed here that is not a PEP must be
@@ -78,7 +83,6 @@
- distutils replacement (requires a PEP)
- turtle.py replacement or enhancements
- - adding a __dir__() magic method to control dir() [1]
New modules in the standard library:
@@ -86,6 +90,8 @@
http://python.org/sf/1505257
(Owner: MAL)
+ - JSON implementation
+
- setuptools
BDFL pronouncement for inclusion in 2.5:
http://mail.python.org/pipermail/python-dev/2006-April/063964.html
@@ -116,16 +122,14 @@
* file.xreadlines
* function attributes that start with func_* (should use __*__)
* softspace removal for print() function
- * the L prefix for long literals
- * removal of the sets module
+ * the L suffix for long literals
+ * removal of the sets and exceptions module
* renaming of __nonzero__ to __bool__
* multiple inheritance with classic classes? (MRO might change)
* properties and classic classes? (instance attrs shadow property)
- use __bool__ method if available and there's no __nonzero__
- - with/as will be keywords
-
- Check the various bits of code in Demo/ and Tools/ all still work,
update or remove the ones that don't.
@@ -153,7 +157,6 @@
- Remove the fpectl module?
- - Make everything in Modules/ build cleanly with g++
Deferred until 2.7
@@ -177,6 +180,7 @@
[1] Adding a __dir__() magic method
http://mail.python.org/pipermail/python-dev/2006-July/067139.html
+
Copyright
This document has been placed in the public domain.
More information about the Python-checkins
mailing list