Message4105

Author leosoto
Recipients jfenwick, leosoto
Date 2009-01-29.00:30:55
SpamBayes Score 3.132838e-05
Marked as misclassified No
Message-id <1233189056.22.0.943956316501.issue1255@psf.upfronthosting.co.za>
In-reply-to
Content
The second and third arguments to __import__ are supposed to be
dictionaries, not string. What code did you found which uses that idiom?

Changing the offending code to:

  __import__('os', globals(), locals(), [''], -1) 

Should fix the problem 

[But, anyway, I'd like to know where the original code was found]
History
Date User Action Args
2009-01-29 00:30:56leosotosetmessageid: <1233189056.22.0.943956316501.issue1255@psf.upfronthosting.co.za>
2009-01-29 00:30:56leosotosetrecipients: + leosoto, jfenwick
2009-01-29 00:30:56leosotolinkissue1255 messages
2009-01-29 00:30:55leosotocreate