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 | 8ca8aa06c834bb7620bab4af641412267d9c423d (patch) | |
tree | 4e308cad9b2ce4cfcc8d62d3b5c490d922c61841 /Python/pythonrun.c | |
parent | 3ae9a651294e4e28dc187b0698fc6a1b8f93f7b6 (diff) | |
download | cpython-8ca8aa06c834bb7620bab4af641412267d9c423d.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions