In [3]: GEOSGeometry('POINT (0 0)') == 'POINT (0 0)'
Out[3]: True
In [4]: GEOSGeometry('POINT (0 0)') == GEOSGeometry('POINT (0.0 0.0)')
Out[4]: True
In [5]: GEOSGeometry('POINT (0 0)') == 'POINT (0.0 0.0)'
Out[5]: False
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28433>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* owner: nobody => Sergey Fedoseev
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:1>
Comment (by Sergey Fedoseev):
[https://github.com/django/django/pull/8808 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:3>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:4>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"5ccbcc5bf61c746a1d5ec2b3d2e0dc56c1a63fe0" 5ccbcc5b]:
{{{
#!CommitTicketReference repository=""
revision="5ccbcc5bf61c746a1d5ec2b3d2e0dc56c1a63fe0"
Fixed #28433 -- Made GEOSGeometry.__eq__() work correctly with non-
canonical EWKT string.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28433#comment:6>