Brett Cannon <br...@python.org> added the comment:

RE: "And do you think polling for a new magic attribute is the right 
approach?": my thinking behind that idea is that by standardizing the function 
name it's easy to tell if there's a cache, but you can also do away with the 
registration with a 3 lines of code. To me, the priority is clearing caches on 
a per-module basici and having a clear-all mechanism can be beneficial, not the 
other way around.

----------

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

Reply via email to