On 2/4/2012 12:43 PM, Chris Angelico wrote:
On Sun, Feb 5, 2012 at 3:32 AM, Andrew Berg<bahamutzero8...@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
getting.

                                John Nagle
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to