Hi all, I'm a bit surprised to see the following:
>>> r = c.execute(q, idtask=reception_presence_05_01.idtask).fetchall() >>> type(r[-1]) <class 'sqlalchemy.engine.result.RowProxy'> >>> r[-1] (datetime.datetime(2016, 5, 1, 18, 0), datetime.datetime(2016, 5, 1, 22, 0)) >>> r[-1][0] datetime.datetime(2016, 5, 1, 18, 0) >>> r[-1][1] datetime.datetime(2016, 5, 1, 22, 0) >>> r[-1][-1] *** IndexError: list index out of range I wonder whether there is an underlying reason or if it's just an oversight. If the latter, should the fix go into the BaseRowProxy (C and pure Python version) class or into the ResultMetaData._key_fallback() method? Thank you, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.