#36572: Deprecation of constant_time_compare broke usage with mixed-type 
arguments.
-------------------------------+--------------------------------------
     Reporter:  Sage Abdullah  |                    Owner:  (none)
         Type:  Bug            |                   Status:  new
    Component:  Utilities      |                  Version:  dev
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Comment (by Sarah Boyce):

 This was mentioned in the ticket description #36546

 > `constant_time_compare()` does call `force_bytes()` on its arguments but
 this was a workaround for Python 2.7
 (7e3cf3cfd27e53ced0a1fc65a02849f78a292d3d) and no tests in Django's test
 suite fail with those calls removed.

 Is this something you spotted and made you concerned or has this broken
 something on a project?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36572#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070198e5a564dc-3f13e584-9cd8-4cbb-81ae-aa6dfb13bf17-000000%40eu-central-1.amazonses.com.

Reply via email to