Message112785
User code is currently allowed to rebind the gc.garbage attribute, while the "real" garbage list in the GC module actually remains the same. This is counter-intuitive and allows to write apparently correct code such as:
gc.garbage = []
while it should really be:
gc.garbage[:] = [] |
|
Date |
User |
Action |
Args |
2010-08-04 10:25:16 | pitrou | set | recipients:
+ pitrou, tim.peters |
2010-08-04 10:25:16 | pitrou | set | messageid: <1280917516.21.0.771660979533.issue9505@psf.upfronthosting.co.za> |
2010-08-04 10:25:14 | pitrou | link | issue9505 messages |
2010-08-04 10:25:14 | pitrou | create | |
|