Message112090
New diff file.
Removed the '-g' option and added a '-b' option.
Using the '-g' option will now bring up pydoc options help.
Added a simple server command prompt with 'b' and 'q' choices
to open a browser and quit the server.
Allow the '-p' option to be use along with the '-b' option.
Catch the error when the port is already in use and print a nice error instead of a traceback with an exception.
The port number now defaults to port 0 and uses a random unused port.
Changed the name of the server to better describe what it does to
http._text_server_thread.py. Used a leading underscore on the name to
indicate it is a private module and give it time to mature a bit more
before making it public.
Rewrote the _text_server_thread.py example in its __doc__ string so
it passes a doctest. |
|
Date |
User |
Action |
Args |
2010-07-30 17:36:39 | ron_adam | set | recipients:
+ ron_adam, ping, georg.brandl, ncoghlan, belopolsky, giampaolo.rodola, eric.araujo, srid, BreamoreBoy |
2010-07-30 17:36:39 | ron_adam | set | messageid: <1280511399.02.0.185350764712.issue2001@psf.upfronthosting.co.za> |
2010-07-30 17:36:37 | ron_adam | link | issue2001 messages |
2010-07-30 17:36:37 | ron_adam | create | |
|