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 r.david.murray
Recipients Marek Otahal, r.david.murray
Date 2015-08-31.15:54:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441036448.13.0.738859823164.issue24969@psf.upfronthosting.co.za>
In-reply-to
Content
How is (1) different from:

  @lru_cache(maxsize=1000)
   def foo_long(self, arg1...)

As for computing it at runtime: if you need to compute it, you can compute it and *then* define the decorator wrapped function.
History
Date User Action Args
2015-08-31 15:54:08r.david.murraysetrecipients: + r.david.murray, Marek Otahal
2015-08-31 15:54:08r.david.murraysetmessageid: <1441036448.13.0.738859823164.issue24969@psf.upfronthosting.co.za>
2015-08-31 15:54:08r.david.murraylinkissue24969 messages
2015-08-31 15:54:08r.david.murraycreate