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

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 16 03:08:55 CEST 2008


Cesare Di Mauro wrote:

> OK, but nobody have questioned about removing 'from something import *' just to help noobs...

I'm not advocating removing it from the language, far
from it. I agree there are legitimate uses for it in
rare cases.

I just wish that people wouldn't use it in tutorials,
where it's the first thing the newcomer will see, and
get the impression that it's the normal thing to do.

-- 
Greg


More information about the Python-Dev mailing list