diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-04 03:08:33 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-04 03:08:33 +0000 |
commit | 3f419afac56065233fd9a69db3b5e2d4c6113648 (patch) | |
tree | b133e159a1900497b779e3b8505858578887c6a3 /Python/errors.c | |
parent | a34706f101a16eef8e36054d1f405f794d53ac79 (diff) | |
download | cpython-git-3f419afac56065233fd9a69db3b5e2d4c6113648.tar.gz |
Merged revisions 59696-59702 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59696 | amaury.forgeotdarc | 2008-01-04 03:04:15 +0100 (Fri, 04 Jan 2008) | 11 lines
Partial port of r59682 from py3k.
On Windows, when import fails to load a dll module, the message says
"error code 193" instead of a more informative text.
It turns out that FormatMessage needs additional parameters for some error codes.
For example: 193 means "%1 is not a valid Win32 application".
Since it is impossible to know which parameter to pass, we use
FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
than the number.
........
r59698 | andrew.kuchling | 2008-01-04 03:26:00 +0100 (Fri, 04 Jan 2008) | 1 line
Typo fix
........
r59699 | andrew.kuchling | 2008-01-04 03:31:40 +0100 (Fri, 04 Jan 2008) | 1 line
Add math items; other edits
........
r59700 | christian.heimes | 2008-01-04 03:46:19 +0100 (Fri, 04 Jan 2008) | 1 line
Fixed refleak tests for _struct changes
........
r59701 | christian.heimes | 2008-01-04 03:54:42 +0100 (Fri, 04 Jan 2008) | 1 line
Added _struct._clearcache() for regression tests
........
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions