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 takluyver
Recipients asvetlov, loewis, ned.deily, serhiy.storchaka, takluyver, terry.reedy
Date 2012-05-13.20:40:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336941642.15.0.435195447592.issue14777@psf.upfronthosting.co.za>
In-reply-to
Content
I'm happy to put the cache at the module level, but I'll give other people a chance to express their views before I dive into the code again.

I imagine most applications would only call clipboard_get() on one item, so it wouldn't matter. However, my own interest in this is from IPython, where we create a Tk object just to call clipboard_get() once, so a module level cache would be quicker, albeit only a tiny bit.
History
Date User Action Args
2012-05-13 20:40:42takluyversetrecipients: + takluyver, loewis, terry.reedy, ned.deily, asvetlov, serhiy.storchaka
2012-05-13 20:40:42takluyversetmessageid: <1336941642.15.0.435195447592.issue14777@psf.upfronthosting.co.za>
2012-05-13 20:40:41takluyverlinkissue14777 messages
2012-05-13 20:40:41takluyvercreate