Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'suddenly': 0.07; 'decorator': 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; 'doing,': 0.16; 'hint': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'code.': 0.18; 'library': 0.18; 'bit': 0.19; 'meant': 0.20; 'code,': 0.22; 'import': 0.22; 'print': 0.22; 'header:X-Complaints-To:1': 0.27; "i'm": 0.30; 'fine,': 0.31; 'josh': 0.31; 'trace': 0.31; 'me?': 0.32; 'run': 0.32; 'running': 0.33; 'point.': 0.35; 'but': 0.35; 'should': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'dave': 0.60; 'line,': 0.68; 'upgrade,': 0.84; 'subject::': 0.85; 'angel': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re:protocol.py, brine.py, and compat.py causing trouble Date: Mon, 15 Sep 2014 09:35:09 -0400 (EDT) Organization: news.gmane.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 97.73.240.7 X-Newsreader: PiaoHong.Usenet.Client.VIP:1.61 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1410787996 news.xs4all.nl 2887 [2001:888:2000:d::a6]:41288 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77886 Dave Angel Wrote in message: > Josh English Wrote in message: >> I do not know what these three filesare doing, but suddenly they have caught in a loop every time I try to run some code. >> >> I grabbed the trace decorator from the python library and this is the last bit of the output: >> >> >> trollvictims.py(129): if self.current_attack: >> trollvictims.py(130): print "returning", self.current_attack, type(self.current_attack) >> (532): protocol.py(439): protocol.py(228): protocol.py(229): protocol.py(244): brine.py(366): brine.py(368): brine.py(369): brine.py(369): brine.py(366): brine.py(367): > > ............. > >> This is where I managed to send a keybord interrupt. I was working just fine, tweaking a line, running the code, tweaking a line, running the code, until this point. >> >> I'm on Windows 7 using Python 2.7.5. I should upgrade, and will do so, but what are these files and why are they suddenly crashing on me? >> > > > Since they're not part of the stdlib, and you don't remember > writing them, you might get a hint by printing > import brine > print (brine.__brine__) > Oops, meant print (brine.__file__) -- DaveA