classification
Title: Deprecate default converters in sqlite3
Type: behavior Stage:
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Strongbeard, erlendaasland, ethan.furman, iafisher
Priority: normal Keywords:

Created on 2021-11-21 16:46 by iafisher, last changed 2021-11-22 06:16 by Strongbeard.

Messages (2)
msg406727 - (view) Author: Ian Fisher (iafisher) * Date: 2021-11-21 16:46
Per discussion at https://discuss.python.org/t/fixing-sqlite-timestamp-converter-to-handle-utc-offsets/, the default converters in SQLite3 have several bugs and are probably not worth continuing to maintain, so I propose deprecating them and removing them in a later version of Python.

Since the converters are opt-in, this should not affect most users of SQLite3.
msg406728 - (view) Author: Ian Fisher (iafisher) * Date: 2021-11-21 16:47
See also bpo-26651 for a related proposal to deprecate the converter/adapter infrastructure entirely.

The proposal in this bug is more limited: remove the default converters (though I think the default adapters should stay), but continue to allow users to define their own converters.
History
Date User Action Args
2021-11-22 06:16:52Strongbeardsetnosy: + Strongbeard
2021-11-21 18:53:54ethan.furmansetnosy: + ethan.furman
2021-11-21 16:47:21iafishersetmessages: + msg406728
2021-11-21 16:46:00iafishercreate