Skip to content

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

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:dealloc_unicode
Sep 21, 2021
Merged

bpo-45061: Detect refcount bug on empty string singleton#28504
vstinner merged 1 commit intopython:mainfrom
vstinner:dealloc_unicode

Conversation

@vstinner
Copy link
Copy Markdown
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