[Python-Dev] Initialization hook for extenders (original) (raw)

Martin v. L�wis martin@v.loewis.de
01 May 2003 06:10:24 +0200


"Patrick J. Miller" <patmiller@llnl.gov> writes:

I actually want this to do some MPI initialization to setup a single user prompt with broadcast which has to run after PyInitialize() but before the import of readline.

-1. It is easy enough to copy the code of Py_Main, and customize it for special requirements. The next user may want to have a hook to put additional command line options into Py_Main, YAGNI.

Regards, Martin