[Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
ncoghlan at gmail.com
Sat May 25 19:15:44 CEST 2013
On Sun, May 26, 2013 at 2:48 AM, PJ Eby <pje at telecommunity.com> wrote:
> On Sat, May 25, 2013 at 10:59 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> Given the global nature of the cache invalidation, it may be better as
>> a module level abc.get_cache_token() function.
> Well, since the only reason to ever use it is to improve performance,
> it'd be better to expose it as an attribute than as a function. ;-)
A single function call is hardly in the same league as arbitrary
traversal of the object graph.
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev