# Bug report ### Bug description: ``` >python_d -X showrefcount -c "import re; re.sub(r'()', r'\1', '')" [7140 refs, 4669 blocks] ``` [`_strptime`](https://github.com/python/cpython/blob/e6076d1e1303c3cc14bc02baf607535af2cf1501/Lib/_strptime.py#L250-#L253) is a module affected by this. ### CPython versions tested on: 3.10, 3.11, 3.12, 3.13, CPython main branch ### Operating systems tested on: Windows <!-- gh-linked-prs --> ### Linked PRs * gh-120245 * gh-120264 * gh-120265 <!-- /gh-linked-prs -->