Commit Graph

1449 Commits

Author SHA1 Message Date
Raymond Hettinger 82963ef0a0 Record conditional acceptance of the PEP 2003-11-06 12:22:37 +00:00
Guido van Rossum d21c2362e1 Remove vestigial reference to __reversed__. 2003-11-06 05:32:14 +00:00
Raymond Hettinger f2ac224b3f Take the __reversed__ protocol out of the pep.
It's champions can argue their case elsewhere.
Good luck to them.
2003-11-06 03:27:22 +00:00
Raymond Hettinger d0908a58f4 Record Jeremy Fincher's naming suggestion. 2003-11-05 00:19:06 +00:00
Raymond Hettinger cfec7a1e79 Aahz requested that the principal objection be clearly identified. 2003-11-03 21:31:53 +00:00
Raymond Hettinger 2aa6c861f6 Remove the revrange() proposal. 2003-11-03 17:56:40 +00:00
Raymond Hettinger 1ae49ce2cc Three PEP updates:
* Correct the pure python implementation.
* Link to an implementation patch on SF.
* Remove the proposed application of __reverse__ to enumerate().
2003-11-02 07:12:04 +00:00
Raymond Hettinger a232b370a0 Update PEP based on discussion on comp.lang.python:
* reversed() is being preferred to ireverse() as the best name.

* the sample implementation now shows a check for a custom reverse
  method and a guard against being applied to a mapping.

* added sample output for enumerate.__reversed__ to show an example of
  how a custom reverse method would work

* explained why the function is proposed as a builtin.

* expanded a couple for the real world use cases to show what the
  replacement code would look like.

* improved markup so that the function names get italicized.
2003-10-30 07:41:20 +00:00
Alex Martelli 36e7a69be3 Rewritten, with removal of deep-copying ideas, but otherwise many additions of
details and examples, as per feedback received on python-dev.
2003-10-29 13:39:51 +00:00
Raymond Hettinger f7f0a4d4ea No one likes the name inreverse(). 2003-10-28 22:39:22 +00:00
Raymond Hettinger e680cb67de The alternative builtin needed a better name. 2003-10-28 21:21:31 +00:00
Raymond Hettinger 6f412ebc5e Offer the community a choice for a simpler, limited alternative. 2003-10-28 20:40:56 +00:00
Andrew M. Kuchling 9939002fc5 Turn paragraph into a list, and add some items 2003-10-28 19:48:44 +00:00
Raymond Hettinger 6733f21058 Mark PEP 289 as accepted. 2003-10-28 18:06:32 +00:00
Raymond Hettinger 26733836c2 Update the reverse iteration pep to reflect comments from comp.lang.python,
from Guido, and from some on python-dev.
2003-10-28 10:16:32 +00:00
Alex Martelli eefc4df37c Added PEP 323, "Copyable Iterators". 2003-10-27 15:01:08 +00:00
Raymond Hettinger 068cdefc0d Fix typo 2003-10-24 01:29:14 +00:00
Andrew M. Kuchling 216bc1e95d Fix typo.
While fixing the typo, I noticed the list of patch czars is incomplete,
   so it also got updated.  If any of them are wrong, please correct them.
