On Sun, May 26, 2013 at 2:48 AM, PJ Eby <p...@telecommunity.com> wrote: > On Sat, May 25, 2013 at 10:59 AM, Nick Coghlan <ncogh...@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. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com