Hi again,

Gary Furnish wrote:
> Finally it splits module initialization into two phases: one that initiates
> types and handles imports, and another that executes python commands at the
> global namespace level.

If the goal is to clean up the module initialisation code, then two functions
are not enough. IMHO, clean module init code consists of one top-level init
function that calls separate functions to 1) create the module, 2) intern
constants, 3) set up global names, 4) initialise the C-API, 5) handle
cimports, 6) set up types, 7) execute module-level code. (Don't know if this
is a complete list).

Can you provide a patch that does that?

Stefan


_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to