#29253: method_decorator() with list argument doesn't copy over attributes of 
the
decorator function
--------------------------------+------------------------------------------
     Reporter:  Chris Jerdonek  |                    Owner:  Chris Jerdonek
         Type:  Bug             |                   Status:  closed
    Component:  Utilities       |                  Version:  2.0
     Severity:  Normal          |               Resolution:  fixed
     Keywords:  decorators      |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"da46599143408be58c1845b8c82cacbae0bb56c0" da46599]:
 {{{
 #!CommitTicketReference repository=""
 revision="da46599143408be58c1845b8c82cacbae0bb56c0"
 [2.1.x] Refs #29253 -- Fixed method_decorator() crash if decorator sets a
 new attribute.

 Regression in fdc936c9130cf4fb5d59869674b9a31cc79a7999.

 Backport of f434f5b84f7fcea9a76a551621ecce70786e2899 from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29253#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.e10f42a50ff2b42c7059011c8aa9cc12%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to