[Python-ideas] breaking out of module execution

Yuval Greenfield ubershmekel at gmail.com
Wed Apr 25 12:22:41 CEST 2012

On Wed, Apr 25, 2012 at 12:52 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> I agree overwriting at the end isn't ideal, but I don't think allowing
> returns at module level is a significant improvement. I'd rather see a
> higher level approach that specifically set out to tackle the problem
> of choosing between multiple implementations of a module at runtime
> that *cleanly supported *testing* all the implementations in a single
> process,* while still having one implementation that was used be
> default.

+1 for Nick's remark.

-1 for the current proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120425/9faeed39/attachment.html>

More information about the Python-ideas mailing list