Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
bpo-24464: Deprecate sqlite3.enable_shared_cache#24008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
erlend-aasland commentedDec 30, 2020
erlend-aasland commentedDec 30, 2020
FYIhttps://sqlite.org/c3ref/enable_shared_cache.html: |
Doc/whatsnew/3.10.rst Outdated
| (Contributed by Erlend E. Aasland in:issue:`42264`.) | ||
| * ``sqlite3.enable_shared_cache`` is now deprecated, scheduled for removal in | ||
| Python 3.12. The method is undocumented, and it's use is strongly |
ZackerySpytzDec 31, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| Python 3.12. The method is undocumented, andit's use is strongly | |
| Python 3.12. The method is undocumented, andits use is strongly |
It is incorrect to use a contraction here.
Also, it seems thatsqlite3.enable_shared_cache is not a method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Also, it seems that
sqlite3.enable_shared_cacheis not a method.
Correct, it's a built-in function. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
See7d52671. Is the new phrasing acceptable?
Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
erlend-aasland commentedDec 31, 2020
PTAL,@ZackerySpytz |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
berkerpeksag left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM!
erlend-aasland commentedJan 6, 2021
Thanks, and thanks for the markup fix,@berkerpeksag ! |
berkerpeksag commentedJan 6, 2021
All failed tests seem to be unrelated and flaky. Will continue with merge. |
The following sqlite3 features were deprecated in 3.10, scheduled forremoval in 3.12:- sqlite3.OptimizedUnicode (pythongh-23163)- sqlite3.enable_shared_cache (pythongh-24008)Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue24464