Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-24464: Deprecate sqlite3.enable_shared_cache #24008
Uh oh!
There was an error while loading. Please reload this page.
Conversation
erlend-aasland commented Dec 30, 2020 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland commented Dec 30, 2020
erlend-aasland commented Dec 30, 2020
FYI https://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, and it's use is strongly | |
| Python 3.12. The method is undocumented, and its use is strongly |
It is incorrect to use a contraction here.
Also, it seems that sqlite3.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.
See 7d52671. Is the new phrasing acceptable?
Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst Outdated Show 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 Outdated Show 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 commented Dec 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 commented Jan 6, 2021
Thanks, and thanks for the markup fix, @berkerpeksag ! |
berkerpeksag commented Jan 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 for removal in 3.12: - sqlite3.OptimizedUnicode (pythongh-23163) - sqlite3.enable_shared_cache (pythongh-24008) Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
https://bugs.python.org/issue24464