This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Arfrever, barry, dilettant, eric.snow, ezio.melotti, ncoghlan, python-dev, tshepang, zach.ware
Date 2014-07-25.12:04:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406289848.94.0.564741268965.issue18093@psf.upfronthosting.co.za>
In-reply-to
Content
Prompted to finally get back to this by the python-dev discussion about PEP 432 (as separating these out helps keep the moving parts clear when working on the startup sequence)

In response to Eric's question, Modules/main.c is part of the CPython runtime, rather than a C application that embeds the runtime. The "main" in the name refers to the exported Py_Main, rather than a C main function.

The *actual* C level main function now lives in Programs/python.c (previously Modules/python.c) and calls Py_Main after doing a bit of fiddling about with the command line arguments and the floating point settings.
History
Date User Action Args
2014-07-25 12:04:09ncoghlansetrecipients: + ncoghlan, barry, ezio.melotti, Arfrever, tshepang, python-dev, eric.snow, zach.ware, dilettant
2014-07-25 12:04:08ncoghlansetmessageid: <1406289848.94.0.564741268965.issue18093@psf.upfronthosting.co.za>
2014-07-25 12:04:08ncoghlanlinkissue18093 messages
2014-07-25 12:04:08ncoghlancreate