E-mail addresses removed; they don't seem very useful in this PEP.
2003-10-23 18:20:31 +00:00
Andrew M. Kuchling a1797963d4 Remove an item that got done in 2.3 2003-10-23 18:03:41 +00:00
Andrew M. Kuchling 520bd3b410 Record feature request 2003-10-23 17:58:20 +00:00
Raymond Hettinger a1471d7250 Fix typo 2003-10-23 17:02:11 +00:00
Raymond Hettinger 851181bca6 Remove discussion of loop variables in the form x[a] or x.a.
Deprecation of that form is a subject encompassing all for-loop constructs
and is not specific to this PEP.  Also, most people are not aware that those
forms are even possible, so it is prudent to not even bring it up as that
would inevitably increase the number of people trying it in their code.
2003-10-23 16:17:29 +00:00
David Goodger 326a56a0f3 fixed list indentation; status: Draft is correct 2003-10-23 12:51:30 +00:00
Just van Rossum 59156b6c63 Fixed typo in Norvig's URL 2003-10-23 08:10:05 +00:00
Guido van Rossum f7361e1f66 Add lots of detail and examples to the Details section. Free
variables are now captured at definition time.
2003-10-23 06:36:37 +00:00
Raymond Hettinger 1a2ad824e4 * Remove claim to minimize use of reduce()
* Add claim to minimize use of lambda.
* Remove details of proposed new accumulator functions.
* Reference Jeff Epler's proof-of-concept patch.
* Minor wording improvements everywhere.
2003-10-22 22:08:06 +00:00
Raymond Hettinger a08117dee0 Resurrect the PEP on generator expressions 2003-10-22 18:09:36 +00:00
Thomas Heller ea6410f7bd Further explain the creation of the Wise installer, especially which
MS dlls should be used and how to check their version numbers.
Disasters should happen at most once!
2003-10-16 19:13:48 +00:00
Andrew M. Kuchling 6e8e7c515a Record a relevant link 2003-10-07 12:16:04 +00:00
Fred Drake b4dfe2fcd9 when documentation is unpacked on the python.org server, directory
permissions must be updated so the other webmasters can help manage
the content
2003-10-06 15:24:25 +00:00
David Goodger 89c23e8330 updated from author 2003-10-05 23:34:56 +00:00
Fred Drake 6c03de4557 add note to update links in the navigation sidebar on the home page 2003-10-03 15:31:36 +00:00
Fred Drake 22d5357928 remove duplicate description of the final changes made in the
documentation release, and add a note that they're described in a
separate step (down near "send the release announcement")
2003-10-03 14:06:10 +00:00
Anthony Baxter 4387b0cf73 reading Fred's mind for fun and profit 2003-10-03 08:35:10 +00:00
Fred Drake 2aa4a939f1 Add instructions for updating the doc/ are of the website.
This probably needs further elaboration; I'm not sure this really even
belongs in the PEP, though.
2003-10-02 15:39:21 +00:00
Fred Drake 41b0a48d85 Remove instructions for building the HTML Help; they are now part of
PEP 101.
2003-09-30 04:51:14 +00:00
Fred Drake 4de8d6823c Move instructions for building the HTML Help into PEP 101 from PEP 102; this
locates all the instructions for building documentation in one of the PEPs;
the other incorporates the instructions by reference.
2003-09-30 04:49:33 +00:00
Fred Drake 69eb8f0f61 describe the commands needed to build the documetation and post it in
the FTP area of python.org
2003-09-30 04:35:01 +00:00
Fred Drake ca50274a4b Update some of the information about documentation build procedures.
Much of it was outdated.  I still need to document *how* some of the
steps are carried out.
2003-09-30 03:46:52 +00:00
Raymond Hettinger cec064b24f * Rename the proposed method to "iterreverse"
* Make recommendations on the open issues.
* Minor wording changes.
2003-09-28 02:43:37 +00:00
Raymond Hettinger a37771e3cb * str.startwith() is less errorprone that slice comparisons but not as fast.
* Fix minor typos.
2003-09-27 02:53:59 +00:00
Raymond Hettinger 34893b2b2a Rename the proposal to ireverse(). 2003-09-26 16:09:54 +00:00
Raymond Hettinger c0b44583ab Fix typos. 2003-09-26 03:07:56 +00:00
Raymond Hettinger 996d620420 Updated to reflect comments on comp.lang.python. 2003-09-25 16:18:28 +00:00
Thomas Heller c884456428 Document some things to be done on windows, from the 2.3.1 release experience.
Replace Tim with Thomas everywhere ;-).
2003-09-24 10:55:43 +00:00
Raymond Hettinger 0876789232 Add a new PEP for reverse iteration methods 2003-09-24 10:30:08 +00:00
Anthony Baxter 9b8f2c641d wrap long line 2003-09-23 03:25:48 +00:00
Barry Warsaw 99ab3d4e0c Setting my address back to barry@python.org for consistency and better
spam fighting defenses.
2003-09-22 04:51:50 +00:00
Anthony Baxter 5f43f66c42 updates from Sean. 2003-09-22 04:25:19 +00:00
Barry Warsaw 758bca047f More updates from Sean. 2003-09-22 01:11:35 +00:00