{{ message }}
bpo-45243: Expose SQLite connection limits as sqlite3.Connection attributes#28790
Closed
erlend-aasland wants to merge 5 commits into
Closed
bpo-45243: Expose SQLite connection limits as sqlite3.Connection attributes#28790erlend-aasland wants to merge 5 commits into
sqlite3.Connection attributes#28790erlend-aasland wants to merge 5 commits into
Conversation
e0da443 to
a0c1251
Compare
October 7, 2021 12:51
erlend-aasland
commented
Oct 7, 2021
a0c1251 to
f4b9fcd
Compare
October 7, 2021 12:56
5ec4adb to
d04794d
Compare
October 7, 2021 13:29
Member
old = con.SQLITE_LIMIT_LENGTH
con.SQLITE_LIMIT_LENGTH = newdoes not look nice to me. If go this way, I would prefer old = con.limit.length
con.limit.length = newBut do we have precedences of such getters and setters in the stdlib? There are also disadvantages in comparison with traditional
|
Sorry, something went wrong.
Contributor
Author
|
This approach will be more tedious to maintain. I'm closing this in favour of GH-28463. |
Sorry, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
https://bugs.python.org/issue45243