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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, blakemadden, brett.cannon, georg.brandl, loewis
Date 2008-12-09.23:24:19
SpamBayes Score 0.000130871
Marked as misclassified No
Message-id <1228865062.32.0.272578677361.issue4592@psf.upfronthosting.co.za>
In-reply-to
Content
See attached documentation patch.

Instead of a direct call to PyModule_Create(), the main function must 
use
    PyImport_AppendInittab("emb", &PyInit_emb);

Note that the same line also works for all 2.x versions.
I'll try to add an item to howto/cporting.rst.
History
Date User Action Args
2008-12-09 23:24:22amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, brett.cannon, georg.brandl, blakemadden
2008-12-09 23:24:22amaury.forgeotdarcsetmessageid: <1228865062.32.0.272578677361.issue4592@psf.upfronthosting.co.za>
2008-12-09 23:24:21amaury.forgeotdarclinkissue4592 messages
2008-12-09 23:24:21amaury.forgeotdarccreate