Thomas Kluyver <[email protected]> added the comment: 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. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14777> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
