This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davidszotten@gmail.com
Recipients davidszotten@gmail.com
Date 2014-06-11.13:28:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402493325.12.0.160112781213.issue21720@psf.upfronthosting.co.za>
In-reply-to
Content
```
>>> __import__('fabric.', fromlist=[u'api'])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
```

accidentally ended up with something like this via some module that was using `unicode_literals`. stumped me for a second until i realised that my variable was a string, but not `str`. would be nice with a custom error message if this is a unicode string, explicitly mentioning that these must not be unicode or similar
History
Date User Action Args
2014-06-11 13:28:45davidszotten@gmail.comsetrecipients: + davidszotten@gmail.com
2014-06-11 13:28:45davidszotten@gmail.comsetmessageid: <1402493325.12.0.160112781213.issue21720@psf.upfronthosting.co.za>
2014-06-11 13:28:45davidszotten@gmail.comlinkissue21720 messages
2014-06-11 13:28:44davidszotten@gmail.comcreate