Nick Coghlan <ncogh...@gmail.com> added the comment:

No, that increases complexity and coupling, because it would only work for 
modules that were designed to work that way. Execution of a simple statement 
will work for any global state that can be modified from pure Python code 
(including invocation of more complex configuration settings from a custom 
Python module).

For a mature application, you wouldn't do it this way because you'd have other 
more polished mechanisms in place, but for debugging, experimentation and 
dealing with recalcitrant third party software, it could help deal with various 
problems without having to edit the code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to