Right now there are two minor problems with it: 1. Here `CodeType` is assumed to be missing for some reason: https://github.com/python/cpython/blob/26ff43625ed7bf09542ad8f149cb6af710b41e15/Lib/copy.py#L109 But here, it is just used as it should be: https://github.com/python/cpython/blob/26ff43625ed7bf09542ad8f149cb6af710b41e15/Lib/copy.py#L185 2. We can also modernize `type(None)` and etc to use existing `types.` aliases for clarity <!-- gh-linked-prs --> ### Linked PRs * gh-100816 <!-- /gh-linked-prs -->