[Python-Dev] Python FAQ: Why doesn't Python have a "with" statement?

Alex Martelli aleaxit at gmail.com
Sun Jun 15 01:12:47 CEST 2008


On Sat, Jun 14, 2008 at 1:24 PM, Simon Cross <hodgestar at gmail.com> wrote:
> On Sat, Jun 14, 2008 at 10:19 PM, Cesare Di Mauro <cesare at pronto.it> wrote:
>> from Tkinter import *
>
> I discourage this too. :)

And so do I, every single time I teach Python (which is pretty often,
even though many of those cases don't make it into YouTube videos).  I
don't need to rant against it within Google, because Google's Python
Style Guide already absolutely forbids it, fortunately;-).


Alex


More information about the Python-Dev mailing list