GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — [3.10] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431) by erlend-aasland · Pull Request #27472 · python/cpython Conversation
|
|
cc. @pablogsal |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks, @ambv 🙏🏻 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| rc = sqlite3_exec(self->db, "COMMIT", NULL, NULL, NULL); | ||
| Py_END_ALLOW_THREADS | ||
| if (rc != SQLITE_OK) { | ||
| return _pysqlite_seterror(self->db, NULL); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Confirmed that _pysqlite_seterror is indeed different in 3.10 compared to main:
https://github.com/python/cpython/blob/3.10/Modules/_sqlite/util.h#L38
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.