Changes between Initial Version and Version 1 of Ticket #34026


Ignore:
Timestamp:
Sep 21, 2022, 5:23:14 AM (22 months ago)
Author:
Benoît Vinot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34026 – Description

    initial v1  
    66{{{
    77from django.contrib.gis.geos.prototypes.io import _WKBReader
    8 wkb='0101000020E6100000C07DD40B0FA8F5BF8794C5DD53DD4740'
     8wkb='0101000020E6100000C07DD40B0FA8F5BF8794C5DD53DD4740' # <-- string
    99_WKBReader().read(wkb)
    1010}}}
     
    1515from django.contrib.gis.geos.prototypes.io import _WKBReader
    1616wkb='0101000020E6100000C07DD40B0FA8F5BF8794C5DD53DD4740'
    17 _WKBReader().read(wkb.encode())
     17_WKBReader().read(wkb.encode()) # <--- Converted into bytes
    1818}}}
    1919
    20 I suggest to replace the current implementation of this method by:
     20I suggest replacing the current implementation of this method by:
    2121
    2222{{{
Back to Top