Commit Graph

2183 Commits

Author SHA1 Message Date
Guido van Rossum 3040eb4a06 Final tweaks:
- fix the __str__, __unicode__ and __repr__ methods
- some textual tweaks
- add Python 3.0 to the transition plan
2005-10-31 19:22:43 +00:00
Neil Schemenauer 0fcf41f3cd Defer PEP 349. 2005-10-29 14:36:02 +00:00
Nick Coghlan 781dcd1b39 Update with outcome of recent python-dev discussions 2005-10-29 06:08:12 +00:00
Brett Cannon ad551cb280 Fix __init__ for BaseException to be completely backwards-compatible for
'args'.
2005-10-29 03:26:51 +00:00
Brett Cannon 1070997d4f Update the code for BaseException to have 'args' be more backwards-compatible.
Also reformat some methods to use the conditional operator to make the code
simpler.

Also moved the deprecation of 'args' and '__getitem__' to Python 2.9 so that it
won't be removed during the 2.x series.
2005-10-29 03:22:31 +00:00
Martin v. Löwis b7c609fd8d Reimport png from CVS. 2005-10-28 23:08:02 +00:00
Martin v. Löwis ee3e9d8e1e Remove bogus properties on png file. 2005-10-28 23:05:19 +00:00
Brett Cannon 1ac3ad11df Merge in suggestions from Neal Norwitz.
- Simplified __init__ and fixed __getitem__
- Added another way to catch all exceptions sans KeyboardInterrupt and
  SystemExit as Python stands now (does not invalidate argument that it it
  needlessly explicit)
- Added a diagram of how the exception hierarchy will look
- Small grammar and clarification fixes
2005-10-28 19:35:57 +00:00
Brett Cannon 9495215f04 Check in initial version of PEP 352: Required Superclass for Exceptions. 2005-10-28 02:53:49 +00:00
Martin v. Löwis aa5a0191b3 Correct svn+ssh URL. 2005-10-27 10:21:29 +00:00
Barry Warsaw 9c2d269ad4 PEP 351, the freeze protocol. 2005-10-23 22:39:17 +00:00
Nick Coghlan 28b01bed0e Revert PEP 343 to draft status until Guido is happy with the update 2005-10-17 09:15:06 +00:00
Nick Coghlan 2c1f437a28 Fix names broken by Kate editor in previous checkin 2005-10-16 12:21:08 +00:00
Nick Coghlan 1ddf93a58c Change name of PEP 343 to something less interesting but more obviously descriptive 2005-10-16 07:35:50 +00:00
Nick Coghlan a4e8e16f80 Update PEP 343 to reflect post-acceptance python-dev discussions 2005-10-16 07:30:17 +00:00
Guido van Rossum fe551846ee Disable the 'chmod' commands since these don't work since the move to dinsdale. 2005-10-14 15:22:30 +00:00
Guido van Rossum 4e02ab52f6 The root of the tree on dinsdale is /data, not /ftp. 2005-10-13 21:04:15 +00:00
Andrew M. Kuchling 97b822857f Use new www server hostname 2005-10-12 16:08:28 +00:00
Kurt B. Kaiser 0647663c8c Fix type and dead link 2005-10-10 17:37:48 +00:00
Guido van Rossum fee56e59bb Rename PEP 308 to "Conditional Expressions". 2005-09-30 14:42:36 +00:00
David Goodger 805a4dd6cb fixed typo; added whitespace 2005-09-30 13:41:34 +00:00
Raymond Hettinger 14e9b49d96 Record pronouncement on conditional expressions. 2005-09-30 01:51:58 +00:00
Andrew M. Kuchling f33c46e7ad Withdraw PEP 206; add Richard Jones as co-author of PEP314 2005-09-28 14:11:28 +00:00
Andrew M. Kuchling d6302d11d1 Withdraw PEP 206 2005-09-28 14:10:52 +00:00
Fred Drake 28f7fc98ce - update a couple of file paths that have changed
- add item to update release date for documentation (final releases
  only)
2005-09-28 04:21:36 +00:00
David Goodger d9383b4772 minor revision by the author 2005-09-26 23:38:14 +00:00
David Goodger 7eb98f7425 revision by the author 2005-09-26 19:56:53 +00:00
David Goodger 6581516fcf updated stylesheet for reST PEPs 2005-09-18 15:11:03 +00:00
David Goodger 43f0aa8d20 added PEP 350, "Codetags", by Micah Elliott 2005-09-18 15:10:08 +00:00
Brett Cannon 303740df18 Change reference for removing 'print' as a statement. Thanks Bill Janssen for
digging up the link.
2005-09-08 00:26:20 +00:00
Neal Norwitz 68db7179ae Fix typo 2005-09-03 05:48:39 +00:00
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