Message160713
| Author |
ncoghlan |
| Recipients |
ncoghlan, nedbat, pitrou, serhiy.storchaka |
| Date |
2012年05月15日.11:20:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337080833.1.0.430974359742.issue14803@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月15日 11:20:33 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, nedbat, serhiy.storchaka |
| 2012年05月15日 11:20:33 | ncoghlan | set | messageid: <1337080833.1.0.430974359742.issue14803@psf.upfronthosting.co.za> |
| 2012年05月15日 11:20:32 | ncoghlan | link | issue14803 messages |
| 2012年05月15日 11:20:32 | ncoghlan | create |
|