This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erlendaasland
Recipients berker.peksag, erlendaasland, serhiy.storchaka
Date 2021-03-15.23:09:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615849784.81.0.125050267571.issue43505@roundup.psfhosted.org>
In-reply-to
Content
We should explicitly initialise (and shut down) the SQLite library in the sqlite3 module. This may be required in future releases:

Quoting from the SQLite docs:
"For maximum portability, it is recommended that applications always invoke sqlite3_initialize() directly prior to using any other SQLite interface. Future releases of SQLite may require this. In other words, the behavior exhibited when SQLite is compiled with SQLITE_OMIT_AUTOINIT might become the default behavior in some future release of SQLite."

Ref.
- https://sqlite.org/c3ref/initialize.html
- https://sqlite.org/compile.html#omit_autoinit
History
Date User Action Args
2021-03-15 23:09:44erlendaaslandsetrecipients: + erlendaasland, berker.peksag, serhiy.storchaka
2021-03-15 23:09:44erlendaaslandsetmessageid: <1615849784.81.0.125050267571.issue43505@roundup.psfhosted.org>
2021-03-15 23:09:44erlendaaslandlinkissue43505 messages
2021-03-15 23:09:44erlendaaslandcreate