-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Leonov ha scritto:
> Hi Manilo,
>
Its Manlio ;-)
> On 27.03.2010, at 0:07, Manlio Perillo <manlio.perillo@gmail.com> wrote:
>
> Hi.
>
> As I wrote in a previous message, in an effort to improve the WSGI
> module, I have moved Python support to a separate module:
> http://hg.mperillo.ath.cx/nginx/ngx_python_module
>
> When the module is included in Nginx, the Python interpreter will be
> initialized unconditionally.
>
> [...]
>
> What is the best solution?
>> In ngx_http_js_module it works like the second variant, which is copied
>> from ngx_http_perl_module. Some code that knows about blablabla module
>> calls ngx_blablabla_init_interpreter() at the exact moment it going to
>> do something blablabla-related ;)
Note that Python interpreter state is global.
This is the reason why I moved Python initialization to a separate Nginx
core module.
> [...]
Thanks Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuuVYoACgkQscQJ24LbaURgvgCeNP+0ubDLMTPNjKAMFAxv7FsW
kYYAnidma/hWk2DiaoEBBamBw8hPp3vc
=oFvC
-----END PGP SIGNATURE-----
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel