Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'debug': 0.07; 'problem?': 0.07; 'utf-8': 0.07; 'apache,': 0.09; 'stack.': 0.09; '\xe2\x80\x94': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'django': 0.11; 'suggest': 0.14; 'subject:Apache': 0.16; 'subject:after': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '(in': 0.22; 'cc:addr:python.org': 0.22; 'frameworks': 0.24; 'issue,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '(for': 0.26; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; "doesn't": 0.30; '(like': 0.30; 'dec': 0.30; 'mode': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'example,': 0.37; 'server': 0.38; 'issue': 0.38; 'planning': 0.38; 'bad': 0.39; 'url:mail': 0.40; 'mentioned': 0.61; 'from:charset:utf-8': 0.61; 'offer': 0.62; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'production': 0.68; '26,': 0.68; '8bit%:43': 0.74; 'around,': 0.84; 'subject:source': 0.84; 'reasons,': 0.91; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OAXsMZ0nGW26o02CVOMH6FtPoqH/Cp5XM2665rjp9LM=; b=L8eqt0yJwTwrEVd2+n1e0tx6SWY3OKRadBSRFIjMxaFPZXpCt4Mx5QpU/OUdksDiWz IDr8Y/EMDD3X6A9HqiBo5sZXwtLYay3RVJsHLJ6iJmKZD6UHOwMPupK7duSkjx2S4ABJ KJ1b1Q7V91tp9XQRt1t+97ppybDMXt1JGCIl+zlXJw5FO92aeL5thdEc/EBZ5XtzyYsk uk86eCnM1n6d+6chaqZ7EhbZefJsEj7H1nXK65ucXWP87s4/Qhrmw3WfqHEglKSqZtKY klHoGoNEeZrdXw2p+uQon6xIQ7lJXGEIj+38GWDtgCAMRSJczt6eFIzOyzJDHr7nXTdE 7lhA== MIME-Version: 1.0 X-Received: by 10.50.176.137 with SMTP id ci9mr35131907igc.31.1388063621590; Thu, 26 Dec 2013 05:13:41 -0800 (PST) In-Reply-To: <9b851416-a03a-46f7-82c3-20028e05cf37@googlegroups.com> References: <9e70e719-10f9-4772-8da9-0270538f9fba@googlegroups.com> <9b851416-a03a-46f7-82c3-20028e05cf37@googlegroups.com> Date: Thu, 26 Dec 2013 14:13:41 +0100 Subject: Re: Apache restart after source changes From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: Fredrik Bertilsson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388063630 news.xs4all.nl 2934 [2001:888:2000:d::a6]:40723 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62738 On Thu, Dec 26, 2013 at 7:36 AM, Fredrik Bertilsson wro= te: >> Also, it's not a python issue, it's an issue with your particular >> stack. Other stacks do automatic reloading (for example, the web >> server that Django uses). > > Which web server do you suggest instead of Apache, which doesn't have thi= s problem? (I am not planning to use Django) > -- > https://mail.python.org/mailman/listinfo/python-list It depends. Some other frameworks (like Flask) also offer auto-reload in debug mode =E2=80=94 auto-reload can be bad for you and is not supported= by production environments, in which uWSGI (in Emperor mode if possible/makes sense on Windows) and nginx is the best solution around, and auto-reload isn=E2=80=99t supported (for good reasons, as mentioned before). --=20 Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense