This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
cpython
Watch
0
Star
0
Fork
0
You've already forked cpython
mirror of
https://github.com/python/cpython.git
synced
2024-11-24 10:24:35 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
097e51fd49
cpython
/
Lib
/
struct.py
3 lines
54 B
Python
Raw
Normal View
History
Unescape
Escape
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 ........
2008-01-04 11:08:33 +08:00
from
_struct
import
*
from
_struct
import
_clearcache
Reference in New Issue
Copy Permalink