#31719: Remaining data.decode('ascii') @ hashers.py, but data is a str
-------------------------------------+-------------------------------------
     Reporter:  Marcel Nogueira d'   |                    Owner:  nobody
  Eurydice                           |
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.auth         |                  Version:  3.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  string, decode,      |             Triage Stage:
  python3                            |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by naohide):

 I'm facing the same issue. And tried to check type but I got str.. I don't
 know why though..

 ```
 import bcrypt
 type(bcrypt.hashpw(b'password', bcrypt.gensalt()))
 <class 'str'>
 ```

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31719#comment:2>
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/062.061d2ec42cd516458491f1313deeb1bf%40djangoproject.com.

Reply via email to