Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71939

Re:Windows rebooting due to faulty code

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'exercise': 0.04; 'reason,': 0.07; 'subject:code': 0.07; 'bug.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'wrote': 0.14; 'windows': 0.15; 'idle.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'unlikely': 0.16; 'do,': 0.16; 'fix': 0.17; 'written': 0.21; 'code,': 0.22; 'example': 0.22; 'this?': 0.23; 'header:X-Complaints-To:1': 0.27; 'errors': 0.30; 'work.': 0.31; 'gives': 0.31; 'program,': 0.31; 'code': 0.31; 'such.': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'running': 0.33; "i'd": 0.34; 'could': 0.34; 'but': 0.35; 'doing': 0.36; 'sometimes': 0.38; 'system,': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'most': 0.60; 'received:173': 0.61; "you're": 0.61; 'first': 0.61; 'save': 0.62; "you've": 0.63; 'therefore': 0.72; 'conclude': 0.84; 'received:fios.verizon.net': 0.84; 'unique.': 0.84; 'updates,': 0.84; 'subject::': 0.85
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dave Angel <davea@davea.name>
Subject Re:Windows rebooting due to faulty code
Date Fri, 23 May 2014 13:52:41 -0400 (EDT)
Organization news.gmane.org
References <41e58dfd-b9c1-41b1-b849-ddc5ee8a978e@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host static-173-53-48-58.rcmdva.fios.verizon.net
X-Newsreader PiaoHong.NewsGroup.Client.VIP:1.52
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10251.1400867598.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400867598 news.xs4all.nl 2931 [2001:888:2000:d::a6]:49130
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71939

Show key headers only | View raw


Ronak Dhakan <ronaksoni301@gmail.com> Wrote in message:
> I am learning python, and sometimes when I run a file with a faulty code, windows gives a message that the system is rebooting and gives me 1 minute to save 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 Exercise 1.2.py and run it through IDLE.
> 

It is very unlikely that running a program will cause a proper
 Windows system to reboot.  The one example I can think of is the
 restart.exe program,  which is deliberately doing it.
 

It is even much less likely that it could be triggered by
 beginner's code written in python without 3rd party add-ons.
 

Therefore I'd conclude you've either got a corrupted system,  or
 you're tripping on a Windows bug.

The first things I'd do, if stuck on Windows for some reason,  is
 to check your system for Windows updates,  then for viruses,
 hackers, 
and such.
-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Windows rebooting due to faulty code Ronak Dhakan <ronaksoni301@gmail.com> - 2014-05-23 08:00 -0700
  Re:Windows rebooting due to faulty code Dave Angel <davea@davea.name> - 2014-05-23 13:52 -0400

csiph-web