- attached query-slice-last-item.patch
query[-1] doesn't work, always returns IndexError
Issue #1968
resolved
(original reporter: ants) query[-1](-1)
always returns an IndexError
, even when the resultset is non-empty. This is because it gets transformed to list(query[-1:0](-1:0))[0](0)
Comments (3)
-
Account Deleted -
repo owner hey thanks, even got the changes in. 4efb07477bc3978650e81912f1766136e388863f
-
repo owner - removed milestone
Removing milestone: 0.6.6 (automated comment)
- Log in to comment
(original author: ants) Patch with test&fix