gh-79009: sqlite3.iterdump now correctly handles tables with autoincrement by itssme · Pull Request #9621 · python/cpython · GitHub

github.com

Tin mới

itssme:fix-issue-34828

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

bpo-34828 sqlite3.iterdump now correctly handles tables with autoincr…

bpo-34828: added entry in NEWS.d/next/Library and in ACKS

849e339#diff-641ffce15acf9f552596b6192c714f53590980dba32625057918b53a9676f9ae

I saw that recently the unit tests of sqlite3 Lib/sqlite3/test/dump.py were changed, 849e339#diff-641ffce15acf9f552596b6192c714f53590980dba32625057918b53a9676f9ae I will update my PR soon.

Merge remote-tracking branch 'origin/master' into fix-issue-34828

bpo-34828 Removed redundant code and made some small formatting chang…

View reviewed changes

awaiting core review

awaiting core review

Merge branch 'main' into fix-issue-34828

bpo-34828 formatting changes as well as readability improvements in s…

View reviewed changes

Learn more about hiding disruptive comments

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

sqlite.iterdump does not work for (most) databases with autoincrement #79009

Merge branch 'main' into fix-issue-34828

bpo-34828: reformatted some tests in test_sqlite3/test.dump.py as wel…

Merge branch 'main' into fix-issue-34828

View reviewed changes

bpo-34828: minified test case for some sqlite3 dump command tests, fi…

Merge branch 'main' into fix-issue-34828

Clean up dump.py - consolidate construction of sqlite_sequence - use existing quoting style

Cleanup: don't use abbreviated link in NEWS entry

Cleanup: tests - reduce number of escape chars in string literals - normalise variable names - in test_dump_autoincrement_create_new_db, simplify setup - use subTest in order to make it easier to assert more thoroughly

Fix 1abc7d05b7a605224611a09eaa74e50ef1cc38e1

needs backport to 3.10

needs backport to 3.10

needs backport to 3.11

needs backport to 3.11

View reviewed changes

: sqlite3.iterdump now correctly handles tables with au…

: sqlite3.iterdump now correctly handles tables with au…

: sqlite3.iterdump now correctly handles tables with autoincr…

: sqlite3.iterdump now correctly handles tables with a…

Revert 30935 defer bpo45162 to 312 (