8000 gh-118761: Improve import time of `sqlite3` by Wulian233 · Pull Request #129118 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118761: Improve import time of sqlite3 #129118

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

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix?
  • Loading branch information
Wulian233 authored Jan 21, 2025
commit c6ca6774a38cb07b5f638be539dce386e5bd75ed
3 changes: 1 addition & 2 deletions Lib/sqlite3/dbapi2.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import collections.abc
import datetime

from _sqlite3 import Row, sqlite_version
from _sqlite3 import *

paramstyle = "qmark"

Expand Down Expand Up @@ -54,7 +54,6 @@ def TimestampFromTicks(ticks):
collections.abc.Sequence.register(Row)

def register_adapters_and_converters():
from _sqlite3 import register_adapter, register_converter
from warnings import warn

msg = ("The default {what} is deprecated as of Python 3.12; "
Expand Down
Loading
0