Message160573
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. |
|
Date |
User |
Action |
Args |
2012-05-13 20:40:42 | takluyver | set | recipients:
+ takluyver, loewis, terry.reedy, ned.deily, asvetlov, serhiy.storchaka |
2012-05-13 20:40:42 | takluyver | set | messageid: <1336941642.15.0.435195447592.issue14777@psf.upfronthosting.co.za> |
2012-05-13 20:40:41 | takluyver | link | issue14777 messages |
2012-05-13 20:40:41 | takluyver | create | |
|