Message403188
Unfortunately fixing this will have to be considered a backwards-incompatible change, since Python doesn't allow naive and aware datetime objects to be compared, so if sqlite3 starts returning aware datetimes, existing code might break.
Alternatively, perhaps this could be fixed in conjunction with changing sqlite3's API to allow per-database converters and adapters. Then, the old global TIMESTAMP converter could be retained for compatibility with existing code, and new code could opt-in to a per-database TIMESTAMP converter with the correct behavior. |
|
Date |
User |
Action |
Args |
2021-10-05 00:00:22 | iafisher | set | recipients:
+ iafisher, corona10, erlendaasland, MrFuppes |
2021-10-05 00:00:22 | iafisher | set | messageid: <1633392022.46.0.664250160652.issue45335@roundup.psfhosted.org> |
2021-10-05 00:00:22 | iafisher | link | issue45335 messages |
2021-10-05 00:00:22 | iafisher | create | |
|