#28558: Simplify code by removing OGRIndexError -------------------------------------+------------------------------------- Reporter: Nick Pope | Owner: Nick Pope Type: | Status: assigned Cleanup/optimization | Component: GIS | Version: master Severity: Normal | Keywords: gis Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- Ticket #25225 cleaned up `GEOSIndexError` as template engine lookups began handling `IndexError` and it was no longer required. ([[https://code.djangoproject.com/ticket/25225#comment:3|comment]])
It looks as though this fix for catching `IndexError` was made in #23489. The proposal is to make the equivalent changes as in #25225 for `OGRIndexError` which also allows for related simplifications, e.g. removal of `__iter__` in many GDAL objects. -- Ticket URL: <https://code.djangoproject.com/ticket/28558> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.f7b68998561b250cd0336952f14ade8f%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.