summaryrefslogtreecommitdiffstats
path: root/Demo/pysvr
Commit message (Collapse)AuthorAgeFilesLines
* Add setsockopt...SO_REUSEADDR to avoid stupid waiting when killing andGuido van Rossum1997-12-251-1/+5
| | | | restarting the server.
* Use a counter instead of a Boolean to check for initialized; n callsGuido van Rossum1997-08-201-0/+2
| | | | to Py_Initialize will be undone by n calls to Py_Uninitialize.
* Added (commented-out) defs for use with the build tree instead of theGuido van Rossum1997-08-141-3/+10
| | | | installed version.
* Print ps (process status) for us when starting a new thread.Guido van Rossum1997-08-021-9/+40
| | | | | | | | | | Even less shuffling of stdout (only at start of new interpreter). Interact properly with new interpreter initialization conventions (must use Py_Initialize/Py_Finalize *and* Py_NewInterpreter/Py_EndInterpreter). Probably more minor changes.
* Use Py_NewInterpreter() and friends. Remove saving/restoring of std files.Guido van Rossum1997-07-251-22/+16
|
* Some improvements, e.g. -L/depot/... is not needed.Guido van Rossum1997-07-191-8/+5
|
* Added leading comment and security check.Guido van Rossum1997-07-191-5/+28
|
* Reformulate security check using getsockname().Guido van Rossum1997-07-191-3/+4
|
* Change security policy -- only accept requests from current host.Guido van Rossum1997-07-191-21/+9
|
* New example of threaded embeddingGuido van Rossum1997-07-194-0/+505