Changes between Version 16 and Version 17 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 06/27/19 14:51:16 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v16 v17 103 103 ||basestring||{{{from s3compat import basestring}}}|| || 104 104 ||INTEGER_TYPES||{{{from s3compat import INTEGER_TYPES}}}||maps to tuple of all known integer types: (int,long) in Py2, (int,) in Py3), for use with {{{isinstance}}}|| 105 ||urllib2||{{{from s3compat import urllib2|| || 106 ||HTTPError||{{{from s3compat import HTTPError||replaces urllib2.HTTPError in Py2|| 107 ||urlopen||{{{from s3compat import urlopen||replaces urllib.urlopen and urllib2.urlopen in Py2|| 108 ||urlencode||{{{from s3compat import urlencode||replaces urllib.urlencode in Py2|| 105 109 106 110 === No dict.iteritems, iterkeys or itervalues ===