#!/usr/local/pypy3-5.7.1/bin/pypy3 #!/usr/local/pypy3-5.5.0/bin/pypy3 #!/usr/local/cpython-2.7/bin/python #!/usr/local/pypy-5.3.1/bin/pypy #!/usr/local/jython-2.7.0/bin/jython #!/usr/local/cpython-3.6/bin/python3 import os import sys def main(): try: os.utime('nonexistent', None) # except (OSError, IOError): except OSError: _unused, errno, _unused = sys.exc_info() print(errno) print('hi') main()