]> granicus.if.org Git - python/commit
Fix [ 616716 ] Bug in PyErr_SetExcFromWindows
authorMark Hammond <mhammond@skippinet.com.au>
Fri, 4 Oct 2002 00:13:02 +0000 (00:13 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Fri, 4 Oct 2002 00:13:02 +0000 (00:13 +0000)
commit3d61a06aa288f2fc64f33c6b09c0778ac4083861
tree415ba0a1ce5f90cc2ff89e15fc2c2545c5fd32f5
parentda7efaa6814a3e5bd264615685244170460465fe
Fix [ 616716 ] Bug in PyErr_SetExcFromWindows

Ensure that even if FormatMessage fails we (a) don't crash, and (b) provide something useful.

Bugfix candidate.
Python/errors.c