Skip to content

Conversation

@gescheit
Copy link
Contributor

@gescheit gescheit commented Jun 20, 2019

fix refcount problem in sqlite3

https://bugs.python.org/issue37347

Copy link
Contributor

Choose a reason for hiding this comment

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

We should try to avoid writing tests that use sys.getrefcount. Does this test fail if you pass -R :: to regrtest.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope. But it can be rewritten to fall to segmentation fault.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good to me. Not crashing is the behavior we want to test anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then it is done in d1b57ff.

@benjaminp benjaminp merged commit b9a0376 into python:master Jul 13, 2019
@miss-islington
Copy link
Contributor

Thanks @gescheit for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-14725 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 13, 2019
(cherry picked from commit b9a0376)

Co-authored-by: gescheit <gescheit@yandex-team.ru>
miss-islington added a commit that referenced this pull request Jul 13, 2019
(cherry picked from commit b9a0376)

Co-authored-by: gescheit <gescheit@yandex-team.ru>
coleifer added a commit to coleifer/pysqlite3 that referenced this pull request Jul 22, 2019
coleifer added a commit to coleifer/sqlcipher3 that referenced this pull request Jul 22, 2019
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
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.

5 participants