[Python-ideas] make __closure__ writable
yselivanov.ml at gmail.com
Mon Mar 26 05:04:02 CEST 2012
On 2012-03-25, at 8:32 PM, Victor Stinner wrote:
> 2012/3/16 Yury Selivanov <yselivanov.ml at gmail.com>:
>> Can we make the __closure__ attribute writeable? Since __code__ already is, ...
> I never understood why __code__ is writable. What is the usecase of
> modifying the code of an existing function?
Metaprogramming in its various forms. Read this thread and you'll find one
More information about the Python-ideas