Changes between Initial Version and Version 1 of Ticket #30294, comment 10
- Timestamp:
- Mar 27, 2019, 1:53:30 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30294, comment 10
initial v1 1 1 `BinaryField` was introduced in 1.8 and has been returning `memoryview` on Python 3 `psycopg2` since then so this isn't a regression nor a bug in a newly introduced feature; this has been happening since the feature was introduced. 2 2 3 I considered this was a ''new feature'' because `HttpResponse` never handled `memoryview` objects in the first place. Interactions with `BinaryField` is red herring here IMO. 4 3 I considered this was a ''new feature'' because `HttpResponse` never handled `memoryview` objects in the first place. Interactions with `BinaryField` is red herring here IMO. Required adjustments to string handling when moving a code base from Python 2 to 3 should be expected. 4