#17040: In utils.crypto.constant_time_compare only call ord on non ints.
--------------------------+------------------------------------
     Reporter:  adsworth  |                    Owner:  adsworth
         Type:  Bug       |                   Status:  closed
    Component:  Python 3  |                  Version:  1.3
     Severity:  Normal    |               Resolution:  fixed
     Keywords:            |             Triage Stage:  Accepted
    Has patch:  1         |      Needs documentation:  0
  Needs tests:  0         |  Patch needs improvement:  0
Easy pickings:  0         |                    UI/UX:  0
--------------------------+------------------------------------
Changes (by Aymeric Augustin <aymeric.augustin@…>):

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


Comment:

 In [62954ba04c86c4cea3b17a872ba6a0837730e17d]:
 {{{
 #!CommitTicketReference repository=""
 revision="62954ba04c86c4cea3b17a872ba6a0837730e17d"
 [py3] Fixed #17040 -- ported django.utils.crypto.constant_time_compare.

 This is a private API; adding a type check is acceptable.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17040#comment:7>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to