#18985: DeprecationWarning no longer loud by default in Python 2.7+
------------------------------+------------------------------------
     Reporter:  dstufft       |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  Core (Other)  |                  Version:  master
     Severity:  Normal        |               Resolution:  fixed
     Keywords:                |             Triage Stage:  Accepted
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  1
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by Preston Holmes <preston@…>):

 In [changeset:"44046e8a38225067d4d0feac35367eeae133446a"]:
 {{{
 #!CommitTicketReference repository=""
 revision="44046e8a38225067d4d0feac35367eeae133446a"
 Fixed #18985 -- made DeprecationWarnings loud

 Capture warnings in Python >= 2.7 and route through
 console handler, which is subject to DEBUG==True

 Thanks to dstufft for the idea, and claudep for initial patch
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18985#comment:14>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to