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.
* has_patch: 0 => 1
Comment:
[[https://github.com/django/django/pull/9006|PR]]
--
Ticket URL: <https://code.djangoproject.com/ticket/28558#comment:1>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/28558#comment:2>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/28558#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9397d3add47f220249c8e543c79489618aaf50d6" 9397d3ad]:
{{{
#!CommitTicketReference repository=""
revision="9397d3add47f220249c8e543c79489618aaf50d6"
Fixed #28558 -- Simplified code to remove OGRIndexError.
The test is a regression for refs #4740 to show that the original fix of
OGRIndexError is no longer needed.
This is similar to the removal of GEOSIndexError in
197b1878105504b5ac7e399e1f52a6093c88baa3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28558#comment:4>