Script randomly exits for seemingly no reason with strange traceback
nagle at animats.com
Wed Feb 15 16:28:43 EST 2012
On 2/4/2012 12:43 PM, Chris Angelico wrote:
> On Sun, Feb 5, 2012 at 3:32 AM, Andrew Berg<bahamutzero8825 at gmail.com> wrote:
>> On 2/3/2012 9:15 PM, Chris Angelico wrote:
>>> Do you call on potentially-buggy external modules?
>> It imports one module that does little more than define a few simple
>> functions. There's certainly no (intentional) interpreter hackery at work.
Are you doing a conditional import, one that takes place after load
time? If you do an import within a function or class, it is executed
when the code around it executes. If you import a file with a
syntax error during execution, you could get the error message you're
More information about the Python-list