22 Dec 2009 17:17
Re: Embedding and modules
Julien Danjou <julien <at> danjou.info>
2009-12-22 16:17:59 GMT
2009-12-22 16:17:59 GMT
At 1261434878 time_t, Mark Lodato wrote: > A few months ago, I came up with a semi-working solution but abandoned > it because I thought it didn't work. Now that I look at it again, I > can't figure out why it didn't work. So, I'll post it here so that > you all can test it out. Please let me know if this solves our > problems; if it does, we can integrate it into Cython. Nice hack. I reviewed the initial code you're loading into Python, and that seems totally fair. Your example works fine also. Cython needs indeed a "fix" to set properly the module name (an option flag maybe?), but you are fixing the bugged import of Python in a elegant manner.And I suggest to merge that into Cython. Thanks, -- -- Julien Danjou // ᐰ <julien <at> danjou.info> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // And thinking so much differently.
And I suggest to merge that into Cython.
Thanks,
RSS Feed