Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commentedDec 30, 2020
edited by bedevere-bot
Loading

@erlend-aasland
Copy link
ContributorAuthor

@erlend-aasland
Copy link
ContributorAuthor

FYIhttps://sqlite.org/c3ref/enable_shared_cache.html:
"Shared cache is disabled by default. It is recommended that it stay that way. In other words, do not use this routine. This interface continues to be provided for historical compatibility, but its use is discouraged. Any use of shared cache is discouraged."

(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
Copy link
Contributor

@ZackerySpytzZackerySpytzDec 31, 2020
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
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.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Also, it seems thatsqlite3.enable_shared_cache is not a method.

Correct, it's a built-in function. Good catch.

Copy link
ContributorAuthor

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?

Erlend Egeberg Aaslandand others added4 commitsDecember 31, 2020 20:05
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
Copy link
ContributorAuthor

PTAL,@ZackerySpytz

Erlend E. Aaslandand others added2 commitsJanuary 5, 2021 00:09
Copy link
Member

@berkerpeksagberkerpeksag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM!

erlend-aasland reacted with hooray emoji
@erlend-aasland
Copy link
ContributorAuthor

Thanks, and thanks for the markup fix,@berkerpeksag !

@berkerpeksag
Copy link
Member

All failed tests seem to be unrelated and flaky. Will continue with merge.

erlend-aasland reacted with thumbs up emoji

adorilson pushed a commit to adorilson/cpython that referenced this pull requestMar 13, 2021
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull requestMay 9, 2022
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>
erlend-aasland added a commit that referenced this pull requestMay 16, 2022
The following sqlite3 features were deprecated in 3.10, scheduled forremoval in 3.12:- sqlite3.OptimizedUnicode (gh-23163)- sqlite3.enable_shared_cache (gh-24008)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@merwokmerwokmerwok left review comments

@berkerpeksagberkerpeksagberkerpeksag approved these changes

@ronaldoussorenronaldoussorenAwaiting requested review from ronaldoussoren

+1 more reviewer

@ZackerySpytzZackerySpytzZackerySpytz left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@erlend-aasland@berkerpeksag@merwok@ZackerySpytz@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp