Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add versionchanged entry for Decimal(float) construction. | Mark Dickinson | 2010-04-04 | 1 | -7/+15 | |
| | | | | | | Also add an example of constructing a Decimal directly from a float, update the quickstart tutorial, and tweak another couple of sentences. | |||||
* | Add tests for cmp_to_key. | Raymond Hettinger | 2010-04-04 | 8 | -31/+17 | |
| | | | | | | Adopt PEP 8 compliant function name. Factor-out existing uses cmp_to_key. Update documentation to use internal pointers instead of external resource. | |||||
* | A handful of whitespace fixes in Modules/_struct.c. | Mark Dickinson | 2010-04-04 | 1 | -20/+20 | |
| | ||||||
* | Add functools.CmpToKey() | Raymond Hettinger | 2010-04-04 | 3 | -0/+73 | |
| | ||||||
* | Issue #8300 (__index__ handling in struct.pack): Remove redundant check | Mark Dickinson | 2010-04-04 | 2 | -16/+28 | |
| | | | | and improve test coverage. Thanks Meador Inge for the patch. | |||||
* | Documentation nit | Raymond Hettinger | 2010-04-04 | 1 | -0/+2 | |
| | ||||||
* | Use more specific assert* methods in test_struct. | Ezio Melotti | 2010-04-04 | 1 | -8/+8 | |
| | ||||||
* | Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - ↵ | Ezio Melotti | 2010-04-04 | 1 | -3/+1 | |
| | | | | and fix a typo. | |||||
* | Add a versionadded to Counter.subtract() doc. | Ezio Melotti | 2010-04-04 | 1 | -0/+2 | |
| | ||||||
* | Issue 5479: Add functools.total_ordering class decorator. | Raymond Hettinger | 2010-04-04 | 1 | -0/+20 | |
| | ||||||
* | use our own locale independent ctype macros | Benjamin Peterson | 2010-04-03 | 2 | -19/+4 | |
| | | | | requires building pyctype.o into pgen | |||||
* | ensure that the locale does not affect the tokenization of identifiers | Benjamin Peterson | 2010-04-03 | 2 | -4/+20 | |
| | ||||||
* | Expand test coverage for deque.count(). | Raymond Hettinger | 2010-04-03 | 1 | -0/+17 | |
| | ||||||
* | import bsddb more robustly | Benjamin Peterson | 2010-04-03 | 1 | -0/+6 | |
| | ||||||
* | Remove useless (?) import from r79706 | Antoine Pitrou | 2010-04-03 | 1 | -1/+0 | |
| | ||||||
* | Fix wording / typography, and a slightly misleading statement | Antoine Pitrou | 2010-04-03 | 1 | -5/+5 | |
| | | | | (memoryviews don't support complex structures right now) | |||||
* | Don't install python-gdb.py as an executable. | Martin v. Löwis | 2010-04-03 | 1 | -1/+1 | |
| | ||||||
* | Silence DeprecationWarnings from uses of has_key and <> in plat-mac. | Mark Dickinson | 2010-04-03 | 15 | -118/+118 | |
| | ||||||
* | Add count() method to collections.deque(). | Raymond Hettinger | 2010-04-03 | 4 | -1/+56 | |
| | ||||||
* | Silence a compiler warning. | Raymond Hettinger | 2010-04-03 | 1 | -1/+1 | |
| | ||||||
* | Documenting new features in unittest | Michael Foord | 2010-04-03 | 1 | -6/+168 | |
| | ||||||
* | Replace backquotes with repr(), to silence a SyntaxWarning. | Mark Dickinson | 2010-04-03 | 1 | -1/+1 | |
| | ||||||
* | Ensure 'module removed' warning messages contain the word 'module' or 'package'. | Mark Dickinson | 2010-04-03 | 7 | -7/+7 | |
| | | | | | This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this. | |||||
* | stop CObject deprecation warnings in test___all__ | Benjamin Peterson | 2010-04-03 | 2 | -0/+3 | |
| | ||||||
* | 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 |