[issue44523] weakref.proxy documentation might be outdated

2021-06-28 Thread Alexander Neumann
New submission from Alexander Neumann : The documentation currently states: > Proxy objects are not hashable regardless of the referent; this avoids a > number of problems related to their fundamentally mutable nature, and prevent > their use as dictionary keys. callback is

[issue33249] Unpickling objects with recursive references and partials fail due to incomplete state passed to __setstate__

2018-04-09 Thread Alexander Neumann
Alexander Neumann <alen...@gmail.com> added the comment: Changed issue title to summarise the actual problem better. -- title: Pickling objects with recursive references and partials fail -> Unpickling objects with recursive references and partials fail due to incomplete sta

[issue33249] Pickling objects with recursive references and partials fail

2018-04-09 Thread Alexander Neumann
New submission from Alexander Neumann <alen...@gmail.com>: The code below causes a AttributeError: 'Event' object has no attribute 'name' It seems like the entries of `Machine.events` are not available during `__setstate__`. However, the behaviour depends on the Python v