Fix [ #465502 ] urllib2: urlopen unicode problem
When checking for strings use, ! if isinstance(uri, (types.StringType, types.UnicodeType)): Also get rid of some dodgy code that tried to guess whether attributes were callable or not.
Showing
Please register or sign in to comment