GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-133595: Clean up sqlite3.Connection APIs by serhiy-storchaka · Pull Request #133605 · python/cpython

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 7, 2025 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • All parameters of sqlite3.connect() except "database" are now keyword-only.
  • The first three parameters of methods create_function() and create_aggregate() are now positional-only.
  • The first parameter of methods set_authorizer(), set_progress_handler() and set_trace_callback() is now positional-only.
  • Issue: Finish deprecation period for some sqlite3.Connection APIs #133595

📚 Documentation preview 📚: https://cpython-previews--133605.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@serhiy-storchaka
pythongh-133595: Clean up sqlite3.Connection APIs
d60e936
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
  create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
  and set_trace_callback() is now positional-only.
@serhiy-storchaka
serhiy-storchaka requested a review from erlend-aasland May 7, 2025 19:17
@serhiy-storchaka
serhiy-storchaka requested a review from berkerpeksag as a code owner May 7, 2025 19:18
@bedevere-app bedevere-app Bot mentioned this pull request May 7, 2025
Finish deprecation period for some sqlite3.Connection APIs #133595
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label May 7, 2025
erlend-aasland
erlend-aasland approved these changes May 7, 2025
View reviewed changes
Comment thread Doc/library/sqlite3.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels May 7, 2025
@serhiy-storchaka
Updated also What's New.
4e52335
@erlend-aasland erlend-aasland mentioned this pull request May 7, 2025
Test fixes for 3.15 #133599
Merged
zware added 2 commits May 7, 2025 14:51
@zware
Merge upstream test fixes
685f534
@zware
Revert upstream warningignore additions
cde32c2
@zware

zware commented May 7, 2025

Copy link
Copy Markdown
Member

Please forgive the intrusion; I merged main and reverted the relevant bits of GH-133599 to allow CI to pass.

serhiy-storchaka reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

serhiy-storchaka added 4 commits May 7, 2025 23:42
@serhiy-storchaka
Fix the remaining warning.
37957a0
@serhiy-storchaka
Add the issue reference.
cff53e3
@serhiy-storchaka
Regen global objects.
176bf94
@serhiy-storchaka
Merge branch 'main' into sqlite3-api-end-deprecation
162abc1
@serhiy-storchaka
serhiy-storchaka merged commit dcf93c4 into python:main May 8, 2025
@bedevere-app bedevere-app Bot removed the awaiting merge label May 8, 2025
@serhiy-storchaka
serhiy-storchaka deleted the sqlite3-api-end-deprecation branch May 8, 2025 12:42
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
@serhiy-storchaka @Pranjal095
pythongh-133595: Clean up sqlite3.Connection APIs (pythonGH-133605)
e3170c8
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
  create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
  and set_trace_callback() is now positional-only.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
@serhiy-storchaka @taegyunkim
pythongh-133595: Clean up sqlite3.Connection APIs (pythonGH-133605)
5e9c2d3
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
  create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
  and set_trace_callback() is now positional-only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@erlend-aasland erlend-aasland erlend-aasland approved these changes
@berkerpeksag berkerpeksag Awaiting requested review from berkerpeksag

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@serhiy-storchaka @zware @erlend-aasland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.