Closed ralphm closed 11 years ago
Thanks ralph, wish it had a test but punjab needs a lot of love in that department.
I still get this problem with Python 2.7 and the latest master that has this patch integrated. Upon looking at the code, I see that "domain" is recoded as ascii only after it already has been passed to the base class. That doesn't look right to me - it seems that the isinstance check and encoding as ascii needs to come before calling the base class's init method.
Refs: twonds/punjab#26.