Changes between Version 1 and Version 2 of Ticket #28679, comment 5


Ignore:
Timestamp:
Oct 3, 2017, 4:15:23 PM (7 years ago)
Author:
François Freitag

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28679, comment 5

    v1 v2  
    1 Python is [https://github.com/python/cpython/blob/543386b7f077d210ea0722079d68beb6c066730a/Lib/urllib/parse.py#L867-L891|treating bytes differently than other types], perhaps Django should maintain that behaviour?
     1Python is [https://github.com/python/cpython/blob/543386b7f077d210ea0722079d68beb6c066730a/Lib/urllib/parse.py#L867-L891| treating bytes differently than other types], perhaps Django should maintain that behaviour?
    22
    33IMHO, decoding user-encoded bytes (assuming utf-8) and re-encoding is not useful and may cause harm to users who decided to encode their data using another encoding. I tend to agree with Claude on special-casing bytes.
Back to Top