in reply to Tk perfection

Personally, what I'd do is first make sure that I have the latest version of the Tk module installed. Once I was sure of that I'd look at modifying the Tk module to get it to stop generating the warning. Once I got a working fix I'd send your patch back to the maintainer of the Tk module.