Commit Graph

1914 Commits

Author SHA1 Message Date
Guido van Rossum b63ff845a3 Add a section of loose ends. 2005-04-29 18:51:03 +00:00
Guido van Rossum 885ebd643c Mention else-clauses; the else-clause on the translation of the
for-loop was broken, and the break-statement probabyl shouldn't have
one.
2005-04-29 17:13:08 +00:00
Skip Montanaro 5ae9e6d5e8 typos 2005-04-29 15:23:34 +00:00
Skip Montanaro 9dc201b9e4 typo 2005-04-29 14:44:31 +00:00
Guido van Rossum 959fdd2fdb Add motivation (supplied by Shane Hathaway).
Explain what happens when a block contains a yield.

Add comparison to thunks.

Add examples.
2005-04-29 05:12:38 +00:00
Brett Cannon 81ccba3725 Add mention of exceptions getting a traceback attribute. 2005-04-28 20:04:32 +00:00
Brett Cannon 3543af0fb0 Fill out some references for existing points. 2005-04-28 18:57:40 +00:00
Guido van Rossum c1ee09db09 Advanced warning that another rewrite of the exception handling
mechanics is pending.
2005-04-27 23:10:42 +00:00
Guido van Rossum c3ff8b06c7 Settled on an extra argument to __next__() and next() to distinguish
between values and exceptions.
2005-04-27 22:41:48 +00:00
Guido van Rossum e18916a7b6 In the original translation for block-statement, reset ret = False
each time before executing BLOCK1.  (Thanks to Duncan Booth.)
2005-04-27 21:54:27 +00:00
Guido van Rossum a5e037cd4c Add an alternative __next__() API to pass arbitrary exceptions in. I
like this better.
2005-04-27 21:12:49 +00:00
Guido van Rossum 999cd28594 Fix a bug in the translation of a classic 'for' loop. 2005-04-27 17:41:44 +00:00
Guido van Rossum 9e0ea62fc8 Fix the logic for deciding whether to return, raise or break; renaming
'exc' to 'val'.

Add public domain copyright notice.
2005-04-27 16:50:53 +00:00
Guido van Rossum 447c9b95ec Add PEP 340. 2005-04-27 07:26:55 +00:00
Guido van Rossum 81f1868248 Initial draft. 2005-04-27 07:21:38 +00:00
Michael W. Hudson 8e190c714a Fix typo Guido just rubbed my eyes into on python-dev. 2005-04-22 08:52:49 +00:00
Andrew M. Kuchling 9971768eac Bump Python version 2005-04-09 22:57:29 +00:00
Andrew M. Kuchling e769029165 After some discussion at the distutils sprint at PyCon 2005, it seems that
no one really wants to make a new standalone release of Distutils.
Given that, there's no reason for Distutils code to preserve backward
compatibility, so I am removing the requirement for 2.1 compatibility.

(Jython doesn't use Distutils.  Samuele Pedroni observes that if
Jython does use it someday, that version of Jython will likely support
2.2/2.3 features.  So Jython isn't a reason to keep 2.1
compatibility.)
2005-03-20 20:47:01 +00:00
David Goodger 241ebfde07 updated PEP 301 status; added encoding to Emacs stanza 2005-03-20 18:30:12 +00:00
Fred Drake 4d46d0fe05 fix spelling of pyexpat's name 2005-03-20 15:59:04 +00:00
Fred Drake be126307e0 add a way to spell that a specific version of an individual module or
package is being provided; this is useful for omnibus packages
2005-03-20 15:57:37 +00:00
Brett Cannon 31f3e3caaa Mark as final (cleared by Richard Jones). 2005-03-19 15:23:53 +00:00
Brett Cannon 3f7d8a1f10 Back out sum() change. 2005-03-15 19:43:34 +00:00
Brett Cannon 3da1186cdd sum()'s second argument is returned if the first argument is empty, otherwise
it is ignored.
2005-03-15 04:06:02 +00:00
Brett Cannon 72fcd5f394 Add references to Guido's "The fate of reduce() in Python 3000" blog entry for
the removal of 'map', 'filter', 'reduce', and 'lambda'.
2005-03-11 00:56:22 +00:00
Brett Cannon 86be15282b Add mention of trunc() and its companion, __trunc__(). 2005-03-05 19:38:42 +00:00
Brett Cannon 5b2de661f1 Make some very minor changes for consistency. 2005-03-05 19:32:57 +00:00
Raymond Hettinger f72cb1fe04 Update PEP 309 and mark as final (checked-in to cvs). 2005-02-28 19:53:29 +00:00
David Goodger 2d988b982c applied patch from Gregory Warnes 2005-02-24 21:20:14 +00:00
Brett Cannon dbface4a95 Added PEP 339, "How to Change CPython's Bytecode", by Brett Cannon. 2005-02-12 22:02:05 +00:00
Andrew M. Kuchling 080898df38 Restrict package names to importable ones 2005-02-03 12:30:44 +00:00
Andrew M. Kuchling 5afb381de5 Add Richard as author; minor corrections 2005-02-03 02:30:53 +00:00
Andrew M. Kuchling de78ffe201 Add Richard Jones's edits 2005-02-03 02:27:01 +00:00
Barry Warsaw 0443981205 Marking PEPs 252 and 253 as final, with GvR's approval. Includes an editor's
note about the accuracy of the description in the PEP.
2005-01-30 03:08:02 +00:00
Barry Warsaw 5a8151b527 Jim Jewett points out that PEPs 278, 292, 318, and 324 can be marked as Final,
and that 215 can be marked as Rejected.
2005-01-29 18:24:59 +00:00
Brett Cannon b0a6a6680d Mention the planned removal of unbound methods. 2005-01-22 04:39:23 +00:00
Guido van Rossum cb4b5a93b8 Correct the intention for basestring. 2005-01-15 05:06:09 +00:00
Just van Rossum c38198cfef fixed a couple of typos 2005-01-14 19:01:09 +00:00
Alex Martelli 95bf581983 PEP 246 rewritten 2005-01-10 14:31:35 +00:00
Raymond Hettinger f868ba34f0 Simplify the proposal for gen.throw(). 2005-01-03 04:59:21 +00:00
Raymond Hettinger 9198b9cf32 Update for Py2.5. 2005-01-02 21:41:54 +00:00
David Goodger edd8847113 typo 2004-12-11 20:31:10 +00:00
David Goodger 5514470bdf added PEP 338, , by 2004-12-11 20:24:11 +00:00
David Goodger 9844a8b7c7 added PEP 337, Logging Usage in the Standard Library, by Michael P. Dubner 2004-12-11 20:01:08 +00:00
David Goodger 4394f47f1c updated link 2004-12-11 18:34:25 +00:00
David Goodger 3e1ef30d38 filled in the footnote number 2004-12-11 18:06:27 +00:00
Brett Cannon 3c2cb884f2 Add reference to python-dev thread discussing comparing heterogeneous types.
Also fix ref for removal of '<>'; syntactically missing trailing underscore.
2004-12-11 07:54:17 +00:00
Raymond Hettinger 9518a04556 Fix argument order in an example 2004-12-03 16:23:45 +00:00
Anthony Baxter 881b4d15c4 pep 320 is finished. someone else can create the 2.5 release schedule pep 2004-11-30 13:44:08 +00:00
Peter Astrand 61de19f122 Corrected example "replacing shell pipe line". 2004-11-27 07:44:10 +00:00