Message326623
Instances of many builtin types are not weak referencable.
>>> weakref.ref(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot create weak reference to 'int' object
>>> weakref.ref([])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot create weak reference to 'list' object |
|
Date |
User |
Action |
Args |
2018-09-28 09:50:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, asvetlov, docs@python, mdk, xtreak |
2018-09-28 09:50:15 | serhiy.storchaka | set | messageid: <1538128215.34.0.545547206417.issue34830@psf.upfronthosting.co.za> |
2018-09-28 09:50:15 | serhiy.storchaka | link | issue34830 messages |
2018-09-28 09:50:15 | serhiy.storchaka | create | |
|