cpython/Demo/pysvr
Guido van Rossum c46d22e52e Print ps (process status) for us when starting a new thread.
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.
1997-08-02 02:02:22 +00:00
..
Makefile Some improvements, e.g. -L/depot/... is not needed. 1997-07-19 21:34:11 +00:00
README New example of threaded embedding 1997-07-19 21:00:47 +00:00
pysvr.c Print ps (process status) for us when starting a new thread. 1997-08-02 02:02:22 +00:00
pysvr.py Reformulate security check using getsockname(). 1997-07-19 21:29:28 +00:00

README

This is an example of a multi-threaded C application embedding a
Python interpreter.

The particular application is a multi-threaded telnet-like server that
provides you with a Python prompt (instead of a shell prompt).

The file pysvr.py is a prototype in Python.

THIS APPLICATION IS NOT SECURE -- ONLY USE IT FOR TESTING!