Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove deprecation warnings silence attempting | Benjamin Peterson | 2010-04-03 | 1 | -2/+1 | |
| | ||||||
* | Add Misc/NEWS entry for r79609. | Mark Dickinson | 2010-04-03 | 1 | -0/+6 | |
| | ||||||
* | spelling | Benjamin Peterson | 2010-04-03 | 1 | -1/+1 | |
| | ||||||
* | silence PyCObject warnings in bsddb | Benjamin Peterson | 2010-04-03 | 1 | -0/+1 | |
| | ||||||
* | remove unneeded argument | Benjamin Peterson | 2010-04-03 | 1 | -2/+1 | |
| | ||||||
* | wrap | Benjamin Peterson | 2010-04-03 | 1 | -3/+3 | |
| | ||||||
* | Minor tweak to unittest command line usage message | Michael Foord | 2010-04-03 | 1 | -1/+2 | |
| | ||||||
* | Adding -b command line option to the unittest usage message. | Michael Foord | 2010-04-03 | 1 | -6/+8 | |
| | ||||||
* | Use more specific assert* methods in test_decimal. | Ezio Melotti | 2010-04-03 | 1 | -43/+43 | |
| | ||||||
* | Issue #8300: Let struct.pack use __index__ to convert and pack non-integers. | Mark Dickinson | 2010-04-03 | 4 | -14/+70 | |
| | | | | Based on a patch by Meador Inge. | |||||
* | Add missing return statement in an error condition. | Brian Curtin | 2010-04-03 | 1 | -1/+1 | |
| | ||||||
* | Fix a couple of issues with the test_structmembersType class in _testcapimodule | Mark Dickinson | 2010-04-03 | 2 | -12/+19 | |
| | | | | | | | | | | | | | - rename to _test_structmembersType to avoid the class being automatically called by test_capi - allow space for trailing NUL in inplace_member field of all_structmembers - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument to _test_structmembersType initializer - don't attempt to initialize inplace_member field if T_STRING_INPLACE argument wasn't supplied. | |||||
* | Add subtract() method to collections.Counter() objects. | Raymond Hettinger | 2010-04-03 | 4 | -0/+52 | |
| | ||||||
* | Issue #8227: Fix C API documentation, argument parsing | Victor Stinner | 2010-04-03 | 1 | -10/+10 | |
| | | | | | * 'z', 'z#', 'z*' does also accept Unicode * unify types name: replace "string or Unicode objet" by "string or Unicode" | |||||
* | Issue #1222585: Added LDCXXSHARED for C++ support | Tarek Ziadé | 2010-04-03 | 3 | -15/+53 | |
| | ||||||
* | Factor-out constant expressions | Raymond Hettinger | 2010-04-03 | 1 | -14/+6 | |
| | ||||||
* | Improve clear() method. Keeps key/value refcnts >= 1 until final ↵ | Raymond Hettinger | 2010-04-03 | 1 | -2/+8 | |
| | | | | dict.clear() so that decrefs to zero won't trigger arbitrary code . Also runs a bit faster. | |||||
* | Another attempt at a fix for unittest.test.test_result for windows line endings | Michael Foord | 2010-04-03 | 1 | -5/+4 | |
| | ||||||
* | Cross platform unittest.TestResult newline handling when buffering stdout / ↵ | Michael Foord | 2010-04-03 | 2 | -15/+15 | |
| | | | | stderr. | |||||
* | give TypeError when trying to set T_STRING_INPLACE | Benjamin Peterson | 2010-04-03 | 4 | -5/+27 | |
| | ||||||
* | Support dotted module names for test discovery paths in unittest. Issue 7780. | Michael Foord | 2010-04-03 | 2 | -6/+32 | |
| | ||||||
* | split out large test function | Benjamin Peterson | 2010-04-03 | 1 | -16/+21 | |
| | ||||||
* | Fix assertRaises usage on reflection functions which should raise | Brian Curtin | 2010-04-03 | 1 | -5/+8 | |
| | | | | NotImplementedError on Windows XP and below. | |||||
* | more _PyString_Resize error checking | Benjamin Peterson | 2010-04-03 | 3 | -13/+20 | |
| | ||||||
* | Clear cyclical references in list based OrderedDict. | Raymond Hettinger | 2010-04-03 | 1 | -3/+11 | |
| | ||||||
* | always check _PyString_Resize for error | Benjamin Peterson | 2010-04-02 | 1 | -10/+12 | |
| | | | | also normalize how this error is checked | |||||
* | set svn:eol-style on new file | Benjamin Peterson | 2010-04-02 | 1 | -42/+42 | |
| | ||||||
* | Add note about #1220212 (os.kill on Windows) | Brian Curtin | 2010-04-02 | 1 | -0/+3 | |
| | ||||||
* | Implement #1220212. Add os.kill support for Windows. | Brian Curtin | 2010-04-02 | 10 | -6/+197 | |
| | | | | | | | | | | | | | | os.kill takes one of two newly added signals, CTRL_C_EVENT and CTRL_BREAK_EVENT, or any integer value. The events are a special case which work with subprocess console applications which implement a special console control handler. Any other value but those two will cause os.kill to use TerminateProcess, outright killing the process. This change adds win_console_handler.py, which is a script to implement SetConsoleCtrlHandler and applicable handler function, using ctypes. subprocess also gets another attribute which is a necessary flag to creationflags in Popen in order to send the CTRL events. | |||||
* | Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches | Michael Foord | 2010-04-02 | 3 | -0/+27 | |
| | ||||||
* | unittest tests no longer replace the sys.stdout put in place by regrtest | Michael Foord | 2010-04-02 | 2 | -8/+4 | |
| | ||||||
* | Issue #8294: Allow float and Decimal arguments in Fraction constructor. | Mark Dickinson | 2010-04-02 | 4 | -20/+121 | |
| | ||||||
* | TestResult stores original sys.stdout and tests no longer use sys.__stdout__ ↵ | Michael Foord | 2010-04-02 | 2 | -19/+18 | |
| | | | | (etc) in tests for unittest -b command line option | |||||
* | Add a line about #7347 to Misc\News | Brian Curtin | 2010-04-02 | 1 | -0/+3 | |
| | ||||||
* | Fix test_compiler.py that was using unittest.__file__ to find Lib/ (unittest ↵ | Ezio Melotti | 2010-04-02 | 1 | -1/+3 | |
| | | | | is now a package). | |||||
* | Addition of -b command line option to unittest for buffering stdout and ↵ | Michael Foord | 2010-04-02 | 5 | -14/+217 | |
| | | | | stderr during test runs. | |||||
* | removed documentation on code that was reverted and pushed into distutils2 | Tarek Ziadé | 2010-04-02 | 2 | -110/+0 | |
| | ||||||
* | Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests. | Brian Curtin | 2010-04-02 | 3 | -38/+386 | |
| | | | | | | | | | *ReflectionKey functions used to not be documented or tested, but they are now sufficiently documented and tested on platforms where they apply. Additionally, fixed a bug in QueryReflectionKey which was returning an incorrect value. All tests pass from XP through Windows 7, on 32 and 64-bit platforms. | |||||
* | removed the local copy of xxmodule, and skip only test_build_ext when ↵ | Tarek Ziadé | 2010-04-02 | 2 | -398/+21 | |
| | | | | xxmodule is not found, not the whole unittest | |||||
* | Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile. | Mark Dickinson | 2010-04-02 | 1 | -0/+1 | |
| | ||||||
* | Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers. | Mark Dickinson | 2010-04-02 | 0 | -0/+0 | |
| | ||||||
* | Issue 8257: Decimal constructor to accept float. | Raymond Hettinger | 2010-04-02 | 3 | -11/+45 | |
| | ||||||
* | #6647: add note to two examples | Andrew M. Kuchling | 2010-04-02 | 1 | -2/+7 | |
| | ||||||
* | #6647: document that catch_warnings is not thread-safe | Andrew M. Kuchling | 2010-04-02 | 1 | -0/+8 | |
| | ||||||
* | Backport some robotparser test and skip the test if the external resource is ↵ | Florent Xicluna | 2010-04-02 | 1 | -5/+18 | |
| | | | | not available. | |||||
* | #4440: modernize a use of filter(), making it compatible with 3.x | Andrew M. Kuchling | 2010-04-02 | 1 | -1/+1 | |
| | ||||||
* | Issue 7994: Make object.__format__ with a non-empty format string a ↵ | Eric Smith | 2010-04-02 | 4 | -14/+106 | |
| | | | | PendingDecprecationWarning. Still need to remove uses of this from various tests. | |||||
* | Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is | Larry Hastings | 2010-04-02 | 2 | -0/+6 | |
| | | | | a socket option available on FreeBSD 7.1 and newer. | |||||
* | Capsule-related changes: | Larry Hastings | 2010-04-02 | 6 | -3/+62 | |
| | | | | | | | | | | | * PyCObject_AsVoidPtr() can now open capsules. This addresses most of the remaining backwards-compatibility concerns about the conversion of Python 2.7 from CObjects to capsules. * CObjects were marked Pending Deprecation. * Documentation about this pending deprecation was added to cobject.h. * The capsule source files were added to the legacy PC build processes. | |||||
* | Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable. | Mark Dickinson | 2010-04-02 | 3 | -6/+27 | |
| | | | | | | Also rewrite the Decimal __hash__ method so that it doesn't rely on float('inf') being valid: float('inf') could raise an exception on platforms not using IEEE 754 arithmetic. |