0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Demo/pysvr
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter:
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
..
Makefile
pysvr.c
pysvr.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +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!