[Python-ideas] make __closure__ writable

Mark Shannon mark at hotpy.org
Tue Mar 20 10:34:42 CET 2012


Yury Selivanov wrote:
> I've created an issue: http://bugs.python.org/issue14369
> 

I think that creating an issue may be premature, given that you have had
no positive feedback on the idea.

I still think making __closure__ mutable is unnecessary.
If you insist that it is it, then please provide an example which would
work with your proposed change, but cannot be made to work using
types.FunctionType() to create a new closure.

Cheers,
Mark.



More information about the Python-ideas mailing list