Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-41861: Convert sqlite3 to PEP 384#22409

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commentedSep 25, 2020
edited by bedevere-bot
Loading

TODO:

  • Fix Cursor type leaks references
  • Fix Connection type leaks references

@berkerpeksag or@vstinner, could you point me in the right direction regarding solving the ref. leaks? I've been testing usingpython.exe -m test -F -r -j1 -R 3:10 test_sqlite.

https://www.python.org/dev/peps/pep-0384/

First step of convertingsqlite3 to multi-phase init. AFAICS, the next step would be dynamic state.

https://bugs.python.org/issue41861

@erlend-aaslanderlend-aasland changed the titlebpo-41861: Convert sqlite to PEP 384bpo-41861: Convert sqlite3 to PEP 384Sep 25, 2020
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

Sorry, but this PR is too large to be easily reviewed.

It seems like the PR converts static types to heap types. Can you try to write a first PR which only modify a few files and convert few types (ex: 3), which would be easier to review?

Please don't propose multiple PRs in parallel, since conflicts in PyInit__sqlite3() are likely.

For example, starting by only converting cache types:

extern PyTypeObject pysqlite_NodeType;extern PyTypeObject pysqlite_CacheType;

@erlend-aasland
Copy link
ContributorAuthor

Sorry, but this PR is too large to be easily reviewed.

It seems like the PR converts static types to heap types. Can you try to write a first PR which only modify a few files and convert few types (ex: 3), which would be easier to review?

Of course. I'll remove the two problematic commits and create a new PR. Thanks!

Please don't propose multiple PRs in parallel, since conflicts in PyInit__sqlite3() are likely.

Acknowledged.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner left review comments

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@erlend-aasland@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp