[Python-ideas] revisit pep 377: good use case?

Craig Yoshioka craigyk at me.com
Thu Mar 1 03:21:23 CET 2012


> The fact that with blocks are not flow-control is a feature, not a bug.
> 
>> why shouldn't the with block be skippable?
> 
> It is skippable. Like every other code block, it is skippable by wrapping it in flow-control code to decide whether or not to skip it.

I'm not claiming the current functionality is a bug, just unfortunate.









More information about the Python-ideas mailing list