The docs say at https://pyramid.readthedocs.org/en/latest/api/authentication.html "if you don’t specify md5 as the hashalg explicitly, a warning is issued at application startup time."

This is true, however this is implemented as a deprecation warnings, and since Python 2.7 such warnings are ignored by default.

I think it would be good if "pserve" had an option to enable deprecation warnings, or if there would be a way to enable/disable these warnings in the ini file (by default it should be enabled in development.ini, and disabled in production.ini).

A solution is to set the environment variable PYTHONWARNING=d before running pserve, but many people may not be aware of this and miss important deprecation warnings.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to