Commit Graph

1947 Commits

Author SHA1 Message Date
David Goodger 7b245bb06d fixed raise syntax examples; closing http://python.org/sf/1264666 2005-08-20 13:48:50 +00:00
Martin v. Löwis 9f088f3ce9 Remove remaining mentioning of basic auth. 2005-08-16 18:17:00 +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
David Goodger e78fb66230 Process PEPs may also be Active 2005-08-13 18:01:01 +00:00
David Goodger 0af7db79f3 changed PEP 6 type to Process 2005-08-13 12:37:53 +00:00
David Goodger 76f3dc59ad changed PEP type 2005-08-13 01:47:28 +00:00
David Goodger 1d255cd68b fixed idiom 2005-08-13 01:42:17 +00:00
David Goodger 208bcabbf5 PEP workflow diagram 2005-08-13 01:37:51 +00:00
David Goodger 7435767028 added new Process PEP type 2005-08-13 01:37:32 +00:00
Martin v. Löwis df670b9e4e Remove Nick Bastin's offer; this was a misinterpretation of his message. 2005-08-12 23:15:14 +00:00
Martin v. Löwis 00802be67c Add wush.net hosting. 2005-08-12 23:14:06 +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
David Goodger b1df94ccbc addition for readability 2005-08-09 01:17:05 +00:00
Martin v. Löwis d41da01c32 Change authentication method to svn+ssh. 2005-08-08 07:18:17 +00:00
Barry Warsaw c0b589e388 Fixed some minor typos. 2005-08-08 04:03:40 +00:00
David Goodger 6ad96d6b3d added missing "us"; whitespace 2005-08-07 16:11:59 +00:00
Martin v. Löwis c48101e866 Fix remaining reference to distutils svn; rename URL to /projects. 2005-08-07 14:28:59 +00:00
Martin v. Löwis 0c02be7796 Fix revision tag. 2005-08-07 14:23:31 +00:00
Martin v. Löwis 5d09843254 - add more rationale for using svn.
- add discussion section.
- change procedure to create a single repository, add conversion script.
- require python-cvsroot to be preserved forever.
2005-08-07 14:17:43 +00:00
Andrew M. Kuchling ac8c835cce Record BDFL opinion on exception-raising style 2005-08-07 13:27:54 +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
Brett Cannon 9c2cb031b8 Mention plan to remove ``raise Exception, "message"`` style of raising
exceptions.
2005-08-06 23:13:59 +00:00
Neil Schemenauer c09c6c6a95 Mention %s change in abstract. Fix bug in code (found by Osvaldo Santana
Neto).
2005-08-06 04:05:48 +00:00
Martin v. Löwis ab9dab3ac4 Add copyright. 2005-08-05 07:26:32 +00:00
David Goodger d9cf904adf editing pass 2005-08-05 05:31:44 +00:00
Neil Schemenauer 6e7fba0b67 Add PEP 349. 2005-08-05 02:59:00 +00:00
David Goodger a46118def9 changed PEP 347's type to reflect the PEP itself 2005-08-05 00:18:51 +00:00
David Goodger 504349a1e4 light editing pass 2005-08-05 00:16:49 +00:00
David Goodger 9dbc639443 added PEP 347 2005-08-04 23:55:01 +00:00
Martin v. Löwis fac65d2d73 Add PEP 347. 2005-08-04 18:42:26 +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 0845f3255e Add PEP 348. 2005-08-04 03:35:19 +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
Guido van Rossum cc0bfb59f2 Rename class ContextManager to ContextWrapper, per Nick's proposal. 2005-07-12 16:28:56 +00:00
Guido van Rossum f2d367de26 Rename @with_template and class Wrapper to @contextmanager and class
ContextManager.  Mark open issues as resolved.
2005-07-12 16:27:53 +00:00
Raymond Hettinger 050ac22ecc Update status to match pronouncement. 2005-07-04 06:40:53 +00:00
Raymond Hettinger 46a1c9ceb8 Add comments to 323. 2005-06-28 08:46:39 +00:00
Raymond Hettinger 5af10082b7 Reject 310 and 319 in favor of 343. 2005-06-28 08:31:09 +00:00
Raymond Hettinger f04f650bc4 Reject 325 in favor of 342. 2005-06-28 08:20:44 +00:00
Raymond Hettinger 38a8f281bf Closing PEP 330 -- Bytecode Verification. If someone wants to write and
test some code, no PEP is required.
2005-06-28 08:14:46 +00:00
Raymond Hettinger 9339663076 Reject 294's proposed updates to the "types" and "new" modules.
Instead, missing type names can be added to __builtin__ or sys.
2005-06-28 08:00:12 +00:00
Raymond Hettinger 95fd996744 Mark 342 and 343 as accepted. Mark 254 as abandoned. 2005-06-28 07:39:09 +00:00
Andrew M. Kuchling e761d70b6f Take over PEP 206, renaming it to 'Python Advanced Library' 2005-06-27 20:31:59 +00:00
Raymond Hettinger 780ec3787e Update the list of exceptional conditions to match version 1.45 of the
spec and to match the actual Python implementation of the decimal module.
2005-06-27 19:50:05 +00:00
Phillip J. Eby 568ac9197c Oops, fix more typos. Guess I'm still short on sleep. :) 2005-06-26 16:51:37 +00:00
Phillip J. Eby e149a9dcbc PEP 342: Add more examples based on ideas stolen from an early version of
PEP 288.  Also add some more explanation of the 'throw()' name, also stolen
from PEP 288.  :)
2005-06-26 16:29:14 +00:00
Phillip J. Eby c97e46d034 PEP 342: Fix misc. typos and grammar abuses I committed while short of
sleep.  :)
2005-06-26 15:20:53 +00:00