Message377295
Supplying a sequence or sqlite3.Row objects to sqlite3.Connection.executemany will cause the Row objects to be interpreted as Sequences instead of Mappings even if the statement to be executed uses named parameter substitution.
That is, values in the Rows are accessed using their numerical indices instead of column names.
This script demonstrate how this is unexpected behavior.
Issue found in Python 3.8.5 and 3.7.6. |
|
Date |
User |
Action |
Args |
2020-09-22 00:43:13 | tony.wu | set | recipients:
+ tony.wu |
2020-09-22 00:43:13 | tony.wu | set | messageid: <1600735393.55.0.581457090913.issue41829@roundup.psfhosted.org> |
2020-09-22 00:43:13 | tony.wu | link | issue41829 messages |
2020-09-22 00:43:13 | tony.wu | create | |
|