Commit Graph

1225 Commits

Author SHA1 Message Date
Guido van Rossum 85fb287b33 I just thought of something: now the syntax looks like if C:E1 else:E2,
we can also allow one or more elif parts.
2003-02-11 22:34:52 +00:00
Tim Peters 1d3b81205e Implemented list batching in cPickle. 2003-02-11 21:23:59 +00:00
Raymond Hettinger b3de48b5bb Several people requested that the parenthesis requirement be emphasized. 2003-02-11 19:48:20 +00:00
Guido van Rossum ef2c13772f Typo (foo -> good). 2003-02-11 15:53:20 +00:00
Guido van Rossum a192075d59 Minor nits. 2003-02-11 14:59:18 +00:00
Marc-André Lemburg 37e79f5901 Added note about new datetime module in Python 2.3. 2003-02-11 13:19:51 +00:00
Raymond Hettinger ce2804d8fc Add name of updater. 2003-02-11 06:32:52 +00:00
Raymond Hettinger 294fd7ade7 Updated the PEP for GvR.
* Out of order evaluation is out of favor.
* So are ideas that do not provide for short-circuiting.
* (if <condition>: <expression1> else: <condition2>) is in vogue.
* <condition> ?? <expression1> || <expression2> is a new contender.
* cond(<condition>, <expression1>, <condition2>) is viable if implemented
      as a keyword and has short-circuit behavior.
* Added a summary of a few ideas from the last couple hundred posts
      from comp.lang.python.
2003-02-11 05:43:56 +00:00
Tim Peters 1264fe2202 Cleared up the XXX comments I added earlier today, and fixed some
additional typos.
2003-02-11 04:50:59 +00:00
Tim Peters 5b6409adaf + Add XXX comments. I'll clean those up later (or Guido and I both will).
+ Minor typo repair.
+ Added very brief sections about the other stuff that's new in protocol 2.
2003-02-10 23:21:03 +00:00
Tim Peters 586a9c30cc Clarified the distinction between pickling time and unpickling time
where that seemed to help, and made explicit where "the object" came
from originally in the descriptions of the optional __reduce__ tuple
elements.
2003-02-10 22:13:34 +00:00
Guido van Rossum ae56c6a44c Bozo __getstate__ is gone. 2003-02-10 21:44:25 +00:00
Tim Peters 1857c40946 Mostly paragraph relowing, after typographical fiddling to make it
screamingly obvious which state tuple elements are required, which
obvious, and which new in this PEP.
2003-02-10 21:39:25 +00:00
Guido van Rossum e5c7b99c0b Clarify __reduce__ and classic classes more. 2003-02-10 21:34:28 +00:00
Tim Peters 50955157ae Tried to clarify the point about classic classes and __reduce__. 2003-02-10 21:25:25 +00:00
David Goodger 0429311d5a update title, same as in PEP 0 2003-02-10 15:34:54 +00:00
David Goodger eb0e9894fb updated 2003-02-10 14:54:10 +00:00
David Goodger a7cd5f569e Reliable Acquisition/Release Pairs, by Michael Hudson and Paul Moore 2003-02-10 14:52:51 +00:00
David Goodger d49ecf85a2 Built-in Closure Type, by Peter Harris 2003-02-10 14:51:45 +00:00
Skip Montanaro 67273248cc a number of changes to keep more-or-less up-to-date. 2003-02-10 04:03:49 +00:00
David Goodger 1dc70cf85e updated stylesheet setting 2003-02-09 20:47:36 +00:00
Guido van Rossum ab58904812 Rename 'proto' keyword arg to 'protocol' . Greg Ward's suggestion. 2003-02-09 17:16:45 +00:00
Guido van Rossum 0e447664fe Fix grammar. 2003-02-09 17:11:10 +00:00
David Goodger bbebe7226d fixed status 2003-02-09 05:12:54 +00:00
David Goodger 6939782313 updated; Docutils install no longer required 2003-02-08 22:35:29 +00:00
David Goodger 6fcecede97 new stylesheet entry 2003-02-08 22:23:42 +00:00
Guido van Rossum 52ef95d27a It is *right* associative! (The example was right. :-) 2003-02-08 13:40:52 +00:00
Guido van Rossum 717ec38a5c Add 'when' variant. 2003-02-08 02:12:43 +00:00
Guido van Rossum edf0585da8 Add and/or alternative and why it doesn't always work.
Correct origin of ?: and ?! again.
2003-02-08 00:56:13 +00:00
Guido van Rossum c486401240 Add if C : e1 else e2. 2003-02-07 22:34:54 +00:00
Guido van Rossum 648a2a5acc Explain that "e if C" (without the "else" part) is a bad idea. 2003-02-07 22:29:39 +00:00
Guido van Rossum 63a04aad2b Credit where credit is due. Also add an extra blank line before the
section on ifelse().
2003-02-07 22:13:53 +00:00
Guido van Rossum b6965cc2ad Reserve a range for Zope, not specifically for Zope 3. 2003-02-07 20:57:23 +00:00
Skip Montanaro cd1746477e explain why adding a new builtin won't work. 2003-02-07 20:18:45 +00:00
Guido van Rossum d163abe4d6 Typo found by Aahz. 2003-02-07 19:30:15 +00:00
Guido van Rossum 4d97872f0d Add posting-date. Add note about the copy module. Remove TBD -- this
PEP is complete AFAIAC.
2003-02-07 18:11:29 +00:00
Guido van Rossum a526eed9cb Add PEP 308: if-then-else expression proposal. 2003-02-07 17:03:31 +00:00
Fred Drake 631248ea3c Fix typo. 2003-02-06 22:11:01 +00:00
Tim Peters 776c4ceb3e Intro: make explicit that the new protocol is to be introduced with 2.3. 2003-02-06 20:38:30 +00:00
Tim Peters 17338a4481 Minor edits to the "Protocol versions" section. 2003-02-06 20:35:00 +00:00
Tim Peters 21a586e1b3 Quick checkin to make sure I still have the mechanics straight in this
directory.
2003-02-06 20:29:21 +00:00
Andrew M. Kuchling 9b88421c6a Add a wish 2003-02-06 17:57:14 +00:00
Andrew M. Kuchling 6d3d977da0 Add a wish 2003-02-05 20:21:49 +00:00
Guido van Rossum f95c17f368 Document the extension registry API.
Remove mention of Twisted (they don't want it).
2003-02-04 19:28:16 +00:00
Guido van Rossum 8787ee145b Introduce extension codes. 2003-02-04 19:12:25 +00:00
Guido van Rossum eb93e1fcdc Refactored according to 3 main cases. 2003-02-04 17:53:55 +00:00
Guido van Rossum 6b1fc6f8c0 Fix crucial typo found by Niki Spahiev. 2003-02-04 14:50:23 +00:00
Guido van Rossum 90133d7f6a Added docs for __getstate__ and __setstate__, __getinitargs__ and
__getnewargs__.  Unfortunately these need to be refactored again
according to a different organizing principle. ;-(
2003-02-03 20:22:23 +00:00
Guido van Rossum 2c9210a9b5 Misc tweaks and updates. 2003-02-03 17:50:16 +00:00
Skip Montanaro 8aad764890 zap incorrect statement about formatting parameters and the dialect
registry.
2003-02-03 03:01:48 +00:00