Changes between Initial Version and Version 1 of Ticket #30294, comment 10


Ignore:
Timestamp:
Mar 27, 2019, 1:53:30 PM (6 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30294, comment 10

    initial v1  
    11`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.
    22
    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 
     3I 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 
Back to Top