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


Ignore:
Timestamp:
Oct 3, 2017, 3:17:50 PM (7 years ago)
Author:
François Freitag

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28679, comment 5

    initial v1  
    11Python 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
    3 IMHO, decoding user-encoded text (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.
     3IMHO, 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