from module import *
Michael Gummelt <mgummelt-FGKo4X94FMn2fBVCVOL8/[email protected]> Sun, 31 Oct 2010 14:55:01 -0700
| Newsgroups | gmane.comp.python.mod_python |
|---|---|
| Message-ID | <[email protected]> |
--===============1067977773== Content-Type: multipart/alternative; boundary=0015174be05256d2a00493f0be9c --0015174be05256d2a00493f0be9c Content-Type: text/plain; charset=ISO-8859-1 Hi, As I understand it, apache.import_module() is the only way to have auto reloading of each module that I use (I need changes to propagate immediately in develpment). I need this, but I also need to be able to simulate a "from module import *" statement. I understand this is considered to be bad style, but I use it. Is this possible in mod_python, while still maintaining auto reload functionality? --0015174be05256d2a00493f0be9c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><f= ont class=3D"Apple-style-span" face=3D"arial, sans-serif" size=3D"3"><span = class=3D"Apple-style-span" style=3D"border-collapse: collapse; font-size: 1= 2.7315px;">Hi,</span></font><div style=3D"border-collapse: collapse; font-f= amily: arial, sans-serif; font-size: 12.7315px; "> <br></div><div><font class=3D"Apple-style-span" face=3D"arial, sans-serif" = size=3D"3"><span class=3D"Apple-style-span" style=3D"border-collapse: colla= pse; font-size: 12.7315px;">As I understand it, apache.import_module() is t= he only way to have auto reloading of each module that I use (I need change= s to=A0</span></font><font class=3D"Apple-style-span" face=3D"arial, sans-s= erif"><span class=3D"Apple-style-span" style=3D"border-collapse: collapse;"= >propagate</span></font><font class=3D"Apple-style-span" face=3D"arial, san= s-serif" size=3D"3"><span class=3D"Apple-style-span" style=3D"border-collap= se: collapse; font-size: 12.7315px;">=A0immediately in develpment). =A0I ne= ed this, but I also need to be able to simulate a "from module import = *" statement. =A0I understand this is considered to be bad style, but = I use it. =A0Is this possible in mod_python, while still maintaining auto r= eload functionality?</span></font></div> --0015174be05256d2a00493f0be9c-- --===============1067977773== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mod_python mailing list [email protected] http://mailman.modpython.org/mailman/listinfo/mod_python --===============1067977773==--