[issue47143] Add types.copy_class() which updates closures
STINNER Victor
report at bugs.python.org
Mon Mar 28 19:24:47 EDT 2022
STINNER Victor <vstinner at python.org> added the comment:
The stdlib types module looks like a better place for such new function, rather than the functools module.
The types module documentation starts with: "This module defines utility functions to assist in dynamic creation of new types."
https://docs.python.org/3/library/types.html
----------
title: Add functools.copy_class() which updates closures -> Add types.copy_class() which updates closures
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47143>
_______________________________________
More information about the Python-bugs-list
mailing list