Ethan Furman added the comment:

Currently, the patch has the main values pre-created (so identity works as 
expected), and combinations are created on the fly (like normal class 
instances) -- in which case identity cannot be relied upon.

Once I have the basic work done, I'll go back and add a cache so each unique 
value is only created once;  at some point I'll make those cached values 
weakref'ed so they disappear when no longer used.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23591>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to