Commit Graph

13 Commits

Author SHA1 Message Date
Ezio Melotti 2f1243735e Fix typo. 2012-10-06 07:52:39 +03:00
Georg Brandl 08ea236bbb Update not-so-old PEP URL. 2009-01-18 09:50:42 +00:00
Georg Brandl d456d20d07 Update doc URLs in PEPs. 2008-10-02 12:40:49 +00:00
Brett Cannon cb0f99bfd6 PEP 348 has been rejected. 2005-08-26 06:01:04 +00:00
Brett Cannon 94c0ae0d20 Revised based on Guido's wishes: no more TerminatingException and bare 'except'
clauses act like ``except Exception``.

Transition plan completely reworked to basically not go through hoops that will
negatively impact performance.  Basically now BaseException is added and
everything else is not changed until Python 3.0 .  Also suggests docs be
changed to suggest a certain practice.
2005-08-16 06:21:51 +00:00
Brett Cannon 239f9ff186 Big changes:
- Remove proposal of removing WindowsError
- Change bare 'except' proposal to recommend their removal

Minor changes:

- Flesh out arguments for TerminatingException
- Reorganize discussion of hierarchy difference compared to 2.4
- Strip out unneeded Rejected Idea sections based on other discussions in the
  PEP
2005-08-15 04:28:28 +00:00
Brett Cannon d48c263a9d Scale back proposal even more: VMError and AnyDeprecationWarning have been
removed along with EOFError no longer inheriting from IOError.
TerminalException was renamed TerminatingException.

At this point the only changes to the exception hierarchy are the addition of
BaseException and TerminatingException, and the change of inheritance for
KeyboardInterrupt, SystemExit, and NotImplementedError.
2005-08-09 04:26:28 +00:00
Guido van Rossum f0e8e2b2e1 Fix docutils warning/2. 2005-08-09 02:46:12 +00:00
Brett Cannon cbbce90c40 Essentially version 3 of this PEP.
All renamings have been removed.  All new exceptions that were not superclasses
have been removed.  CriticalException has been renamed TerminalException.
SystemError and MemoryError have been moved back under Exception, but while
inheriting from the new exception VMError.  ControlFlowException has been
removed and its subclasses now directly inherit Exception.

Also includes reformatting of the references and some editorial changes as
suggested by David Goodger.
2005-08-07 04:14:04 +00:00
David Goodger d9cf904adf editing pass 2005-08-05 05:31:44 +00:00
Brett Cannon 3ad5689ae8 Change note on StopIteration and SystemExit on how they now have stricter
inheritance thanks to no longer inheriting from Exception.
2005-08-04 03:41:38 +00:00
Brett Cannon 36271756e4 Finish moving to BaseException/Exception naming. Also leave in StandardError
so as to provide a base Error exception that inherits from Exception.  Also
allows Warning to inherit from Exception without being put at the same level as
any *Error exceptions.
2005-08-04 03:33:03 +00:00
Brett Cannon 322b187c06 Initial checkin; essentially rev. 3; previous 2 sent to python-dev in July and
August 2005, respectively.
2005-08-04 03:18:57 +00:00