protocol.py, brine.py, and compat.py causing trouble

Dave Angel davea at davea.name
Mon Sep 15 15:35:09 CEST 2014


Dave Angel <davea at davea.name> Wrote in message:
> Josh English <Joshua.R.English at gmail.com> 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)
>> <string>(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




More information about the Python-list mailing list