Commit Graph

2002 Commits

Author SHA1 Message Date
Brett Cannon 5126f6dbf7 Create new "Atomic Types" section and add mention of removal of basestring.find
and friends.
2005-08-27 18:27:33 +00:00
Brett Cannon cb0f99bfd6 PEP 348 has been rejected. 2005-08-26 06:01:04 +00:00
Neil Schemenauer fb89a4ee52 New version of PEP 349. Propose that str() be changed rather than
adding a new built-in function.
2005-08-22 21:12:08 +00:00
Martin v. Löwis 35b61a7c94 Update wush.net details. 2005-08-21 13:26:34 +00:00
Martin v. Löwis 8a95a95d9c Elaborate on admin access. 2005-08-21 13:03:15 +00:00
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