# Bug report ### Bug description: Reproducer: ``` $ ./python -Xshowrefcount -c "import tkinter" ``` Seems to be caused by the use of `AddObjectRef` on a strong reference in the `_tkinter` initialization function, causing a double `Py_INCREF`. ### CPython versions tested on: CPython main branch ### Operating systems tested on: Linux <!-- gh-linked-prs --> ### Linked PRs * gh-123505 * gh-123662 <!-- /gh-linked-prs -->
Bug report
Bug description:
Reproducer:
Seems to be caused by the use of
AddObjectRefon a strong reference in the_tkinterinitialization function, causing a doublePy_INCREF.CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
_tkinter#123505_tkinterinitializer #123662