]> granicus.if.org Git - python/commit
Instantiate the OS-related exception as soon as we raise it, so that
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 17:39:57 +0000 (19:39 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 17:39:57 +0000 (19:39 +0200)
commit5d6fbe82078fe67437755bccfa504dbbcf909a74
tree25a147fb6ca753fc0dd7ecc55543f2cce708b313
parent1e4fe702f60b1bf8ed2e3ddca0ea634d83cca89b
Instantiate the OS-related exception as soon as we raise it, so that
"except" works properly.
Lib/test/test_pep3151.py
Python/errors.c