- 09 May, 2007 1 commit
-
-
Collin Winter authored
If the call to requires() doesn't precede the filesystem check, we get the following situation: 1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped 2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs 3. ./python Lib/test/regrtest.py test_foo # test runs (!) By moving the call to requires() *before* the filesystem check, the fact that fetched files are cached on the local disk becomes an implementation detail, rather than a semantics-changing point of note.
-
- 07 May, 2007 2 commits
-
-
Kristján Valur Jónsson authored
As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present.
-
Neal Norwitz authored
-
- 06 May, 2007 1 commit
-
-
Vinay Sajip authored
-
- 05 May, 2007 2 commits
-
-
Georg Brandl authored
-
Brett Cannon authored
-
- 04 May, 2007 7 commits
-
-
Thomas Heller authored
-
Thomas Heller authored
Fixes SF #1703286, will backport to release25-maint.
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
Update the pcbuild8 solution. Straightened out the _ctypes project by using a .vsproj file and a masm64.rules file to avoid redundancy
-
Thomas Heller authored
remaining crashes in the ctypes tests, when functions return float or double types.
-
Thomas Heller authored
version on win64 by using proper argtypes and restype function attributes.
-
Kristján Valur Jónsson authored
-
- 03 May, 2007 8 commits
-
-
Kristján Valur Jónsson authored
- 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.
-
Kristján Valur Jónsson authored
Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64. Now the testsuite is well behaved on that platform.
-
Kristján Valur Jónsson authored
Fix pcbuild8 after recent overhaul: Added the version resource to python26.dll. Adjust stacksize to 2Mb and made large address aware for 32 bits, and set stacksize to 3Mb for 64 bits. Todo: Set .dll optimized load addresses, and side-by-side packaging of the python26.dll.
-
Walter Dörwald authored
in native order mode, and only if it's the first two bytes.
-
Thomas Heller authored
-
Thomas Heller authored
-
Neal Norwitz authored
the function there is another check for z != Py_None.
-
Neal Norwitz authored
-
- 02 May, 2007 3 commits
-
-
Georg Brandl authored
Triggers an assertion otherwise.
-
Armin Rigo authored
- __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch.
-
-
- 01 May, 2007 4 commits
-
-
Vinay Sajip authored
-
Vinay Sajip authored
Added new optional credentials argument to SMTPHandler.__init__, and smtp.login() is now called in SMTPHandler.emit() if credentials are specified.
-
Georg Brandl authored
-
Georg Brandl authored
-
- 30 Apr, 2007 3 commits
-
-
Thomas Heller authored
instance does not point to a valid wchar_t zero-terminated string, raise a ValueError. c_char_p does this already. The ValueError message now contains the correct pointer address. Will backport to release25-maint.
-
Thomas Heller authored
PyMem_Malloc() could potentially fail. Will backport to the release25-maint branch.
-
Kristján Valur Jónsson authored
Complete revamp of PCBuild8 directory. Use subdirectories for each project 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.
-
- 29 Apr, 2007 1 commit
-
-
Neal Norwitz authored
-
- 27 Apr, 2007 2 commits
-
-
Georg Brandl authored
-
Neal Norwitz authored
but the test passed on Linux and Solaris, hopefully other platforms too.
-
- 26 Apr, 2007 5 commits
-
-
Kristján Valur Jónsson authored
-
Steve Holden authored
-
Kristján Valur Jónsson authored
The locale "En" appears not to be valid on windows underi VisualStudio.2005. Added "English" to the test_locale.py to make the testsuite pass for that build
-
Kristján Valur Jónsson authored
Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile.
-
Fred Drake authored
-
- 25 Apr, 2007 1 commit
-
-
Collin Winter authored
-