commit | 8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Oct 09 16:18:45 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Oct 09 16:18:45 2001 +0000 |
tree | a57fe2f37fa7feb9980f803e173acf7ac50a921f | |
parent | 2f6a0b00a0772424dd49b782df18e36000c082ed [diff] |
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.