Commit Graph

2002 Commits

Author SHA1 Message Date
Fred Drake dee69d03e1 since PEP 262 was deferred, mark it consistently on both entries 2004-10-07 01:33:55 +00:00
Phillip J. Eby c029c079a2 Fix misc. coding errors found while testing the reference library. 2004-10-06 06:23:54 +00:00
Phillip J. Eby c96856e95c Clarifications and citations as requested by Mark Nottingham, and
discussed further at:

http://mail.python.org/pipermail/web-sig/2004-September/000917.html

Also, add Mark to the Acknowledgments, since his input has now
touched a substantial number of paragraphs in the PEP.  :)
2004-10-01 20:03:01 +00:00
David Goodger fe4d196e3f not complete; I stand corrected ;-) 2004-09-28 12:39:00 +00:00
David Goodger 2cd6800e7b details and clarifications, should have been checked in long ago 2004-09-28 01:11:15 +00:00
David Goodger 29414016e9 tweak 2004-09-28 01:05:40 +00:00
Phillip J. Eby ec6e1005bd It's PyImport_AddModule, not PyImport_ModuleAdd. Fix Python code sample
to do the right thing for reload() to work.  Revise explanation so it's
clear what to do to fulfill reload()'s requirements in both C and Python.
2004-09-23 13:54:53 +00:00
Phillip J. Eby 9822ad205e Fix specification error that makes it impossible for 'reload()' to work
correctly with PEP 302 module loaders.  See also SF#1029475, and:

http://mail.python.org/pipermail/python-dev/2004-September/048970.html
2004-09-23 04:06:40 +00:00
Phillip J. Eby 100532ac71 Move subsections on HTTP features, error handling, unicode, and
threading to the main "Specification Details" section.  Juggle
order of implementation notes to better match their importance and
pedagogic sequence.  Add current open issues re: async app
frameworks.
2004-09-19 19:49:37 +00:00
Phillip J. Eby 110c3a33a3 Get rid of tabs that sneaked into sample code. 2004-09-18 23:46:50 +00:00
Barry Warsaw 24bd216f0c Another, and hopefully final round of edits. 2004-09-18 20:53:35 +00:00
Phillip J. Eby 3fd244d830 Fixed middleware example not handling 'close' correctly. Fixed an
erroneous statement re: calling 'write()' with empty strings.  Moved
"Multiple Invocations" note into overview, and moved "callable"
definition to overview's preface.
2004-09-17 16:32:17 +00:00
Phillip J. Eby 3f6ca60005 Moved middleware introduction to "Specification Overview" section,
adding a code example for a trivial middleware component.
2004-09-17 15:31:58 +00:00
Phillip J. Eby 45b26f3c1f Fix "hop-by-hop" headers issues raised in section 2 of this post:
http://mail.python.org/pipermail/web-sig/2004-September/000879.html

This ended up simplifying the language regarding who controls what
headers, and eliminated the previous complexity regarding logging of
suppressed headers.  Thanks for the comments, James!
2004-09-16 22:04:35 +00:00
Phillip J. Eby 0611ed922e Allow applications to yield empty strings, and require middleware
to respect applications' block boundaries, so that asynchronous
applications can potentially pause their output while waiting for
(non-browser) I/O.  See these posts and the associated threads
for the discussion:

http://mail.python.org/pipermail/web-sig/2004-September/000868.html
http://mail.python.org/pipermail/web-sig/2004-September/000880.html
2004-09-16 21:22:39 +00:00
Anthony Baxter 262383a208 Oct 12 for b1. 2004-09-16 16:04:53 +00:00
Phillip J. Eby b38414cc2a Fix some minor errors found during actual implementation of
example code.
2004-09-16 01:56:44 +00:00
Phillip J. Eby a214fcda03 Flesh out CGI variable definitions, and slightly loosen server-side
requirements for providing variables that may be empty.  That's
the last of the open issues, so it's time for another posting, and
a last call for issues prior to finalization.
2004-09-15 20:41:16 +00:00
Phillip J. Eby 5dc9fcb7ae Clarify the meaning of "string" for platforms where 'str' objects can
contain Unicode (e.g. Jython, IronPython, Python 3000, etc.), per
discussion at:

http://mail.python.org/pipermail/web-sig/2004-September/000860.html

Also, misc. copy edits.  Only one open issue left!
2004-09-15 17:05:22 +00:00
Raymond Hettinger dc2bfe867a Include Guido's rationale for the order of application and for the
decorator declaration syntax allowing functions with arguments.
2004-09-14 07:34:23 +00:00
Phillip J. Eby 8769aa43a6 Fix expect/continue language per:
http://mail.python.org/pipermail/web-sig/2004-August/000633.html

and add general notes re: advanced HTTP features per:

  http://mail.python.org/pipermail/web-sig/2004-August/000641.html
2004-09-14 06:02:28 +00:00
Phillip J. Eby 6fec30dfc6 Forgot to include the language about suppressing the logging of header
overrides, that was discussed in:

http://mail.python.org/pipermail/web-sig/2004-September/000749.html

