#25661: LinearRing doesn't check number of poins during list assignment
----------------------------+--------------------
     Reporter:  sir-sigurd  |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  GIS         |    Version:  1.8
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+--------------------
 {{{
 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)
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25661>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.80bee4a36e5ba8d0d53105e5b2ee5c61%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to