Robert Bradshaw wrote: > My question was why do we have two identifiers that > essentially point to the same thing, with a function that does > nothing but initialize one to the other in the initmodule.
The reason for the function is that Pyrex had to be able to generate code referring to the table before the code that initializes the table, and Windows appears to be incapable of handling static initialization of pointers in a DLL. If Cython can arrange for the table init code to be emitted before the code that references the table, the function and the dual naming could probably be eliminated. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
