Message282407
issue28427-atomic.patch: is it still necessary to modify weakref.py so much, then?
What I had in mind was a C function with Python signature "del_if_equal(dict, key, value)"; the C function doesn't need to know about weakrefs and checking if they are dead. The C function would simply call PyObject_GetItem() and PyObject_DelItem()---without releasing the GIL in the middle. |
|
Date |
User |
Action |
Args |
2016-12-05 09:58:46 | arigo | set | recipients:
+ arigo, tim.peters, fdrake, pitrou, serhiy.storchaka |
2016-12-05 09:58:46 | arigo | set | messageid: <1480931926.38.0.135309757706.issue28427@psf.upfronthosting.co.za> |
2016-12-05 09:58:46 | arigo | link | issue28427 messages |
2016-12-05 09:58:46 | arigo | create | |
|