#34302: SpatialReference.srid incorrectly assumes first AUTHORITY value to be
projection SRID
-------------------------------------+-------------------------------------
     Reporter:  Stefan Brand         |                    Owner:  Stefan
                                     |  Brand
         Type:  Bug                  |                   Status:  assigned
    Component:  GIS                  |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"d77762de038d1ab46cdcda2b7202d36c80956e25" d77762d]:
 {{{
 #!CommitTicketReference repository=""
 revision="d77762de038d1ab46cdcda2b7202d36c80956e25"
 Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target
 is None.

 force_bytes() turns None into the byte string b"None". Since
 ctypes.c_char_p() also accepts None, we can bypass force_bytes() if
 target is None.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34302#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018660bccbd1-17a40b67-418f-4dae-9e18-afa3c1a1df43-000000%40eu-central-1.amazonses.com.

Reply via email to