Changes between Version 54 and Version 55 of DeveloperGuidelines/Py_2_3


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v54 v55  
    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/function||maps to cStringIO.StringIO in Py2 (which is a function rather than a class)||
     178||StringIO||class/function||maps to cStringIO.StringIO in Py2 (which is a function rather than a class), so can't use this for type checking||
    179179||URLError||Exception||replaces urllib2.URLError in Py2||
    180180=== No dict.iteritems, iterkeys or itervalues ===