Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'exercise': 0.04; 'subject:code': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'idle.': 0.16; 'sat,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'coding': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'error': 0.23; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'gives': 0.31; 'code': 0.31; 'anyone': 0.31; 'file': 0.32; 'this.': 0.32; 'run': 0.32; 'could': 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'sometimes': 0.38; 'files': 0.38; 'does': 0.39; 'system.': 0.39; 'how': 0.40; 'most': 0.60; 'save': 0.62; 'more': 0.64; 'unique.': 0.84; 'to:none': 0.92 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:cc :content-type:content-transfer-encoding; bh=Sxhm1VwPX3GQJYM+QaukSsij0rAWG3+/GPPFDbHh+B4=; b=mlrOaxsfyrO/nK7rEBUn/NbzqvQO/2OSJ2VuqWv8ZwD7qdFKHp6igdBEgnNcYZHijh o7HCUI9EKo8NoJr+geYf044Uo4FlopJX2vTRFtza+wMmFxCDYgqjmwFjCL8zj3aTG4um 3z1dXOPsizzoT0IMtlck7n3LmXCo5cnXgrGPTKYnvH03A3Kz+CLX3gzJcarUGundZ0dl 8Qp+Tkj/SYSo/QbK7tG6kacm+WOyHrLvYtYjCDcgd0MM3p/RWD39j2/L1c1aW2mdefy8 CS+AtyJEzqQVEY8SOk+66LtvOiXEoLnjzXaq92KYLCPJsZe/HiHxJljvpyJoa/tULVuj 1BcQ== MIME-Version: 1.0 X-Received: by 10.58.89.242 with SMTP id br18mr971060veb.66.1400857471572; Fri, 23 May 2014 08:04:31 -0700 (PDT) In-Reply-To: References: Date: Sat, 24 May 2014 01:04:31 +1000 Subject: Re: Windows automatic rebooting due to faulty code From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1400857479 news.xs4all.nl 2852 [2001:888:2000:d::a6]:50413 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71931 On Sat, May 24, 2014 at 12:56 AM, Ronak Dhakan wro= te: > I am learning python, and sometimes when I run a file with a faulty, wind= ows gives a message that the system is rebooting and gives me 1 minute to s= ave my work. Does anyone know how can I fix this? Most of the time a faulty= code gives errors in python, but this is unique. I create files like Exerc= ise 1.2.py and run it through IDLE. > I'm very much surprised that any Python coding error could do this. What code triggers this? Is it consistent? More likely it's something else in your system. Pure coincidence. ChrisA