FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-133595: Clean up sqlite3.Connection APIs by serhiy-storchaka · Pull Request #133605 · python/cpython · GitHub

Repository navigation

gh-133595: Clean up sqlite3.Connection APIs - #133605

Merged
serhiy-storchaka merged 8 commits into
python:mainfrom
serhiy-storchaka:sqlite3-api-end-deprecation
May 8, 2025
Merged

serhiy-storchaka merged 8 commits into
python:mainfrom
serhiy-storchaka:sqlite3-api-end-deprecation

Conversation

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

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.

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

* 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.
Comment thread Doc/library/sqlite3.rst

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 merged commit dcf93c4 into python:main May 8, 2025
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
* 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
* 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL