On 11 June 2015 at 15:50, Mikko Ohtamaa <[email protected]> wrote:
> Hi Tim, > > On 8 June 2015 at 12:58, Tim Tisdall <[email protected]> wrote: > >> I was reading how the default for python is to hide DeprecationWarning >> messages. For development, I'd like to make sure I see any >> DeprecationWarning >> that come up, but I don't seem to see any similar option in uwsgi. Can >> anyone tell me if it's on or off by default and if there's a way to change >> that setting? >> > > If I understood the question correctly you want to hide > DeprecationWarnings from your application in uWSGI? > Sorry, no. I want to _show_ DeprecationWarnings. The default is to hide them (at least in >=2.7). I guess I thought there might by a uwsgi option since some other command line options for python are available as uwsgi options (such as "optimize"). I guess I can just do a call to "warnings.simplefilter('default')" where I load in my configurations and I should be mostly good (it won't cover the parts run before that).
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
