#27795: Audit force_text invocations
-------------------------------------+-------------------------------------
     Reporter:  Claude Paroz         |                    Owner:  Claude
         Type:                       |  Paroz
  Cleanup/optimization               |                   Status:  closed
    Component:  Utilities            |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

 In [changeset:"1e6b9e29e64fc9f13d4680be141c64d24eb92cc9" 1e6b9e2]:
 {{{
 #!CommitTicketReference repository=""
 revision="1e6b9e29e64fc9f13d4680be141c64d24eb92cc9"
 Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri().

 The value returned from urllib.parse.quote() is always a string, so can
 safely call .encode().
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27795#comment:40>
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.ace6e3a722098774867dc21bf6421c2d%40djangoproject.com.

Reply via email to