Commit Graph

1784 Commits

Author SHA1 Message Date
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
Guido van Rossum 197f9dcbbc Correct title (again!) and authorship of PEP 342. 2005-06-26 14:10:44 +00:00
Phillip J. Eby 5b3f4e8ce0 PEP 343: Remove functionality now covered under PEP 342. 2005-06-26 02:21:21 +00:00
Phillip J. Eby f00c8f7acb PEP 342: Update and assume co-authorship, as directed by Guido in private
email, merging the implemented features from PEP 343 and dropping most of
the PEP 340 holdover features such as __next__, the next() builtin, and
'continue EXPR'.  Also, added more motivation and examples, giving lots
of credit to PEPs 288 and 325, where most of these ideas were first thought
of and initially fleshed out.
2005-06-26 02:18:40 +00:00
Skip Montanaro 18369d92bd update post history 2005-06-22 22:56:06 +00:00
David Goodger 31c9dec03f corrected classification 2005-06-20 02:27:22 +00:00
Raymond Hettinger 016561c4b8 Miscellaneous updates to PEP 42
* Builtin that determines an object's size in bytes.  This is much more
  intractable than it would seem.  Allocating a single object may result
  in a large block being requested from the O/S and never being returned
  until shutdown.

* Test suite.  This was a useless entry and more applicable before huge
  efforts were expended to improve testing coverage.

* Four-space tabs.  This was fixed-up a long time ago.  Since then,
  a whitespace czar routinely comes along correct subsequent transgressions.

* Generalized eval.  This was done for Py2.4.

* Generalizing builtins to accept UserDict, UserList, sequences etc.
  This is somewhat out-of-date with the introduction of subclassable
  builtin types and the iterator interface.
2005-06-19 07:37:03 +00:00
Raymond Hettinger 24b35925c9 Reject pep-0284.txt. 2005-06-18 20:36:28 +00:00
Skip Montanaro e01d3a7faa Minor tweakage. Been sitting in my sandbox for awhile. 2005-06-18 13:04:03 +00:00
Raymond Hettinger f673294b55 Pick-up responsibility for PEP 315 (per agreement with Isaac Carroll).
Correct the semantics for continue statements found in the do suite.
The previous semantics did not match that for do-while statements in
other languages.
2005-06-18 06:21:36 +00:00
Raymond Hettinger b8b57cff0e Mark PEP 312 as Deferred -- it needs a more Pythonic syntax) 2005-06-17 22:19:41 +00:00
Raymond Hettinger 461d444be3 Optional arguments for throw() to match raise syntax 2005-06-17 21:58:59 +00:00
Raymond Hettinger 22cb64a602 Fix quotation. 2005-06-17 21:39:18 +00:00
Raymond Hettinger d30cc3dc35 Mark PEPs 239 and 240 as rejected. 2005-06-17 21:38:02 +00:00