| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
referenced, and also fix definition of _WIN32_WINNT.
Resolves patch 1761803.
|
| |
|
|
|
|
| |
if (a) we are building Python itself and (b) no one previously defined them
|
|
|
|
|
| |
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
|
|
|
|
| |
Will backport to 2.5.
|
| |
|
|
|
|
| |
Will backport to 2.5.
|
|
|
|
| |
windows.h is included. Fixes warnings in PC builds.
|
|
|
|
|
| |
definition in unicodeobject.h to be used, giving us the desired
wchar_t in place of 'unsigned short'. As discussed on python-dev.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reenable modules on x64 that had been disabled aeons ago for Itanium.
- Cleared up confusion about compilers for 64 bit windows. There is only Itanium and x64. Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above.
- Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms.
- Fixed thread_nt.h. The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier. Anyway, win95 is no longer a target platform.
- Itertools module used wrong constant to check for overflow in count()
- PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member.
- PyLong_FromSsize_t() incorrectly specified that the operand were unsigned.
With these changes, the x64 passes the testsuite, for those modules present.
|
|
|
|
| |
under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
|
|
|
|
| |
discovered using code analysis in VisualStudio 2005 Team Edition
|
|
|
|
|
| |
is built before '_ctypes' is attempted.
Will backport to 2.5 once it is unfrozen for 2.5.1.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
|
| |
|
| |
|
|
|
|
| |
Will backport to 2.5.
|
| |
|
|
|
|
| |
Will backport to 2.5.
|
|
|
|
| |
files in VC7. Will backport to 2.5.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Facilitate cross-compilation by having binaries in separate Win32 and x64 directories.
Rationalized configs by making proper use of platforms/configurations.
Remove pythoncore_pgo project.
Add new PGIRelease and PGORelease configurations to perform Profile Guided Optimisation.
Removed I64 support, but this can be easily added by copying the x64 platform settings.
|
| |
|
|
|
|
| |
Note that this has only been tested for VS 2003 since that's all I have.
|
|
|
|
| |
defined properly.
|
|
|
|
|
| |
so that the current directory does not get added to sys.path.
Also fixes #1526785.
|
| |
|
| |
|
|
|
|
|
|
| |
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
|
|
|
|
| |
Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Renames functional extension module to _functools and adds a Python
functools module so that utility functions like update_wrapper can be
added easily.
|
|
|
|
|
| |
claim that Erik von Blokland is the author of the
installer picture.
|
|
|
|
| |
this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms
|
|
|
|
| |
`struct` module changes).
|
|
|
|
|
| |
Michael Hudson's nice gimmicks for IEEE special
values (infinities, NaNs) don't work.
|
| |
|
| |
|
|
|
|
|
| |
and the DOS error code in errno. Revert changes where
WindowsError catch blocks unnecessarily special-case OSError.
|
| |
|
|
|
|
|
|
|
| |
Export the COM entry point functions.
Note that there are several conflicting base addresses defined for
other extensions, also not all are listed in dllbase_nt.txt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE}
to PyObject_{Free, FREE} in a release build. They're aliases for the
system free() now.
_subprocess.c/sp_handle_dealloc(): Since the memory was originally
obtained via PyObject_NEW, it must be released via PyObject_FREE (or
_DEL).
pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of
PyObject vs PyMem mismatches in these -- it's like the specific
function called at each site was picked at random, sometimes even with
memory obtained via PyMem getting released via PyObject. Changed most
to use PyObject uniformly, since the blobs allocated are predictably
small in most cases, and obmalloc is generally faster than system
mallocs then.
If extension modules in real life prove as sloppy as Python's front
end, we'll have to revert the objimpl.h + pymem.h part of this patch.
Note that no problems will show up in a debug build (all calls still go
thru obmalloc then). Problems will show up only in a release build, most
likely segfaults.
|