STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue47143>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to