Stéphane Wirtel
2b7f93b99a
bpo-36345: Update wsgiref example (GH-12562)
...
Use literalinclude markup to include Tools/scripts/serve.py code.
Tools/scripts/serve.py first argument on the command line is now optional.
2019-04-16 14:52:54 +02:00
Serhiy Storchaka
02d5db2777
Fixed the serve.py script.
...
The application object must return an iterable yielding bytestrings.
2014-01-11 11:52:20 +02:00
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Antoine Pitrou
f767f08e29
Issue #8867 : Fix `Tools/scripts/serve.py` to work with files containing
...
non-ASCII content.
2010-08-03 17:09:36 +00:00
R. David Murray
5ab2e74036
Merged revisions 81587 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81587 | r.david.murray | 2010-05-28 14:17:20 -0400 (Fri, 28 May 2010) | 2 lines
Make the ctl-C shutdown of serve.py prettier.
........
2010-05-31 23:23:50 +00:00
R. David Murray
71adcac1a2
Merged revisions 80849 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80849 | r.david.murray | 2010-05-05 20:59:04 -0400 (Wed, 05 May 2010) | 4 lines
Have the serve.py script announce the directory it is
serving and which port it is serving it on (I can
never remember the default port number it uses...)
........
2010-05-06 01:09:27 +00:00
Benjamin Peterson
90f5ba538b
convert shebang lines: python -> python3
2010-03-11 22:53:45 +00:00
R. David Murray
e821cb6f24
Merged revisions 78416,78430 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78416 | dirkjan.ochtman | 2010-02-23 23:12:11 -0500 (Tue, 23 Feb 2010) | 1 line
Issue #8004 : add a serve target to the Doc Makefile.
........
r78430 | dirkjan.ochtman | 2010-02-24 12:06:31 -0500 (Wed, 24 Feb 2010) | 1 line
Add some notes about Tools/scripts/serve.py.
........
2010-03-08 17:48:38 +00:00