8000 bpo-45061: Detect refcount bug on empty string singleton by vstinner · Pull Request #28504 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-45061: Detect refcount bug on empty string singleton #28504

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

Merged
merged 1 commit into from
Sep 21, 2021
Merged

bpo-45061: Detect refcount bug on empty string singleton #28504

merged 1 commit into from
Sep 21, 2021

Conversation

vstinner
Copy link
Member
@vstinner vstinner commented Sep 21, 2021

Detect refcount bugs in C extensions when the empty Unicode string
singleton is destroyed by mistake.

  • Move forward declarations to the top of unicodeobject.c.
  • Simplifiy unicode_is_singleton().

https://bugs.python.org/issue45061

Detect refcount bugs in C extensions when the empty Unicode string
singleton is destroyed by mistake.

* Move forward declarations to the top of unicodeobject.c.
* Simplifiy unicode_is_singleton().
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
0