Tim,

Here is equivalent for python -OO in .ini file configuration: 

[uwsgi]
...
optimize = 2

Complete example:
https://bitbucket.org/akorn/wheezy.web/src/tip/demos/quickstart-empty/development.ini

Andriy


________________________________
> Date: Sun, 17 Mar 2013 09:49:30 -0400 
> From: [email protected] 
> To: [email protected] 
> Subject: [uWSGI] optimize configuration option 
> 
> I asked the question on Stackoverflow, but never got a response: 
> http://stackoverflow.com/questions/15227472/uwsgi-optimize-option 
> 
> The documentation states that the optimize option takes a number, but 
> doesn't explain what that number specifies: 
> http://uwsgi-docs.readthedocs.org/en/latest/Options.html#optimize 
> 
> I think I saw something elsewhere that mapped 0 (zero) to no 
> optimization (the default), 1 to the same as -O, and 2 to -OO. Is this 
> how it is in uWSGI? 
> 
> -Tim 
> 
> _______________________________________________ uWSGI mailing list 
> [email protected] 
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi                          
>           
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to