[Python-Dev] What's the story on Py_FrozenMain? (original) (raw)
Eric Snow ericsnowcurrently at gmail.com
Sat Nov 16 18:48:38 CET 2013
- Previous message: [Python-Dev] Reminder: Python 3.4 feature freeze in a week
- Next message: [Python-Dev] What's the story on Py_FrozenMain?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
While looking at something unrelated, I happened to peek at Python/frozenmain.c and found Py_FrozenMain(). I kind of get the idea of it, but am curious what motivated the addition and who might be using it. The function is not documented and doesn't have much explanation. I'm guessing that not many are familiar with it (e.g. http://bugs.python.org/issue15893).
FWIW the function was added quite a while ago (and hasn't been touched a whole lot since):
changeset: 1270:14369a5e61679364deeae9a9a0deedbd593a72e0 branch: legacy-trunk user: Guido van Rossum <guido at python.org> date: Thu Apr 01 20:59:32 1993 +0000 summary: Support for frozen scripts; added -i option.
-eric
- Previous message: [Python-Dev] Reminder: Python 3.4 feature freeze in a week
- Next message: [Python-Dev] What's the story on Py_FrozenMain?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]