mirror of
https://github.com/python/cpython.git
synced 2024-11-29 17:07:13 +01:00
c46d22e52e
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. |
||
---|---|---|
.. | ||
Makefile | ||
pysvr.c | ||
pysvr.py | ||
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!