cpython/Demo/pysvr
Guido van Rossum aa61505fd2 Use a counter instead of a Boolean to check for initialized; n calls
to Py_Initialize will be undone by n calls to Py_Uninitialize.
1997-08-20 22:40:18 +00:00
..
Makefile Added (commented-out) defs for use with the build tree instead of the 1997-08-14 19:48:42 +00:00
README New example of threaded embedding 1997-07-19 21:00:47 +00:00
pysvr.c Use a counter instead of a Boolean to check for initialized; n calls 1997-08-20 22:40:18 +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!