Update the PEP on what has been implemented so far.
This commit is contained in:
parent
59f9efb364
commit
2d37f3b888
17
pep-0352.txt
17
pep-0352.txt
|
@ -221,19 +221,20 @@ desired.
|
||||||
|
|
||||||
* Python 2.5 [done]
|
* Python 2.5 [done]
|
||||||
|
|
||||||
- all standard exceptions become new-style classes
|
- all standard exceptions become new-style classes [done]
|
||||||
|
|
||||||
- introduce BaseException
|
- introduce BaseException [done]
|
||||||
|
|
||||||
- Exception, KeyboardInterrupt, and SystemExit inherit from BaseException
|
- Exception, KeyboardInterrupt, and SystemExit inherit from
|
||||||
|
BaseException [done]
|
||||||
|
|
||||||
- deprecate raising string exceptions
|
- deprecate raising string exceptions [done]
|
||||||
|
|
||||||
* Python 2.6
|
* Python 2.6 [done]
|
||||||
|
|
||||||
- deprecate catching string exceptions [done]
|
- deprecate catching string exceptions [done]
|
||||||
|
|
||||||
- deprecate ``message`` attribute (see `Retracted Ideas`_)
|
- deprecate ``message`` attribute (see `Retracted Ideas`_) [done]
|
||||||
|
|
||||||
* Python 2.7
|
* Python 2.7
|
||||||
|
|
||||||
|
@ -249,7 +250,7 @@ desired.
|
||||||
|
|
||||||
- deprecate ``__getitem__`` (optional)
|
- deprecate ``__getitem__`` (optional)
|
||||||
|
|
||||||
* Python 3.0
|
* Python 3.0 [done]
|
||||||
|
|
||||||
- drop everything that was deprecated above:
|
- drop everything that was deprecated above:
|
||||||
|
|
||||||
|
@ -257,7 +258,7 @@ desired.
|
||||||
|
|
||||||
+ all exceptions must inherit from BaseException [done]
|
+ all exceptions must inherit from BaseException [done]
|
||||||
|
|
||||||
+ drop ``__getitem__``, ``message``
|
+ drop ``__getitem__``, ``message`` [done]
|
||||||
|
|
||||||
|
|
||||||
Retracted Ideas
|
Retracted Ideas
|
||||||
|
|
Loading…
Reference in New Issue