-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
gh-93925: Improve doc clarity of sqlite3 commit/rollback, and close #93926
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
gh-93925: Improve doc clarity of sqlite3 commit/rollback, and close #93926
Conversation
|
Followup of #93890 |
|
cc. @python/proofreaders |
- execute*(): Explain that DML queries implicitly open transactions if autocommit is in compat mode. - commit/rollback/close: incorporate pythongh-93926 changes
CAM-Gerlach
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, aside from a couple minor suggested textual tweaks. Thanks!
Co-authored-by: CAM Gerlach <[email protected]>
CAM-Gerlach
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 now; thanks @erlend-aasland ✔️
pradyunsg
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.
Looks good to me! ^>^
|
I haz no approval privileges, but I'll still say this is clearly an improvement :) |
|
Thanks for the reviews. Highly appreciated. |
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
… docs (pythonGH-93926) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 6446592) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
|
Sorry, @erlend-aasland, I could not cleanly backport this to |
|
GH-94010 is a backport of this pull request to the 3.11 branch. |
…d close docs (pythonGH-93926) Co-authored-by: CAM Gerlach <[email protected]>. (cherry picked from commit 6446592) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
|
GH-94011 is a backport of this pull request to the 3.10 branch. |
…e docs (GH-93926) (#94011) Co-authored-by: CAM Gerlach <[email protected]>. (cherry picked from commit 6446592) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
…H-93926) Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit 6446592) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
* GH-93444: remove redundant fields from basicblock: b_nofallthrough, b_exit, b_return (GH-93445) * netrc: Remove unused "import shlex" (#93311) * gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` (#93237) * Fix missing word in sys.float_info docstring (GH-93489) * [doc] Correct a grammatical error in a docstring. (GH-93441) * gh-93442: Make C++ version of _Py_CAST work with 0/NULL. (#93500) Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to continue to compile. Without this, you get an error like: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ The modern way to use a NULL value in C++ is to use nullptr. However, we want to not break extensions that do things the old way. Co-authored-by: serge-sans-paille * gh-93442: Add test for _Py_CAST(nullptr). (gh-93505) * gh-90473: wasmtime does not support absolute symlinks (GH-93490) * gh-89973: Fix re.error in the fnmatch module. (GH-93072) Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error. * Document LOAD_FAST_CHECK opcode (#93498) * gh-93247: Fix assert function in asyncio locks test (#93248) * gh-90473: WASI requires proper open(2) flags (GH-93529) * GH-92308 What's New: list pending removals in 3.13 and future versions (#92562) * gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536) * asyncio.Barrier docs: Fix typo (#93371) taks -> tasks * gh-83728: Add hmac.new default parameter deprecation (
No description provided.