Commit Graph

32 Commits

Author SHA1 Message Date
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Yury Selivanov ff8f094454 Update pep-478 and pep-479. 2015-05-09 11:48:43 -04:00
Guido van Rossum 4af42e2b28 More clarifications in response to Oscar Benjamin. 2014-12-11 11:02:14 -08:00
Guido van Rossum 64c45d5078 Replace paragraph that confused people into thinking that generators are no longer iterators. 2014-12-10 12:44:54 -08:00
Chris Angelico 01f431fcc0 Reorder/renumber footnotes in PEP 479 and insert one for the tracker issue 2014-12-07 03:12:17 +11:00
Chris Angelico a09e8b3dae Add another example of PEP 479 justification, courtesy of Isaac Schwabacher 2014-12-07 02:45:03 +11:00
Chris Angelico d6edada20d Small grammatical fixes courtesy of francismb@email.de 2014-12-07 01:30:37 +11:00
Guido van Rossum 6037436ec8 Mark PEP 479 as accepted and clarify the process. 2014-12-05 10:34:06 -08:00
Guido van Rossum 82db7f3215 Two new sections (more motivation, rejected @allow_implicit_stop). 2014-11-28 20:11:11 -08:00
Guido van Rossum 90addf57a2 Elaborate transaction() manager example (Chris A). 2014-11-28 17:26:33 -08:00
Guido van Rossum a6b3c8b1f7 New section with contextlib example (Isaac Schwabacher).
Other additions by Chris, including renumbered references.
2014-11-26 22:07:29 -08:00
Guido van Rossum 1c2c1c0a7a Chris A: Mention Mark Shannon's counterproposal of changing next(). One small copy-edit. 2014-11-26 09:34:12 -08:00
Guido van Rossum a2bb199d1d Another major editing pass. Move __future__ into spec. Add section about compatible code. 2014-11-25 22:05:29 -08:00
Guido van Rossum 289b876442 Add transition plan. 2014-11-25 21:32:14 -08:00
Guido van Rossum 412beeb4e3 No empty promises in the abstract. Extend rationale. 2014-11-25 18:17:13 -08:00
Guido van Rossum 67adddea25 Clarify what happens on g.throw(StopIteration). 2014-11-25 10:07:35 -08:00
Guido van Rossum 6d5a4c3330 Clarify that after raising RuntimeError a generator will raise StopIteration. 2014-11-25 09:24:47 -08:00
Guido van Rossum bb01713e4e Added myself as PEP 479 co-author. 2014-11-21 10:53:13 -08:00
Guido van Rossum 9ef2ed8f5d PEP 479: Fix formatting of examples. 2014-11-20 21:14:17 -08:00
Guido van Rossum 89c4b9ef1f New examples, explanations and a few edits, all by Chris. 2014-11-20 21:07:18 -08:00
Guido van Rossum 23e1d5b765 PEP 479: switch to "from __future__ import generator_stop". 2014-11-20 15:43:56 -08:00
Guido van Rossum c5ca1d2cf7 PEP 479: Add link to issue 22906. 2014-11-20 11:30:39 -08:00
Guido van Rossum 41a39256fa Remove "implicitly-raised" from abstract, it is just confusing. 2014-11-20 11:14:58 -08:00
Guido van Rossum e30dcf99fe PEP 479: Use a shorter __future__ name (generator_return). 2014-11-20 11:01:20 -08:00
Guido van Rossum e9a519ab78 Add a clarifying paragraph to PEP 0479, and another post-history date. 2014-11-20 10:55:48 -08:00
Guido van Rossum 1a09d6b62b Add link to survey by Steven D, and summarize the two responses so far. 2014-11-17 16:12:26 -08:00
Guido van Rossum 4e41b5e146 Add more words to GeneratorReturn alternative. 2014-11-17 12:15:42 -08:00
Guido van Rossum 59eb504acb Make PEP 479 (Change StopIteration) be more specific, improve some wording, etc. 2014-11-17 11:31:54 -08:00
Georg Brandl 66080c2e52 Update PEP 479 from author. 2014-11-17 10:26:09 +01:00
Georg Brandl 4dfd824041 Add Post-History to PEP 479. 2014-11-15 10:38:00 +01:00
Georg Brandl 1267f35884 Add PEP 479: Change StopIteration handling inside generators, by Chris Angelico. 2014-11-15 10:13:42 +01:00