LinearRing doesn't check number of points during list assignment
In [7]: lr = LinearRing((0, 0), (0, 1), (1, 1), (0, 0))
In [8]: lr[:] = ((0,0), (0,1), (0,0))
GEOS_ERROR: IllegalArgumentException: Invalid number of points in LinearRing found 3 - must be 0 or >= 4
---------------------------------------------------------------------------
GEOSException Traceback (most recent call last)
Change History
(5)
Owner: |
changed from nobody to Sergey Fedoseev
|
Status: |
new → assigned
|
Summary: |
LinearRing doesn't check number of poins during list assignment → LinearRing doesn't check number of points during list assignment
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR -- https://github.com/django/django/pull/5538