Commit Graph

1398 Commits

Author SHA1 Message Date
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
Skip Montanaro 4c07516c43 set_dialect is the wrong name. It conveys the notion of a single dialect.
register_dialect is better.
2003-02-03 02:25:26 +00:00
Skip Montanaro 0b4707dd78 default dialect is now "excel", not "excel2000". 2003-02-03 02:07:37 +00:00
Dave Cole 534feb5366 Changed the csv.reader() fileobj argument to interable. This give us
much more flexibility in processing filtered data.
Made the example excel dialect match the dialect in csv.py.
Added explanation of doublequote.
Added explanation of csv.QUOTE_NONE.
2003-02-02 12:25:23 +00:00
Guido van Rossum ccc70922b4 Add __newobj__ and TBD section. 2003-02-01 20:10:35 +00:00
Guido van Rossum 9cdeaa0b57 Remove text about new pickling; refer to PEP 307 instead. 2003-02-01 19:02:10 +00:00
Guido van Rossum 628e37cde1 Document extended __reduce__ API. 2003-01-31 21:58:34 +00:00
Skip Montanaro 57d97aaec1 remove authors' emails, add Discussion-To: to try and encourage feedback to
go to the mailing list.
2003-01-31 21:55:38 +00:00
Skip Montanaro 1cf7aea11c various cleanups
expanded Rationale a tad
added Post-History date (announcing it in a moment)
added pointer to sandbox implementation
mentioned implementation in the (massive ;-) Testing section
2003-01-31 21:49:32 +00:00
Guido van Rossum 1ff1f735ff Security issues. 2003-01-31 21:13:18 +00:00
Skip Montanaro b17859166a update Post-History 2003-01-31 20:50:46 +00:00
Guido van Rossum 584036ddd6 Extend intro; add motivation and a section on protocol versions. 2003-01-31 19:56:32 +00:00
Guido van Rossum f739e21311 Claim PEP 307 for extensions to the pickle protocol. 2003-01-31 19:12:53 +00:00
Skip Montanaro 2b35f15752 various tweaks
testing the current patch turned up a shortcoming.  When the bytecode base
is defined, it's not safe to delete the source code.  The bytecode file
generated won't be found.
2003-01-31 17:28:11 +00:00
Walter Dörwald b673f29c07 Change the treatment of positions returned by PEP293
error handers in the Unicode codecs: Negative
positions are treated as being relative to the end of
the input and out of bounds positions result in an
IndexError.

Also update the PEP and include an explanation of
this in the documentation for codecs.register_error.

Fixes a small bug in iconv_codecs: if the position
from the callback is negative *add* it to the size
instead of substracting it.

From SF patch #677429.
2003-01-31 17:19:09 +00:00
Raymond Hettinger 84dbf5d022 Remove an entry for an RFE that was already implemented. 2003-01-31 00:18:59 +00:00
Michael W. Hudson 7306ded076 Note posting to python-dev. 2003-01-30 15:22:56 +00:00
Dave Cole c9f7daf85b Use symbolic constants for quoting parameter rather than a string. 2003-01-30 13:34:29 +00:00
Skip Montanaro bfa7197b40 add some To Do items (to David Goodger - don't shoot me because the text now
has embedded URLs - they are temporary. ;-).
added [optional keyword args] to the constructor prototypes.
2003-01-30 12:53:40 +00:00
Dave Cole e1e46e817b Trying to bring PEP up to date with discussions on mailing list. I hope I
have not misinterpreted the conclusions.
* dialect argument is now either a string to identify one of the internally
  defined parameter sets, otherwise it is an object which contains
  attributes which correspond to the parameter set.
* Altered set_dialect() to take dialect name and dialect object.
* Altered get_dialect() to take dialect name and return dialect object.
* Fleshed out formatting parameters, adding escapechar, lineterminator,
  quoting.
2003-01-30 12:11:27 +00:00
Michael W. Hudson 59fc3f4bc8 Update after comments from Guido. 2003-01-30 10:27:45 +00:00
Skip Montanaro 19a5b5b1fa Expand abstract slightly. Reference patch containing beginnings of
implementation.
2003-01-29 22:49:04 +00:00
Skip Montanaro 0bc2b6d21e add note that this PEP is not about file-level or directory-level control of
bytecode file writes.
2003-01-29 19:28:10 +00:00
Skip Montanaro 1a2be3bbe4 Feedback from Terry Reedy. Make the sys module attribute simply
"bytecodebase".  Give concrete examples of the augmented directory in the
examples.
2003-01-29 18:49:47 +00:00
David Goodger 6a0ff8628b added PEP 306; 305 authors 2003-01-29 15:07:58 +00:00
David Goodger f47cf8f88d How to Change Python's Grammar 2003-01-29 15:07:17 +00:00
Skip Montanaro 4bd57ea00d started reorganizing the information about low-level formatting parameters.
Define dialects in their own subsection.  Define low-level parameters in a
separate subsection.  Define set_dialect() and get_dialect() module-level
functions.

More to be done, but I have to get to work... ;-)
2003-01-29 14:09:45 +00:00
Skip Montanaro e12319dd5d Belatedly added Dave and Andrew as authors. Changed Type to Standards
Track.
2003-01-29 13:36:59 +00:00