cpython/Python
Kristján Valur Jónsson f030394de3 Fix problems in x64 build that were discovered by the testsuite:
- 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.
2007-05-03 20:27:03 +00:00
..
Python-ast.c Fix a couple of problems in generating the AST code: 2007-02-26 18:10:47 +00:00
asdl.c Fix type errors. 2006-04-13 13:08:58 +00:00
ast.c Handle a couple of uncaught errors. This should be backported 2007-05-03 06:47:18 +00:00
atof.c
bltinmodule.c Patch #1444529: the builtin compile() now accepts keyword arguments. 2007-03-13 20:46:32 +00:00
ceval.c Fix a bug when using the __lltrace__ opcode tracer, and a problem sith signed chars in frameobject.c which can occur with opcodes > 127 2007-04-13 22:07:33 +00:00
codecs.c Bug #1511381: codec_getstreamcodec() in codec.c is corrected to 2006-06-23 21:16:18 +00:00
compile.c tabify 2007-02-27 16:13:23 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Oops, I forgot to include this file in the last commit (46046): 2006-05-19 07:05:01 +00:00
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c
dynload_win.c Remove obsolete comment. Importing of .dll files has been discontinued, only .pyd files supported on windows now. 2007-04-25 00:19:26 +00:00
errors.c SF #1669182, 2.5 was already fixed. Just assert in 2.6 since string exceptions 2007-02-26 23:48:27 +00:00
frozen.c
frozenmain.c
future.c Handle more mem alloc issues found with failmalloc 2006-07-23 07:50:36 +00:00
getargs.c Forward-port of r52136,52138: a review of overflow-detecting code. 2006-10-04 12:17:45 +00:00
getcompiler.c
getcopyright.c update to (c) years to include 2007 2007-01-06 04:45:54 +00:00
getcwd.c Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses 2006-04-25 15:29:46 +00:00
getmtime.c spread the extern "C" { } magic pixie dust around. Python itself builds now 2006-04-13 02:06:09 +00:00
getopt.c Accept long options "--help" and "--version". 2006-07-12 15:31:17 +00:00
getplatform.c
getversion.c
graminit.c with and as are now keywords. There are some generated files I can't recreate. 2006-09-06 06:28:06 +00:00
hypot.c
import.c Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h 2007-04-25 00:17:39 +00:00
importdl.c
importdl.h
mactoolboxglue.c Add missing Py_DECREFs. 2006-07-11 16:44:25 +00:00
marshal.c Forward-port of r52136,52138: a review of overflow-detecting code. 2006-10-04 12:17:45 +00:00
memmove.c
modsupport.c Forward-port of r52136,52138: a review of overflow-detecting code. 2006-10-04 12:17:45 +00:00
mysnprintf.c
mystrtoul.c Forward-port of r52136,52138: a review of overflow-detecting code. 2006-10-04 12:17:45 +00:00
peephole.c Fix embarrassing typo and fix constantification of None 2007-03-02 19:20:46 +00:00
pyarena.c Fix more memory allocation issues found with failmalloc. 2006-07-22 16:20:49 +00:00
pyfpe.c
pystate.c Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. 2007-03-12 16:11:39 +00:00
pystrtod.c Bug #1417699: Reject locale-specific decimal point in float() 2006-07-03 12:19:50 +00:00
pythonrun.c Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h 2007-04-25 00:17:39 +00:00
sigcheck.c
strdup.c
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c Patch #1495999: Part two of Windows CE changes. 2006-06-10 12:23:46 +00:00
structmember.c Patch #1549049: Rewrite type conversion in structmember. 2006-10-27 06:16:31 +00:00
symtable.c Handle PyString_FromInternedString() failing (unlikely, but possible). 2006-08-19 04:52:03 +00:00
sysmodule.c SF #1701207, Fix bogus assertion (and test it!) 2007-04-16 07:37:55 +00:00
thread.c Handle more memory allocation failures without crashing. 2006-07-21 07:59:47 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Fix problems in x64 build that were discovered by the testsuite: 2007-05-03 20:27:03 +00:00
thread_os2.h bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; 2006-07-23 13:00:04 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Make PyTraceBack_Here use the current thread, not the 2007-01-23 21:11:47 +00:00