Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug in test.test_support.open_urlresource(). | Collin Winter | 2007-05-09 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | As per Armin Rigo's suggestion, remove special handing from intobject.c to ↵ | Kristján Valur Jónsson | 2007-05-07 | 2 | -8/+15 |
| | | | | 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. | ||||
* | Verify changes to the trunk go to the normal checkins list | Neal Norwitz | 2007-05-07 | 1 | -1/+0 |
| | |||||
* | Updates of recent changes to logging. | Vinay Sajip | 2007-05-06 | 1 | -5/+16 |
| | |||||
* | Bug #1713535: typo in logging example. | Georg Brandl | 2007-05-05 | 1 | -1/+1 |
| | |||||
* | Deprecate BaseException.message as per PEP 352. | Brett Cannon | 2007-05-05 | 7 | -69/+148 |
| | |||||
* | Oops, these tests do not run on Windows CE. | Thomas Heller | 2007-05-04 | 1 | -15/+16 |
| | |||||
* | Do not truncate 64-bit pointers to 32-bit integers. | Thomas Heller | 2007-05-04 | 3 | -13/+46 |
| | | | | Fixes SF #1703286, will backport to release25-maint. | ||||
* | Minor fix of PCBuild8/_ctypes vcproj, moving include dir into the .vsprops file. | Kristján Valur Jónsson | 2007-05-04 | 2 | -8/+12 |
| | |||||
* | Update the pcbuild8 solution. Straightened out the _ctypes project by using ↵ | Kristján Valur Jónsson | 2007-05-04 | 4 | -68/+342 |
| | | | | a .vsproj file and a masm64.rules file to avoid redundancy | ||||
* | On 64-bit Windows, ffi_arg must be 8 bytes long. This fixes the | Thomas Heller | 2007-05-04 | 1 | -0/+4 |
| | | | | | remaining crashes in the ctypes tests, when functions return float or double types. | ||||
* | Fix some ctypes test crashes, when running with a debug Python | Thomas Heller | 2007-05-04 | 3 | -4/+11 |
| | | | | | version on win64 by using proper argtypes and restype function attributes. | ||||
* | 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 |
| |