Changes between Version 1 and Version 2 of Ticket #14711, comment 122


Ignore:
Timestamp:
10/07/13 20:06:06 (6 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14711, comment 122

    v1 v2  
    1515
    1616Ah. I didn't realize that. You say that `_coerce_from_hash` is not considered by backtracking. Indeed, that changes things. In that case, `_coerce_from_list` could be a "weak set" (e.g., a `WeakValueDictionary` with trivial keys), since the maps are kept alive by their entries in `_coerce_from_hash`, where the key is kept alive by the `_registered_domains`. This would get rid of the garbage collection problem, if we ever want to have maps that help coercion discovery but don't have lifetime implications.
     17
     18(this should go on a different ticket)