old_contents: '''
  Compatibility module for Python 2.7 and > 3.3
  =============================================
  '''
  
  __all__ = ('PY2', 'string_types', 'queue', 'iterkeys',
             'itervalues', 'iteritems')
  
  import sys
  try:
      import queue
  except ImportError:
      import Queue as queue
  
  #: True if Python 2 intepreter is used
  PY2 = sys.version_info[0] == 2
  
  #: String types that can be used for checking if a object is a string
  string_types = None
  text_type = None
  if PY2:
      string_types = basestring
      text_type = unicode
  else:
      string_types = text_type = str
  
  #: unichr is just chr in py3, since all strings are unicode
  if PY2:
      unichr = unichr
  else:
      unichr = chr
  
  if PY2:
      iterkeys = lambda d: d.iterkeys()
      itervalues = lambda d: d.itervalues()
      iteritems = lambda d: d.iteritems()
  else:
      iterkeys = lambda d: iter(d.keys())
      itervalues = lambda d: iter(d.values())
      iteritems = lambda d: iter(d.items())
  
new_contents: '''
  Compatibility module for Python 2.7 and > 3.3
  =============================================
  '''
  
  __all__ = ('PY2', 'string_types', 'queue', 'iterkeys',
             'itervalues', 'iteritems')
  
  import sys
  import time
  try:
      import queue
  except ImportError:
      import Queue as queue
  
  #: True if Python 2 intepreter is used
  PY2 = sys.version_info[0] == 2
  '''True, if the version of python running is 2.x. '''
  
  clock = None
  '''A clock with the highest available resolution. '''
  
  #: String types that can be used for checking if a object is a string
  string_types = None
  text_type = None
  if PY2:
      string_types = basestring
      text_type = unicode
  else:
      string_types = text_type = str
  
  #: unichr is just chr in py3, since all strings are unicode
  if PY2:
      unichr = unichr
  else:
      unichr = chr
  
  if PY2:
      iterkeys = lambda d: d.iterkeys()
      itervalues = lambda d: d.itervalues()
      iteritems = lambda d: d.iteritems()
  else:
      iterkeys = lambda d: iter(d.keys())
      itervalues = lambda d: iter(d.values())
      iteritems = lambda d: iter(d.items())
  
  
  if PY2:
      if sys.platform in ('win32', 'cygwin'):
          clock = time.clock
      else:
          clock = time.time
  else:
      clock = time.perf_counter
  
subject: Add clock to compat.