Changes between Version 53 and Version 54 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
07/05/19 23:01:10 (5 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v53 v54  
    176176||HTTPError||Exception||replaces urllib2.HTTPError in Py2, '''NB''' HTTPError is a subclass of URLError, so must be caught first in order to differentiate||
    177177||HTMLParser||class||replaces HTMLParser.HTMLParser in Py2||
    178 ||StringIO||class|| ||
     178||StringIO||class/function||maps to cStringIO.StringIO in Py2 (which is a function rather than a class)||
    179179||URLError||Exception||replaces urllib2.URLError in Py2||
    180180=== No dict.iteritems, iterkeys or itervalues ===