bpo-24464: Deprecate sqlite3.enable_shared_cache#24008
bpo-24464: Deprecate sqlite3.enable_shared_cache#24008berkerpeksag merged 10 commits intopython:masterfrom
Conversation
|
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 |
There was a problem hiding this comment.
| 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.
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.
See 7d52671. Is the new phrasing acceptable?
Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
PTAL, @ZackerySpytz |
|
Thanks, and thanks for the markup fix, @berkerpeksag ! |
|
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