Changes between Version 1 and Version 2 of Ticket #28679, comment 5
- Timestamp:
- Oct 3, 2017, 4:15:23 PM (7 years ago)
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?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? 2 2 3 3 IMHO, 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.