Message7290

Author alex.gronholm
Recipients Arfrever, alex.gronholm, fwierzbicki, pjenvey
Date 2012-06-30.14:13:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341065614.4.0.577603368938.issue1900@psf.upfronthosting.co.za>
In-reply-to
Content
I tested this on my JDK7 machine (by setting jdk.target.version=1.6 in ant.properties) and ran into a different error:

Item in ``from list'' not a string

This happened when executing:

module = __import__(moduleName, fromlist=[className])

where className was a unicode string. If I convert it to a bytestring, it works fine. Of course the import machinery _should_ accept unicode strings too.
History
Date User Action Args
2012-06-30 14:13:34alex.gronholmsetmessageid: <1341065614.4.0.577603368938.issue1900@psf.upfronthosting.co.za>
2012-06-30 14:13:34alex.gronholmsetrecipients: + alex.gronholm, fwierzbicki, pjenvey, Arfrever
2012-06-30 14:13:34alex.gronholmlinkissue1900 messages
2012-06-30 14:13:34alex.gronholmcreate