This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients daniel.urban, lukasz.langa, ncoghlan, pitrou, pje, python-dev
Date 2013-05-25.16:56:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369500966.2562.11.camel@fsol>
In-reply-to <1369500868.65.0.599552839538.issue16832@psf.upfronthosting.co.za>
Content
> Please expose this as an attribute of the class or module, not as a
> function.  A function is orders of magnitude slower than attribute
> access, and the entire point of exposing this is to allow caches to be
> invalidated.

-1. Exposing a function allows to modify the underlying implementation
without breaking any API.
History
Date User Action Args
2013-05-25 16:56:13pitrousetrecipients: + pitrou, pje, ncoghlan, daniel.urban, lukasz.langa, python-dev
2013-05-25 16:56:13pitroulinkissue16832 messages
2013-05-25 16:56:13pitroucreate