# Crash report ### Bug description: For example, the following function will trigger the problem: ```python import pprint def spam(): pprint.pprint([]) ``` Crash in `test_code` (on a debug build): ``` python: Objects/codeobject.c:1944: _PyCode_SetUnboundVarCounts: Assertion `unbound.total <= counts->unbound.total' failed. ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-135438 * gh-135493 <!-- /gh-linked-prs -->
Crash report
Bug description:
For example, the following function will trigger the problem:
Crash in
test_code(on a debug build):CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs