summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert compiler comment to AMD64 for x64/AMD64 builds.Kristján Valur Jónsson2007-05-041-1/+1
|
* Fix problems in x64 build that were discovered by the testsuite:Kristján Valur Jónsson2007-05-037-73/+36
| | | | | | | | | | | | - 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.
* Fix those parts in the testsuite that assumed that sys.maxint would cause ↵Kristján Valur Jónsson2007-05-035-12/+21
| | | | overflow on x64. Now the testsuite is well behaved on that platform.
* Fix pcbuild8 after recent overhaul: Added the version resource to ↵Kristján Valur Jónsson2007-05-036-5/+34
| | | | | | 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.
* Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skippedWalter Dörwald2007-05-031-4/+4
| | | | in native order mode, and only if it's the first two bytes.
* Don't truncate pointers to integers (on win64 platform).Thomas Heller2007-05-031-2/+21
|
* Fix building _ctypes.pyd for x64 / Windows.Thomas Heller2007-05-031-0/+139
|
* Remove dead code. This code couldn't be reached because earlier inNeal Norwitz2007-05-031-12/+1
| | | | the function there is another check for z != Py_None.
* Handle a couple of uncaught errors. This should be backportedNeal Norwitz2007-05-031-0/+4
|
* Actually raise an exception before calling ast_error_finish.Georg Brandl2007-05-021-0/+2
| | | | Triggers an assertion otherwise.
* Fix for #1303614 and #1174712:Armin Rigo2007-05-025-45/+166
| | | | | | | - __dict__ descriptor abuse for subclasses of built-in types - subclassing from both ModuleType and another built-in types Thanks zseil for the patch.
* Stop using PyMem_FREE while the GIL is not held. For details see:Neal Norwitz2007-05-022-1/+3
| | | | http://mail.python.org/pipermail/python-dev/2007-May/072896.html
* Added documentation for new optional credentials argument to ↵Vinay Sajip2007-05-011-2/+5
| | | | SMTPHandler.__init__().
* Added new optional credentials argument to SMTPHandler.__init__, and ↵Vinay Sajip2007-05-011-7/+12
| | | | smtp.login() is now called in SMTPHandler.emit() if credentials are specified.
* Patch #1710352: add missing public functions to locale.__all__.Georg Brandl2007-05-011-3/+5
|
* Bug #1710295: exceptions are now new-style classes.Georg Brandl2007-05-011-1/+1
|
* When accessing the .value attribute of a c_wchar_p instance, and theThomas Heller2007-04-301-3/+11
| | | | | | | | | 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.
* Make sure to call PyErr_NoMemory() in several places whereThomas Heller2007-04-303-3/+15
| | | | | | PyMem_Malloc() could potentially fail. Will backport to the release25-maint branch.
* Complete revamp of PCBuild8 directory. Use subdirectories for each project ↵Kristján Valur Jónsson2007-04-3063-13677/+13363
| | | | 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.
* There really are some tests that are problematic.Neal Norwitz2007-04-291-1/+1
|
* Version fix (bug #1708710)Georg Brandl2007-04-271-4/+4
|
* This gets the test working on Solaris. It seems a little hokey to me,Neal Norwitz2007-04-271-0/+19
| | | | but the test passed on Linux and Solaris, hopefully other platforms too.
* Accomodate 64 bit time_t in the _bsddb module.Kristján Valur Jónsson2007-04-261-1/+21
|
* Minor wording change on slicing aide-memoire.Steve Holden2007-04-261-1/+1
|
* The locale "En" appears not to be valid on windows underi VisualStudio.2005. ↵Kristján Valur Jónsson2007-04-261-1/+1
| | | | Added "English" to the test_locale.py to make the testsuite pass for that build
* Export function sanitize_the_mode from fileobject.c as ↵Kristján Valur Jónsson2007-04-263-14/+26
| | | | _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile.
* fix some markup errorsFred Drake2007-04-264-5/+5
|
* Fix an issue related to the unittest conversion.Collin Winter2007-04-251-0/+6
|
* Convert test_ossaudiodev to use unittest.Collin Winter2007-04-251-120/+125
|
* Import and raise statement cleanup.Collin Winter2007-04-251-17/+9
|
* Set missing svn:eol-style property on text files.Tim Peters2007-04-250-0/+0
|
* Whitespace normalization.Tim Peters2007-04-251-1/+1
|
* Change test_support.have_unicode to use True/False instead of 1/0.Collin Winter2007-04-251-2/+2
|
* Remove functionality from test_datetime.test_main() that does reference ↵Collin Winter2007-04-251-20/+1
| | | | count checking; 'regrtest.py -R' is the way to do this kind of testing.
* Standardize on test.test_support.run_unittest() (as opposed to a mix of ↵Collin Winter2007-04-2529-181/+88
| | | | run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().
* Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz2007-04-2538-387/+386
| | | | You might want to review this change as it's my first time. Be gentle. :-)
* Markup fix.Georg Brandl2007-04-251-1/+1
|
* Patch #1698768: updated the "using Python on the Mac" intro.Georg Brandl2007-04-252-173/+135
|
* Remove obsolete comment. Importing of .dll files has been discontinued, only ↵Kristján Valur Jónsson2007-04-251-8/+0
| | | | .pyd files supported on windows now.
* Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit ↵Kristján Valur Jónsson2007-04-253-2/+4
| | | | typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h
* Merge change 54909 from release25-maint: Fix several minor issues ↵Kristján Valur Jónsson2007-04-256-20/+35
| | | | discovered using code analysis in VisualStudio 2005 Team Edition
* Fix markupRaymond Hettinger2007-04-241-1/+1
|
* Bug #1706381: Specifying the SWIG option "-c++" in the setup.py fileGeorg Brandl2007-04-242-1/+6
| | | | | (as opposed to the command line) will now write file names ending in ".cpp" too.
* Bug #1705717: error in sys.argv docs.Georg Brandl2007-04-241-2/+2
|
* Added a comment about last change in urllib2.py (all 2xx responsesFacundo Batista2007-04-241-0/+4
| | | | are ok now).
* Some new year updates.Georg Brandl2007-04-244-3/+6
|
* Fix SF #1703110, Incorrect example for add_password() (use uri, not host)Neal Norwitz2007-04-242-2/+8
|
* Remove code that hasn't been called in years.Collin Winter2007-04-241-34/+0
|
* Convert PyUnit -> unittest.Collin Winter2007-04-241-11/+10
|
* As specified in RFC 2616, 2xx code indicates that the client'sFacundo Batista2007-04-232-4/+14
| | | | | request was successfully received, understood, and accepted. Now in these cases no error is raised. Also fixed tests.