Re: A more useful command-line wsgiref.simple_server?
Geoffrey Spear <[email protected]> Fri, 30 Mar 2012 15:58:52 -0400
| Newsgroups | gmane.comp.python.web |
|---|---|
| Message-ID | <CAGifb9FLq2y0unrz3syc72108cEcnGcbuBubYoSFAk7Ym_VYAQ@mail.gmail.com> |
On Fri, Mar 30, 2012 at 3:20 PM, Masklinn <[email protected]> wrote: > 2. You seem to have asserted from the start that the default should be > mounting modules, but I have seen no evidence or argument in favor of > that so far. > > Defaulting to scripts not only works with both local modules and > arbitrary files and follow cpython's (and most tools's) own behavior, > but would also allows using -mwsgiref.simple_server as a shebang > line. I find this to have quite a lot of value. I may be dense, but is there actually a use case for using a WSGI application from a script? Presumably a script that defines a WSGI application would also run it. _______________________________________________ Web-SIG mailing list [email protected] Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org