summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/serve.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' ↵Hugo van Kemenade2022-04-291-36/+0
| | | | | | | | | | | | | | | | | | (GH-32354) Also updated `make -C htmlview` so it used a full path with `file://`, because the original didn't open the page (macOS). For example: ```sh cd Doc # Doesn't open anything: python3 -c "import webbrowser; webbrowser.open('build/html/index.html')" # Opens the docs page e.g. file:///Users/hugo/github/cpython/Doc/build/html/index.html : python3 -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))" ``` https://bugs.python.org/issue36329
* bpo-36345: Update wsgiref example (GH-12562)Stéphane Wirtel2019-04-161-2/+3
| | | | Use literalinclude markup to include Tools/scripts/serve.py code. Tools/scripts/serve.py first argument on the command line is now optional.
* Fixed the serve.py script.Serhiy Storchaka2014-01-111-1/+1
| | | | The application object must return an iterable yielding bytestrings.
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | Patch by Serhiy Storchaka.
* Issue #8867: Fix `Tools/scripts/serve.py` to work with files containingAntoine Pitrou2010-08-031-1/+1
| | | | non-ASCII content.
* Merged revisions 81587 via svnmerge fromR. David Murray2010-05-311-2/+5
| | | | | | | | | | 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. ........
* Merged revisions 80849 via svnmerge fromR. David Murray2010-05-061-0/+1
| | | | | | | | | | | | 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...) ........
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merged revisions 78416,78430 via svnmerge fromR. David Murray2010-03-081-0/+31
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. ........