When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
Update the various project files with Python/random.c which was recently added.
On my old Windows XP computer:
- VS8.0 works reasonably.
- I don't have the VS7.1 compiler.
- VC6 does not compile, at least with the SDK shipped with the compiler (12 years ago!); newer SDKs might work.
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86117 | hirokazu.yamamoto | 2010-11-02 23:06:03 +0900 | 2 lines
Defined Py_BUILD_CORE_MODULE also on VC7.1.
# I don't have this compiler, so I couldn't test it.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86113 | hirokazu.yamamoto | 2010-11-02 22:21:31 +0900 | 1 line
Defined Py_BUILD_CORE_MODULE also on VC6.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84857 | hirokazu.yamamoto | 2010-09-17 17:53:31 +0900 | 1 line
Let's see if tcl/tk test runs on windows buildbot with this fix.
........
r84870 | hirokazu.yamamoto | 2010-09-18 09:31:44 +0900 | 3 lines
regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)
........
r84875 | hirokazu.yamamoto | 2010-09-18 13:02:52 +0900 | 1 line
Applied r84870 to older compilers.
........
Since CREATE_NEW_* are used for the creation flags of a subprocess, they
were added to __all__. The rest of the previously exposed attributes are
now qualified by _subprocess.ATTR rather than importing *.
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.
This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.
subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
*ReflectionKey functions used to not be documented or tested, but they are
now sufficiently documented and tested on platforms where they apply.
Additionally, fixed a bug in QueryReflectionKey which was returning an
incorrect value.
All tests pass from XP through Windows 7, on 32 and 64-bit platforms.
* PyCObject_AsVoidPtr() can now open capsules. This addresses
most of the remaining backwards-compatibility concerns about
the conversion of Python 2.7 from CObjects to capsules.
* CObjects were marked Pending Deprecation.
* Documentation about this pending deprecation was added to
cobject.h.
* The capsule source files were added to the legacy PC build
processes.
- add double endianness detection to configure script
- add configure-time check to see whether we can use inline
assembly to get and set x87 control word in configure script
- add functions to get and set x87 control word in Python/pymath.c
- add pyport.h logic to determine whether it's safe to use the
short float repr or not