Skip Montanaro
71edeec4dc
posted again
2003-02-13 19:01:17 +00:00
Tim Peters
6f28699bc4
Added info about the new HIGHEST_PROTOCOL module constant.
2003-02-13 16:08:06 +00:00
Guido van Rossum
fa6660b886
Avoid 'I' now there's more than one author. Other minor nits.
2003-02-13 15:01:53 +00:00
Raymond Hettinger
a975337001
Amended the PEP to reflect some convergence on the newgroup:
...
* Listed the downsides of the current proposal.
* Listed why '<cond> then <expr1> else <expr2>' is starting to
be preferred over '<cond> and <expr1> or <expr2>'.
* After BDFL comments, I withdrew my proposed c??a||b syntax
and deleted the rejected c?a!b syntax. The remaining
punctuation based contender is c?a:b.
* After BDFL rejection of non-short-circuiting options,
advocacy dropped sharply. Removed it from the list of
contenders.
The leading options on the table are:
* (if <cond>: <expr1> else: <expr2>)
* <cond> then <expr1> else <expr2>
* <cond> ? <expr1> : <expr2>
* no change
2003-02-13 06:59:58 +00:00
Raymond Hettinger
5ef89e80a2
Put variables in correct order.
2003-02-12 12:35:59 +00:00
Raymond Hettinger
400ec56439
Chris Tismer's proposal is also being well received.
2003-02-12 04:09:14 +00:00
Raymond Hettinger
578b6df698
* Add Holger's new, well-received idea.
...
* Fixed typo.
2003-02-12 01:38:25 +00:00
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