summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged revisions 79733,79735 via svnmerge fromEzio Melotti2010-04-041-1/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79733 | ezio.melotti | 2010-04-04 09:41:27 +0300 (Sun, 04 Apr 2010) | 1 line Add a versionadded to Counter.subtract() doc. ........ r79735 | ezio.melotti | 2010-04-04 09:50:58 +0300 (Sun, 04 Apr 2010) | 1 line Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo. ........
* Fix versionchanged from 2.7 to 3.2 in decimal.rst.Ezio Melotti2010-04-041-1/+1
|
* add missing decrefsBenjamin Peterson2010-04-031-0/+3
|
* Add count() method to collections.deque().Raymond Hettinger2010-04-034-1/+73
|
* Merged revisions 79725 via svnmerge fromBenjamin Peterson2010-04-032-11/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79725 | benjamin.peterson | 2010-04-03 18:03:35 -0500 (Sat, 03 Apr 2010) | 4 lines use our own locale independent ctype macros requires building pyctype.o into pgen ........
* Merged revisions 79723 via svnmerge fromBenjamin Peterson2010-04-032-1/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79723 | benjamin.peterson | 2010-04-03 17:48:51 -0500 (Sat, 03 Apr 2010) | 1 line ensure that the locale does not affect the tokenization of identifiers ........
* Blocked revisions 79718-79719 via svnmergeBenjamin Peterson2010-04-030-0/+0
| | | | | | | | | | | | ........ r79718 | antoine.pitrou | 2010-04-03 16:42:18 -0500 (Sat, 03 Apr 2010) | 3 lines Remove useless (?) import from r79706 ........ r79719 | benjamin.peterson | 2010-04-03 16:50:40 -0500 (Sat, 03 Apr 2010) | 1 line import bsddb more robustly ........
* Blocked revisions 79712 via svnmergeBenjamin Peterson2010-04-030-0/+0
| | | | | | | | ........ r79712 | raymond.hettinger | 2010-04-03 12:10:05 -0500 (Sat, 03 Apr 2010) | 1 line Silence a compiler warning. ........
* Blocked revisions 79714 via svnmergeMark Dickinson2010-04-030-0/+0
| | | | | | | | ........ r79714 | mark.dickinson | 2010-04-03 19:17:54 +0100 (Sat, 03 Apr 2010) | 1 line Silence DeprecationWarnings from uses of has_key and <> in plat-mac. ........
* Blocked revisions 79707 via svnmergeMark Dickinson2010-04-030-0/+0
| | | | | | | | | | | ........ r79707 | mark.dickinson | 2010-04-03 17:41:20 +0100 (Sat, 03 Apr 2010) | 5 lines Ensure 'module removed' warning messages contain the word 'module' or 'package'. This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this. ........
* Blocked revisions 79697-79698,79704 via svnmergeBenjamin Peterson2010-04-030-0/+0
| | | | | | | | | | | | | | | | ........ r79697 | benjamin.peterson | 2010-04-03 10:44:56 -0500 (Sat, 03 Apr 2010) | 1 line silence PyCObject warnings in bsddb ........ r79698 | benjamin.peterson | 2010-04-03 10:45:59 -0500 (Sat, 03 Apr 2010) | 1 line spelling ........ r79704 | benjamin.peterson | 2010-04-03 10:58:15 -0500 (Sat, 03 Apr 2010) | 1 line remove deprecation warnings silence attempting ........
* Merged revisions 79674 via svnmerge fromMark Dickinson2010-04-034-4/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79674 | mark.dickinson | 2010-04-03 15:05:10 +0100 (Sat, 03 Apr 2010) | 3 lines Issue #8300: Let struct.pack use __index__ to convert and pack non-integers. Based on a patch by Meador Inge. ........
* Merged revisions 79699 via svnmerge fromMark Dickinson2010-04-031-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79699 | mark.dickinson | 2010-04-03 16:47:46 +0100 (Sat, 03 Apr 2010) | 1 line Add Misc/NEWS entry for r79609. ........
* Blocked revisions 79693,79695 via svnmergeBenjamin Peterson2010-04-030-0/+0
| | | | | | | | | | | | ........ r79693 | benjamin.peterson | 2010-04-03 10:38:38 -0500 (Sat, 03 Apr 2010) | 1 line wrap ........ r79695 | benjamin.peterson | 2010-04-03 10:40:29 -0500 (Sat, 03 Apr 2010) | 1 line remove unneeded argument ........
* Blocked revisions 79624 via svnmergeEzio Melotti2010-04-030-0/+0
| | | | | | | | ........ r79624 | ezio.melotti | 2010-04-03 00:43:10 +0300 (Sat, 03 Apr 2010) | 1 line Fix test_compiler.py that was using unittest.__file__ to find Lib/ (unittest is now a package). ........
* Add -bb to rt.bat to do some extra checks during the tests (it is already ↵Ezio Melotti2010-04-031-1/+1
| | | | used by the non-Windows buildbots).
* Internal refactoring in struct.pack: make all integer conversions go ↵Mark Dickinson2010-04-031-20/+20
| | | | through get_pylong.
* Clean up integer tests in test_struct, and bring them more in line with the ↵Mark Dickinson2010-04-031-168/+125
| | | | trunk tests.
* Merged revisions 79678 via svnmerge fromEzio Melotti2010-04-031-40/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79678 | ezio.melotti | 2010-04-03 17:51:00 +0300 (Sat, 03 Apr 2010) | 1 line Use more specific assert* methods in test_decimal. ........
* Remove unused define.Mark Dickinson2010-04-031-2/+0
|
* Merged revisions 79629 via svnmerge fromMark Dickinson2010-04-034-20/+121
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79629 | mark.dickinson | 2010-04-02 23:27:36 +0100 (Fri, 02 Apr 2010) | 2 lines Issue #8294: Allow float and Decimal arguments in Fraction constructor. ........
* Merged revisions 79583,79588-79589 via svnmerge fromMark Dickinson2010-04-034-27/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79583 | mark.dickinson | 2010-04-02 09:53:22 +0100 (Fri, 02 Apr 2010) | 7 lines Issue #2531: Make float-to-decimal comparisons return correct results. Float to decimal comparison operations now return a result based on the numeric values of the operands. Decimal.__hash__ has also been fixed so that Decimal and float values that compare equal have equal hash value. ........ r79588 | mark.dickinson | 2010-04-02 11:17:07 +0100 (Fri, 02 Apr 2010) | 2 lines Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation. ........ r79589 | mark.dickinson | 2010-04-02 11:35:12 +0100 (Fri, 02 Apr 2010) | 6 lines Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable. 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. ........
* Merged revisions 79661 via svnmerge fromMark Dickinson2010-04-032-11/+18
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79661 | mark.dickinson | 2010-04-03 11:27:05 +0100 (Sat, 03 Apr 2010) | 14 lines Fix a couple of issues with the test_structmembersType class in _testcapimodule - 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 a subtract() method to collections.Counter()Raymond Hettinger2010-04-034-0/+51
|
* Merged revisions 79652 via svnmerge fromTarek Ziadé2010-04-033-14/+50
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79652 | tarek.ziade | 2010-04-03 10:37:59 +0200 (Sat, 03 Apr 2010) | 1 line Issue #1222585: Added LDCXXSHARED for C++ support ........
* Blocked revisions 79654 via svnmergeVictor Stinner2010-04-030-0/+0
| | | | | | | | | | | ........ r79654 | victor.stinner | 2010-04-03 10:40:16 +0200 (sam., 03 avril 2010) | 5 lines Issue #8227: Fix C API documentation, argument parsing * 'z', 'z#', 'z*' does also accept Unicode * unify types name: replace "string or Unicode objet" by "string or Unicode" ........
* Merged revisions 79642,79644 via svnmerge fromBenjamin Peterson2010-04-034-20/+48
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79642 | benjamin.peterson | 2010-04-02 20:08:34 -0500 (Fri, 02 Apr 2010) | 1 line split out large test function ........ r79644 | benjamin.peterson | 2010-04-02 20:28:57 -0500 (Fri, 02 Apr 2010) | 1 line give TypeError when trying to set T_STRING_INPLACE ........
* Blocked revisions 79636,79639 via svnmergeBenjamin Peterson2010-04-030-0/+0
| | | | | | | | | | | | | | ........ r79636 | benjamin.peterson | 2010-04-02 18:59:41 -0500 (Fri, 02 Apr 2010) | 4 lines always check _PyString_Resize for error also normalize how this error is checked ........ r79639 | benjamin.peterson | 2010-04-02 19:57:33 -0500 (Fri, 02 Apr 2010) | 1 line more _PyString_Resize error checking ........
* Change test_support to support. Fixes a failing test on Windows.Brian Curtin2010-04-021-1/+1
|
* Blocked revisions 79582 via svnmergeEzio Melotti2010-04-020-0/+0
| | | | | | | | ........ r79582 | georg.brandl | 2010-04-02 11:51:31 +0300 (Fri, 02 Apr 2010) | 1 line Fix typo in unicode character name. ........
* Merged revisions 79618 via svnmerge fromTarek Ziadé2010-04-021-18/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79618 | tarek.ziade | 2010-04-02 23:14:04 +0200 (Fri, 02 Apr 2010) | 1 line removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest ........
* #8288: fix next -> __next__.Georg Brandl2010-04-021-1/+1
|
* An oversight in previous merge, r79610: test_doctest is sensible to the line ↵Florent Xicluna2010-04-021-0/+1
| | | | numbering.
* Add nice docstrings to namedtuples.Raymond Hettinger2010-04-022-3/+9
|
* (partially)Florent Xicluna2010-04-0214-95/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 79534,79537,79539,79558,79606 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79534 | florent.xicluna | 2010-03-31 23:21:54 +0200 (mer, 31 mar 2010) | 2 lines Fix test for xml.etree when using a non-ascii path. And use check_warnings instead of catch_warnings. ........ r79537 | florent.xicluna | 2010-03-31 23:40:32 +0200 (mer, 31 mar 2010) | 2 lines Fix typo ........ r79539 | florent.xicluna | 2010-04-01 00:01:03 +0200 (jeu, 01 avr 2010) | 2 lines Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests. ........ r79558 | florent.xicluna | 2010-04-01 20:17:09 +0200 (jeu, 01 avr 2010) | 2 lines #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote. ........ r79606 | florent.xicluna | 2010-04-02 19:26:42 +0200 (ven, 02 avr 2010) | 2 lines Backport some robotparser test and skip the test if the external resource is not available. ........
* Furniture is not very reliable these days (buildbot failures).Antoine Pitrou2010-04-021-2/+6
|
* Merged revisions 79603 via svnmerge fromAndrew M. Kuchling2010-04-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79603 | andrew.kuchling | 2010-04-02 12:59:16 -0400 (Fri, 02 Apr 2010) | 1 line #4440: modernize a use of filter(), making it compatible with 3.x ........
* Issue 8257: Decimal constructor to accept float argument.Raymond Hettinger2010-04-023-28/+41
|
* Merged revisions 79540-79541 via svnmerge fromEzio Melotti2010-04-022-2/+2
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk Add -Wd to the flags used to run the tests (-3 is not necessary here). ........ r79540 | ezio.melotti | 2010-04-01 01:18:09 +0300 (Thu, 01 Apr 2010) | 1 line Add -Wd and -3 to the flags used to run the tests. ........ r79541 | ezio.melotti | 2010-04-01 01:43:31 +0300 (Thu, 01 Apr 2010) | 1 line Add -Wd and -3 to the flags used to run the tests on Windows. ........
* - Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB isLarry Hastings2010-04-022-0/+6
| | | | a socket option available on FreeBSD 7.1 and newer.
* Blocked revisions 79592 via svnmergeLarry Hastings2010-04-020-0/+0
| | | | | | | | | ........ r79592 | larry.hastings | 2010-04-02 04:18:17 -0700 (Fri, 02 Apr 2010) | 3 lines Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is a socket option available on FreeBSD 7.1 and newer. ........
* Blocked revisions 79590 via svnmergeLarry Hastings2010-04-020-0/+0
| | | | | | | | | | | | | | | | ........ r79590 | larry.hastings | 2010-04-02 04:01:35 -0700 (Fri, 02 Apr 2010) | 10 lines Capsule-related changes: * 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. ........
* #8213: document behavior of -u on py3k better.Georg Brandl2010-04-022-8/+9
|
* Fix nits in itertools recipes.Raymond Hettinger2010-04-021-5/+5
|
* Add and update itertools recipes.Raymond Hettinger2010-04-021-2/+24
|
* Document sorting HowToRaymond Hettinger2010-04-021-0/+3
|
* Merged revisions 79555 via svnmerge fromAntoine Pitrou2010-04-013-16/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79555 | antoine.pitrou | 2010-04-01 18:42:11 +0200 (jeu., 01 avril 2010) | 5 lines Issue #8276: PyEval_CallObject() is now only available in macro form. The function declaration, which was kept for backwards compatibility reasons, is now removed (the macro was introduced in 1997!). ........
* Fix typo in definition of 'in' keyword.Stefan Krah2010-04-011-1/+1
|
* Merged revisions 79543 via svnmerge fromBrian Curtin2010-04-011-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79543 | brian.curtin | 2010-03-31 23:02:00 -0500 (Wed, 31 Mar 2010) | 2 lines Fix a test_pydoc failure on Neal Norwitz's buildbot. ........
* NOTE: only ported the test for new-style classes.Antoine Pitrou2010-03-311-0/+12
| | | | | | | | | | | | Merged revisions 79535 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79535 | antoine.pitrou | 2010-03-31 23:32:15 +0200 (mer., 31 mars 2010) | 5 lines Issue #8268: Old-style classes (not just instances) now support weak references. ........