summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add versionchanged entry for Decimal(float) construction.Mark Dickinson2010-04-041-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 Hettinger2010-04-048-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 Dickinson2010-04-041-20/+20
|
* Add functools.CmpToKey()Raymond Hettinger2010-04-043-0/+73
|
* Issue #8300 (__index__ handling in struct.pack): Remove redundant checkMark Dickinson2010-04-042-16/+28
| | | | and improve test coverage. Thanks Meador Inge for the patch.
* Documentation nitRaymond Hettinger2010-04-041-0/+2
|
* Use more specific assert* methods in test_struct.Ezio Melotti2010-04-041-8/+8
|
* Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - ↵Ezio Melotti2010-04-041-3/+1
| | | | and fix a typo.
* Add a versionadded to Counter.subtract() doc.Ezio Melotti2010-04-041-0/+2
|
* Issue 5479: Add functools.total_ordering class decorator.Raymond Hettinger2010-04-041-0/+20
|
* use our own locale independent ctype macrosBenjamin Peterson2010-04-032-19/+4
| | | | requires building pyctype.o into pgen
* ensure that the locale does not affect the tokenization of identifiersBenjamin Peterson2010-04-032-4/+20
|
* Expand test coverage for deque.count().Raymond Hettinger2010-04-031-0/+17
|
* import bsddb more robustlyBenjamin Peterson2010-04-031-0/+6
|
* Remove useless (?) import from r79706Antoine Pitrou2010-04-031-1/+0
|
* Fix wording / typography, and a slightly misleading statementAntoine Pitrou2010-04-031-5/+5
| | | | (memoryviews don't support complex structures right now)
* Don't install python-gdb.py as an executable.Martin v. Löwis2010-04-031-1/+1
|
* Silence DeprecationWarnings from uses of has_key and <> in plat-mac.Mark Dickinson2010-04-0315-118/+118
|
* Add count() method to collections.deque().Raymond Hettinger2010-04-034-1/+56
|
* Silence a compiler warning.Raymond Hettinger2010-04-031-1/+1
|
* Documenting new features in unittestMichael Foord2010-04-031-6/+168
|
* Replace backquotes with repr(), to silence a SyntaxWarning.Mark Dickinson2010-04-031-1/+1
|
* Ensure 'module removed' warning messages contain the word 'module' or 'package'.Mark Dickinson2010-04-037-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 Peterson2010-04-032-0/+3
|
* remove deprecation warnings silence attemptingBenjamin Peterson2010-04-031-2/+1
|
* Add Misc/NEWS entry for r79609.Mark Dickinson2010-04-031-0/+6
|
* spellingBenjamin Peterson2010-04-031-1/+1
|
* silence PyCObject warnings in bsddbBenjamin Peterson2010-04-031-0/+1
|
* remove unneeded argumentBenjamin Peterson2010-04-031-2/+1
|
* wrapBenjamin Peterson2010-04-031-3/+3
|
* Minor tweak to unittest command line usage messageMichael Foord2010-04-031-1/+2
|
* Adding -b command line option to the unittest usage message.Michael Foord2010-04-031-6/+8
|
* Use more specific assert* methods in test_decimal.Ezio Melotti2010-04-031-43/+43
|
* Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.Mark Dickinson2010-04-034-14/+70
| | | | Based on a patch by Meador Inge.
* Add missing return statement in an error condition.Brian Curtin2010-04-031-1/+1
|
* Fix a couple of issues with the test_structmembersType class in _testcapimoduleMark Dickinson2010-04-032-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 Hettinger2010-04-034-0/+52
|
* Issue #8227: Fix C API documentation, argument parsingVictor Stinner2010-04-031-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++ supportTarek Ziadé2010-04-033-15/+53
|
* Factor-out constant expressionsRaymond Hettinger2010-04-031-14/+6
|
* Improve clear() method. Keeps key/value refcnts >= 1 until final ↵Raymond Hettinger2010-04-031-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 endingsMichael Foord2010-04-031-5/+4
|
* Cross platform unittest.TestResult newline handling when buffering stdout / ↵Michael Foord2010-04-032-15/+15
| | | | stderr.
* give TypeError when trying to set T_STRING_INPLACEBenjamin Peterson2010-04-034-5/+27
|
* Support dotted module names for test discovery paths in unittest. Issue 7780.Michael Foord2010-04-032-6/+32
|
* split out large test functionBenjamin Peterson2010-04-031-16/+21
|
* Fix assertRaises usage on reflection functions which should raiseBrian Curtin2010-04-031-5/+8
| | | | NotImplementedError on Windows XP and below.
* more _PyString_Resize error checkingBenjamin Peterson2010-04-033-13/+20
|
* Clear cyclical references in list based OrderedDict.Raymond Hettinger2010-04-031-3/+11
|
* always check _PyString_Resize for errorBenjamin Peterson2010-04-021-10/+12
| | | | also normalize how this error is checked