Message316125
This is a memory leak:
>>> while True:
... def f(): pass
... f.__doc__ = f
This also:
>>> while True:
... f = [].append
... f.__module__ = f
This is because the classes "function" and "builtin_function_or_method" do not implement tp_clear. |
|
Date |
User |
Action |
Args |
2018-05-03 17:54:23 | jdemeyer | set | recipients:
+ jdemeyer |
2018-05-03 17:54:23 | jdemeyer | set | messageid: <1525370063.61.0.682650639539.issue33418@psf.upfronthosting.co.za> |
2018-05-03 17:54:23 | jdemeyer | link | issue33418 messages |
2018-05-03 17:54:23 | jdemeyer | create | |
|