Porting to Python3: ‘bytes’ in sys.path gotchya!

By |2010-08-06T19:09:00-09:00August 6th, 2010|Uncategorized|

I'm busy hacking away trying to get my embedded scripting engine ported to python3.The biggest pain in the ass is the new bytes VS str type. Today I ran into this error, raised once my import hook called the original builtins.__import__.TypeError: must be string, not bytesOh geeze, thanks! What the hell does that mean? Want [...]