#32572: ResolverMatch.__repr__() doesn't handle functools.partial() nicely.
-------------------------------------+-------------------------------------
     Reporter:  Nick Pope            |                    Owner:  Nick Pope
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Core (URLs)          |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  __repr__             |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41850eec99366a51f98123f7c51e5bc5a8b2798c" 41850eec]:
 {{{
 #!CommitTicketReference repository=""
 revision="41850eec99366a51f98123f7c51e5bc5a8b2798c"
 Fixed #32572 -- Improved ResolverMatch.__repr__().

 When a partial function was passed as the view, the __repr__() would
 show the `func` argument as `functools.partial` which isn't very
 helpful, especially as it doesn't reveal the underlying function or
 arguments provided.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32572#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.2cbbef73d11a874bba0f293091c6c8b9%40djangoproject.com.

Reply via email to