Also, misc. copy edits.
2004-09-14 05:06:44 +00:00
Phillip J. Eby a3f454b296 Update to reflect last few weeks' discussion on the Web-SIG. See:
http://mail.python.org/pipermail/web-sig/2004-September/000855.html

for a detailed description of the changes made in this draft.  Hopefully, this
will be the last major set of *semantic* changes to the PEP, although there
are still a few minor open issues.
2004-09-13 20:01:54 +00:00
Barry Warsaw b65f4ea22d Updated the "Why" section based on comments from Andrew Durdin. More updates
to the PEP are no doubt still coming.
2004-09-10 03:02:32 +00:00
David Goodger 7b7e8eece2 spelling 2004-09-09 14:17:17 +00:00
David Goodger 48e02cb74d added PEP 335, Overloadable Boolean Operators, by Greg Ewing 2004-09-09 13:48:44 +00:00
David Goodger 9ecd216dff added PEP 334, "Simple Coroutines via SuspendIteration", by Clark C. Evans 2004-09-08 00:11:18 +00:00
Raymond Hettinger 517b637c51 Update completed features for Py2.4a3. 2004-09-04 22:49:54 +00:00
Anthony Baxter 672e4641a9 fix editors note 2004-09-03 09:32:50 +00:00
Brett Cannon 90a5294752 Mention that making list comprehensions sugar for genexps will remove exposure
of the loop variable.
2004-09-02 19:10:13 +00:00
David Goodger 753c085617 whitespace 2004-09-01 23:40:12 +00:00
Phillip J. Eby 059a87e6e4 Fix some typos, and clean up/clarify language regarding iterables so
that Alan's Jython-based server will be compatible with the "letter of
the law" of the spec.
2004-09-01 20:35:42 +00:00
Anthony Baxter a37ed19664 pep318 is accepted 2004-09-01 16:18:20 +00:00
Andrew M. Kuchling 6dd0e5c76f Minor polishing of words 2004-09-01 15:44:33 +00:00
Anthony Baxter b13a4cc305 ding dong the witch is dead. or rather, the decorator discussion is.
updating the pep.

(I'm not sure if the "Community Concensus" section should be trimmed
down radically now - it's a lot of words for a rejected form, and the
case for the form is still available on the web and in the mailing
list archives... opinions, anyone?)
2004-09-01 15:02:22 +00:00
Phillip J. Eby 1373ea5150 Move 'fileno()' support to a separate section, where it should be
easier to see it's an optional and platform-specific extension, not
an excuse to return "file-like" objects instead of iterables.
2004-09-01 13:44:07 +00:00
Phillip J. Eby 1bff7b795e More formatting fixes 2004-09-01 04:59:21 +00:00
Phillip J. Eby 6690980d6b Major clarifications and some minor semantic changes; see
http://mail.python.org/pipermail/web-sig/2004-August/000730.htm
for a complete summary of the changes and their rationales.
2004-08-31 22:00:28 +00:00
David Goodger 4742ede421 Simplification, and removal of my own added bias ;-) 2004-08-30 16:00:06 +00:00
David Goodger 20b0ec3e18 Made J2 proposal more prominent, and removed some perceived bias. Minor cleanup. 2004-08-30 15:01:09 +00:00
Anthony Baxter 4500941247 I'm done with this now. It'll need a further update when Guido makes a
decision.
2004-08-30 13:16:56 +00:00
Phillip J. Eby 93eddee292 Misc. clarifications added per Alan Kennedy's report on his
experiences implementing WSGI in Jython/Java Servlets.
2004-08-30 03:04:59 +00:00
David Goodger 8d042dd201 clarifications 2004-08-27 21:19:48 +00:00
Phillip J. Eby 36087815b0 Fix a formatting problem, and add today's posting date. 2004-08-27 21:14:42 +00:00
Raymond Hettinger d324b2fcff Update and finalize PEP 218 (builtin set types):
* List the additional methods and operators that are supported.
* List differences between sets.py and the built-in types.
* Mark the {-} syntax as rejected by Guido until Python 3000.
* Note that genexps make set comprehensions moot.
* Mark the pep as final and implemented.
2004-08-27 20:28:58 +00:00
Brett Cannon a584e413a0 Remove __cmp__ mention.
Add about list comps being syntactic sugar for genexps to list().  Reword
mention of stdlib reorg.  Mention comparisons other than == and != between
disparate types will raise an error unless excplicitly allowed.
2004-08-27 18:43:32 +00:00
Andrew M. Kuchling 28d9c521f0 Mark PEP 273 as final 2004-08-27 18:13:48 +00:00
Andrew M. Kuchling 2ec10183fb Add historical note 2004-08-27 18:11:22 +00:00
David Goodger a46d0fa414 added PEP 333, "Python Web Server Gateway Interface v1.0", by Phillip J. Eby 2004-08-27 17:30:09 +00:00
David Goodger c0f6e95fc5 added PEP 332, "Byte vectors and String/Unicode Unification", by Skip Montanaro 2004-08-27 13:44:37 +00:00