Changes between Version 23 and Version 24 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
06/28/19 08:12:42 (5 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v23 v24  
    103103||StringIO||{{{from s3compat import StringIO}}}|| ||
    104104||basestring||{{{from s3compat import basestring}}}|| ||
    105 ||unichr||{{{from s3compat import unichr|| ||
     105||unichr||{{{from s3compat import unichr}}}|| ||
    106106||STRING_TYPES||{{{from s3compat import STRING_TYPES}}}||maps to tuple of all known string types: (str,unicode) in Py2, (str,) in Py3, for type checking||
    107107||long||{{{from s3compat import long}}}||same as {{{int}}} in Py3, so can occasionally lead to redundancy||
     
    111111||urlopen||{{{from s3compat import urlopen}}}||replaces urllib.urlopen and urllib2.urlopen in Py2||
    112112||urlencode||{{{from s3compat import urlencode}}}||replaces urllib.urlencode in Py2||
    113 ||HTMLParser||{{{from s3compat import HTMLParser||replaces HTMLParser.HTMLParser in Py2||
     113||HTMLParser||{{{from s3compat import HTMLParser}}}||replaces HTMLParser.HTMLParser in Py2||
    114114
    115115