#31375: make_password shouldn't accept values other than bytes or string as an
argument
------------------------------+--------------------------------------
     Reporter:  iamdavidcz    |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  contrib.auth  |                  Version:  3.0
     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 iamdavidcz):

 Replying to [comment:5 hashlash]:

 > As Simon Charette said, it is hasher specific. So if we want to make it
 language agnostic, I think the first option will do (adding `if not
 isinstance(password, (bytes, str))` in `make_password`)

 Fully agree. Let's choose the first option then.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31375#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.74fd85c31e50b4e65b617e767ba02ad6%40djangoproject.com.

Reply via email to