Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert compiler comment to AMD64 for x64/AMD64 builds. | Kristján Valur Jónsson | 2007-05-04 | 1 | -1/+1 |
| | |||||
* | Fix problems in x64 build that were discovered by the testsuite: | Kristján Valur Jónsson | 2007-05-03 | 7 | -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ónsson | 2007-05-03 | 5 | -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ónsson | 2007-05-03 | 6 | -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 skipped | Walter Dörwald | 2007-05-03 | 1 | -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 Heller | 2007-05-03 | 1 | -2/+21 |
| | |||||
* | Fix building _ctypes.pyd for x64 / Windows. | Thomas Heller | 2007-05-03 | 1 | -0/+139 |
| | |||||
* | Remove dead code. This code couldn't be reached because earlier in | Neal Norwitz | 2007-05-03 | 1 | -12/+1 |
| | | | | the function there is another check for z != Py_None. | ||||
* | Handle a couple of uncaught errors. This should be backported | Neal Norwitz | 2007-05-03 | 1 | -0/+4 |
| | |||||
* | Actually raise an exception before calling ast_error_finish. | Georg Brandl | 2007-05-02 | 1 | -0/+2 |
| | | | | Triggers an assertion otherwise. | ||||
* | Fix for #1303614 and #1174712: | Armin Rigo | 2007-05-02 | 5 | -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 Norwitz | 2007-05-02 | 2 | -1/+3 |
| | | | | http://mail.python.org/pipermail/python-dev/2007-May/072896.html | ||||
* | Added documentation for new optional credentials argument to ↵ | Vinay Sajip | 2007-05-01 | 1 | -2/+5 |
| | | | | SMTPHandler.__init__(). | ||||
* | Added new optional credentials argument to SMTPHandler.__init__, and ↵ | Vinay Sajip | 2007-05-01 | 1 | -7/+12 |
| | | | | smtp.login() is now called in SMTPHandler.emit() if credentials are specified. | ||||
* | Patch #1710352: add missing public functions to locale.__all__. | Georg Brandl | 2007-05-01 | 1 | -3/+5 |
| | |||||
* | Bug #1710295: exceptions are now new-style classes. | Georg Brandl | 2007-05-01 | 1 | -1/+1 |
| | |||||
* | When accessing the .value attribute of a c_wchar_p instance, and the | Thomas Heller | 2007-04-30 | 1 | -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 where | Thomas Heller | 2007-04-30 | 3 | -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ónsson | 2007-04-30 | 63 | -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 Norwitz | 2007-04-29 | 1 | -1/+1 |
| | |||||
* | Version fix (bug #1708710) | Georg Brandl | 2007-04-27 | 1 | -4/+4 |
| | |||||
* | This gets the test working on Solaris. It seems a little hokey to me, | Neal Norwitz | 2007-04-27 | 1 | -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ónsson | 2007-04-26 | 1 | -1/+21 |
| | |||||
* | Minor wording change on slicing aide-memoire. | Steve Holden | 2007-04-26 | 1 | -1/+1 |
| | |||||
* | The locale "En" appears not to be valid on windows underi VisualStudio.2005. ↵ | Kristján Valur Jónsson | 2007-04-26 | 1 | -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ónsson | 2007-04-26 | 3 | -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 errors | Fred Drake | 2007-04-26 | 4 | -5/+5 |
| | |||||
* | Fix an issue related to the unittest conversion. | Collin Winter | 2007-04-25 | 1 | -0/+6 |
| | |||||
* | Convert test_ossaudiodev to use unittest. | Collin Winter | 2007-04-25 | 1 | -120/+125 |
| | |||||
* | Import and raise statement cleanup. | Collin Winter | 2007-04-25 | 1 | -17/+9 |
| | |||||
* | Set missing svn:eol-style property on text files. | Tim Peters | 2007-04-25 | 0 | -0/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2007-04-25 | 1 | -1/+1 |
| | |||||
* | Change test_support.have_unicode to use True/False instead of 1/0. | Collin Winter | 2007-04-25 | 1 | -2/+2 |
| | |||||
* | Remove functionality from test_datetime.test_main() that does reference ↵ | Collin Winter | 2007-04-25 | 1 | -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 Winter | 2007-04-25 | 29 | -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 Norwitz | 2007-04-25 | 38 | -387/+386 |
| | | | | You might want to review this change as it's my first time. Be gentle. :-) | ||||
* | Markup fix. | Georg Brandl | 2007-04-25 | 1 | -1/+1 |
| | |||||
* | Patch #1698768: updated the "using Python on the Mac" intro. | Georg Brandl | 2007-04-25 | 2 | -173/+135 |
| | |||||
* | Remove obsolete comment. Importing of .dll files has been discontinued, only ↵ | Kristján Valur Jónsson | 2007-04-25 | 1 | -8/+0 |
| | | | | .pyd files supported on windows now. | ||||
* | Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit ↵ | Kristján Valur Jónsson | 2007-04-25 | 3 | -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ónsson | 2007-04-25 | 6 | -20/+35 |
| | | | | discovered using code analysis in VisualStudio 2005 Team Edition | ||||
* | Fix markup | Raymond Hettinger | 2007-04-24 | 1 | -1/+1 |
| | |||||
* | Bug #1706381: Specifying the SWIG option "-c++" in the setup.py file | Georg Brandl | 2007-04-24 | 2 | -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 Brandl | 2007-04-24 | 1 | -2/+2 |
| | |||||
* | Added a comment about last change in urllib2.py (all 2xx responses | Facundo Batista | 2007-04-24 | 1 | -0/+4 |
| | | | | are ok now). | ||||
* | Some new year updates. | Georg Brandl | 2007-04-24 | 4 | -3/+6 |
| | |||||
* | Fix SF #1703110, Incorrect example for add_password() (use uri, not host) | Neal Norwitz | 2007-04-24 | 2 | -2/+8 |
| | |||||
* | Remove code that hasn't been called in years. | Collin Winter | 2007-04-24 | 1 | -34/+0 |
| | |||||
* | Convert PyUnit -> unittest. | Collin Winter | 2007-04-24 | 1 | -11/+10 |
| | |||||
* | As specified in RFC 2616, 2xx code indicates that the client's | Facundo Batista | 2007-04-23 | 2 | -4/+14 |
| | | | | | request was successfully received, understood, and accepted. Now in these cases no error is raised. Also fixed tests. |