]>
granicus.if.org Git - python/log
Mark Dickinson [Tue, 6 Apr 2010 15:47:14 +0000 (15:47 +0000)]
Remove out-of-date comment.
Eric Smith [Tue, 6 Apr 2010 15:21:59 +0000 (15:21 +0000)]
Merged revisions 79833 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79833 | eric.smith | 2010-04-06 11:17:33 -0400 (Tue, 06 Apr 2010) | 1 line
Note that PEP 378 also applies to int.
........
Eric Smith [Tue, 6 Apr 2010 14:57:57 +0000 (14:57 +0000)]
Merged revisions 79826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79826 | eric.smith | 2010-04-06 10:30:15 -0400 (Tue, 06 Apr 2010) | 1 line
Fixed PEP 378 example.
........
Mark Dickinson [Tue, 6 Apr 2010 14:36:52 +0000 (14:36 +0000)]
Recorded merge of revisions 79609 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79609 | raymond.hettinger | 2010-04-02 19:39:24 +0100 (Fri, 02 Apr 2010) | 1 line
Issue 8257: Decimal constructor to accept float.
........
Mark Dickinson [Tue, 6 Apr 2010 10:29:17 +0000 (10:29 +0000)]
Merged revisions 79809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79809 | mark.dickinson | 2010-04-05 19:54:51 +0100 (Mon, 05 Apr 2010) | 1 line
Use a better NaN test in _Py_HashDouble as well.
........
Senthil Kumaran [Tue, 6 Apr 2010 03:30:18 +0000 (03:30 +0000)]
Merged revisions 79817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79817 | senthil.kumaran | 2010-04-06 08:53:33 +0530 (Tue, 06 Apr 2010) | 2 lines
Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once"
........
Antoine Pitrou [Mon, 5 Apr 2010 21:44:48 +0000 (21:44 +0000)]
Fix docs for r79813.
Antoine Pitrou [Mon, 5 Apr 2010 21:40:07 +0000 (21:40 +0000)]
Merged revisions 79812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79812 | antoine.pitrou | 2010-04-05 23:35:07 +0200 (lun., 05 avril 2010) | 5 lines
Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
........
Raymond Hettinger [Mon, 5 Apr 2010 18:56:31 +0000 (18:56 +0000)]
Forward port total_ordering() and cmp_to_key().
Mark Dickinson [Mon, 5 Apr 2010 18:09:39 +0000 (18:09 +0000)]
Merged revisions 79804 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79804 | mark.dickinson | 2010-04-05 19:07:51 +0100 (Mon, 05 Apr 2010) | 5 lines
Use a more robust infinity check in _Py_HashDouble.
This fixes a test_decimal failure on FreeBSD 8.0. (modf apparently
doesn't follow C99 Annex F on FreeBSD.)
........
Ezio Melotti [Mon, 5 Apr 2010 13:25:51 +0000 (13:25 +0000)]
Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line
Fix some broken URLs.
........
Ezio Melotti [Mon, 5 Apr 2010 08:21:29 +0000 (08:21 +0000)]
Merged revisions 79788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79788 | ezio.melotti | 2010-04-05 11:16:41 +0300 (Mon, 05 Apr 2010) | 1 line
Fix markup errors.
........
Ezio Melotti [Mon, 5 Apr 2010 04:04:35 +0000 (04:04 +0000)]
Merged revisions 79781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79781 | ezio.melotti | 2010-04-05 06:51:38 +0300 (Mon, 05 Apr 2010) | 1 line
#8212: rephrase the webservers howto and fix some mistakes.
........
Philip Jenvey [Mon, 5 Apr 2010 03:05:24 +0000 (03:05 +0000)]
Merged revisions 79779 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79779 | philip.jenvey | 2010-04-04 19:51:51 -0700 (Sun, 04 Apr 2010) | 2 lines
fix escape_encode to return the correct consumed size
........
Ezio Melotti [Sun, 4 Apr 2010 23:27:45 +0000 (23:27 +0000)]
Merged revisions 79768 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79768 | ezio.melotti | 2010-04-05 02:21:53 +0300 (Mon, 05 Apr 2010) | 1 line
Fix markup in decimal.rst.
........
Benjamin Peterson [Sun, 4 Apr 2010 23:26:50 +0000 (23:26 +0000)]
factor out constant
Benjamin Peterson [Sun, 4 Apr 2010 23:25:45 +0000 (23:25 +0000)]
Blocked revisions 79769 via svnmerge
........
r79769 | benjamin.peterson | 2010-04-04 18:23:22 -0500 (Sun, 04 Apr 2010) | 1 line
fix dis on new style classes #8310
........
Benjamin Peterson [Sun, 4 Apr 2010 23:09:06 +0000 (23:09 +0000)]
Merged revisions 79763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79763 | benjamin.peterson | 2010-04-04 18:03:22 -0500 (Sun, 04 Apr 2010) | 1 line
fix tabs
........
Benjamin Peterson [Sun, 4 Apr 2010 23:03:35 +0000 (23:03 +0000)]
Merged revisions 79762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79762 | benjamin.peterson | 2010-04-04 18:01:03 -0500 (Sun, 04 Apr 2010) | 1 line
tabify
........
Mark Dickinson [Sun, 4 Apr 2010 22:13:14 +0000 (22:13 +0000)]
Merged revisions 79756 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79756 | mark.dickinson | 2010-04-04 23:09:21 +0100 (Sun, 04 Apr 2010) | 6 lines
Add versionchanged entry for Decimal(float) construction.
Also add an example of constructing a Decimal directly from a float,
update the quickstart tutorial, and tweak another couple of
sentences.
........
Mark Dickinson [Sun, 4 Apr 2010 21:23:57 +0000 (21:23 +0000)]
Merged revisions 79751 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79751 | mark.dickinson | 2010-04-04 22:19:35 +0100 (Sun, 04 Apr 2010) | 1 line
A handful of whitespace fixes in Modules/_struct.c.
........
Mark Dickinson [Sun, 4 Apr 2010 08:52:51 +0000 (08:52 +0000)]
Merged revisions 79745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79745 | mark.dickinson | 2010-04-04 09:43:04 +0100 (Sun, 04 Apr 2010) | 3 lines
Issue #8300 (__index__ handling in struct.pack): Remove redundant check
and improve test coverage. Thanks Meador Inge for the patch.
........
Ezio Melotti [Sun, 4 Apr 2010 07:21:15 +0000 (07:21 +0000)]
Merged revisions 79740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79740 | ezio.melotti | 2010-04-04 10:00:02 +0300 (Sun, 04 Apr 2010) | 1 line
Use more specific assert* methods in test_struct.
........
Ezio Melotti [Sun, 4 Apr 2010 06:57:44 +0000 (06:57 +0000)]
Recorded merge of revisions 79660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79660 | raymond.hettinger | 2010-04-03 13:22:00 +0300 (Sat, 03 Apr 2010) | 1 line
Add subtract() method to collections.Counter() objects.
........
Ezio Melotti [Sun, 4 Apr 2010 06:53:44 +0000 (06:53 +0000)]
Merged revisions 79733,79735 via svnmerge from
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.
........
Ezio Melotti [Sun, 4 Apr 2010 06:30:08 +0000 (06:30 +0000)]
Fix versionchanged from 2.7 to 3.2 in decimal.rst.
Benjamin Peterson [Sat, 3 Apr 2010 23:56:48 +0000 (23:56 +0000)]
add missing decrefs
Raymond Hettinger [Sat, 3 Apr 2010 23:20:46 +0000 (23:20 +0000)]
Add count() method to collections.deque().
Benjamin Peterson [Sat, 3 Apr 2010 23:10:01 +0000 (23:10 +0000)]
Merged revisions 79725 via svnmerge from
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
........
Benjamin Peterson [Sat, 3 Apr 2010 22:55:48 +0000 (22:55 +0000)]
Merged revisions 79723 via svnmerge from
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
........
Benjamin Peterson [Sat, 3 Apr 2010 22:11:20 +0000 (22:11 +0000)]
Blocked revisions 79718-79719 via svnmerge
........
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
........
Benjamin Peterson [Sat, 3 Apr 2010 21:57:26 +0000 (21:57 +0000)]
Blocked revisions 79712 via svnmerge
........
r79712 | raymond.hettinger | 2010-04-03 12:10:05 -0500 (Sat, 03 Apr 2010) | 1 line
Silence a compiler warning.
........
Mark Dickinson [Sat, 3 Apr 2010 18:18:44 +0000 (18:18 +0000)]
Blocked revisions 79714 via svnmerge
........
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.
........
Mark Dickinson [Sat, 3 Apr 2010 16:42:09 +0000 (16:42 +0000)]
Blocked revisions 79707 via svnmerge
........
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.
........
Benjamin Peterson [Sat, 3 Apr 2010 16:01:50 +0000 (16:01 +0000)]
Blocked revisions 79697-79698,79704 via svnmerge
........
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
........
Mark Dickinson [Sat, 3 Apr 2010 15:54:36 +0000 (15:54 +0000)]
Merged revisions 79674 via svnmerge from
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.
........
Mark Dickinson [Sat, 3 Apr 2010 15:51:03 +0000 (15:51 +0000)]
Merged revisions 79699 via svnmerge from
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.
........
Benjamin Peterson [Sat, 3 Apr 2010 15:42:04 +0000 (15:42 +0000)]
Blocked revisions 79693,79695 via svnmerge
........
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
........
Ezio Melotti [Sat, 3 Apr 2010 15:39:17 +0000 (15:39 +0000)]
Blocked revisions 79624 via svnmerge
........
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).
........
Ezio Melotti [Sat, 3 Apr 2010 15:27:05 +0000 (15:27 +0000)]
Add -bb to rt.bat to do some extra checks during the tests (it is already used by the non-Windows buildbots).
Mark Dickinson [Sat, 3 Apr 2010 15:26:31 +0000 (15:26 +0000)]
Internal refactoring in struct.pack: make all integer conversions go through get_pylong.
Mark Dickinson [Sat, 3 Apr 2010 15:07:40 +0000 (15:07 +0000)]
Clean up integer tests in test_struct, and bring them more in line with the trunk tests.
Ezio Melotti [Sat, 3 Apr 2010 14:59:49 +0000 (14:59 +0000)]
Merged revisions 79678 via svnmerge from
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.
........
Mark Dickinson [Sat, 3 Apr 2010 14:24:58 +0000 (14:24 +0000)]
Remove unused define.
Mark Dickinson [Sat, 3 Apr 2010 11:18:52 +0000 (11:18 +0000)]
Merged revisions 79629 via svnmerge from
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.
........
Mark Dickinson [Sat, 3 Apr 2010 11:08:14 +0000 (11:08 +0000)]
Merged revisions 79583,79588-79589 via svnmerge from
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.
........
Mark Dickinson [Sat, 3 Apr 2010 10:49:56 +0000 (10:49 +0000)]
Merged revisions 79661 via svnmerge from
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.
........
Raymond Hettinger [Sat, 3 Apr 2010 10:32:58 +0000 (10:32 +0000)]
Add a subtract() method to collections.Counter()
Tarek Ziadé [Sat, 3 Apr 2010 08:46:49 +0000 (08:46 +0000)]
Merged revisions 79652 via svnmerge from
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
........
Victor Stinner [Sat, 3 Apr 2010 08:43:28 +0000 (08:43 +0000)]
Blocked revisions 79654 via svnmerge
........
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"
........
Benjamin Peterson [Sat, 3 Apr 2010 01:40:24 +0000 (01:40 +0000)]
Merged revisions 79642,79644 via svnmerge from
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
........
Benjamin Peterson [Sat, 3 Apr 2010 01:02:00 +0000 (01:02 +0000)]
Blocked revisions 79636,79639 via svnmerge
........
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
........
Brian Curtin [Fri, 2 Apr 2010 22:38:52 +0000 (22:38 +0000)]
Change test_support to support. Fixes a failing test on Windows.
Ezio Melotti [Fri, 2 Apr 2010 22:15:23 +0000 (22:15 +0000)]
Blocked revisions 79582 via svnmerge
........
r79582 | georg.brandl | 2010-04-02 11:51:31 +0300 (Fri, 02 Apr 2010) | 1 line
Fix typo in unicode character name.
........
Tarek Ziadé [Fri, 2 Apr 2010 21:24:55 +0000 (21:24 +0000)]
Merged revisions 79618 via svnmerge from
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
........
Georg Brandl [Fri, 2 Apr 2010 20:12:42 +0000 (20:12 +0000)]
#8288: fix next -> __next__.
Florent Xicluna [Fri, 2 Apr 2010 19:25:32 +0000 (19:25 +0000)]
An oversight in previous merge, r79610: test_doctest is sensible to the line numbering.
Raymond Hettinger [Fri, 2 Apr 2010 18:54:02 +0000 (18:54 +0000)]
Add nice docstrings to namedtuples.
Florent Xicluna [Fri, 2 Apr 2010 18:52:12 +0000 (18:52 +0000)]
(partially)
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.
........
Antoine Pitrou [Fri, 2 Apr 2010 17:12:12 +0000 (17:12 +0000)]
Furniture is not very reliable these days (buildbot failures).
Andrew M. Kuchling [Fri, 2 Apr 2010 17:02:57 +0000 (17:02 +0000)]
Merged revisions 79603 via svnmerge from
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
........
Raymond Hettinger [Fri, 2 Apr 2010 16:58:27 +0000 (16:58 +0000)]
Issue 8257: Decimal constructor to accept float argument.
Ezio Melotti [Fri, 2 Apr 2010 13:56:40 +0000 (13:56 +0000)]
Merged revisions 79540-79541 via svnmerge from
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.
........
Larry Hastings [Fri, 2 Apr 2010 11:47:10 +0000 (11:47 +0000)]
- Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
Larry Hastings [Fri, 2 Apr 2010 11:20:07 +0000 (11:20 +0000)]
Blocked revisions 79592 via svnmerge
........
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.
........
Larry Hastings [Fri, 2 Apr 2010 11:03:37 +0000 (11:03 +0000)]
Blocked revisions 79590 via svnmerge
........
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.
........
Georg Brandl [Fri, 2 Apr 2010 08:47:07 +0000 (08:47 +0000)]
#8213: document behavior of -u on py3k better.
Raymond Hettinger [Fri, 2 Apr 2010 04:50:35 +0000 (04:50 +0000)]
Fix nits in itertools recipes.
Raymond Hettinger [Fri, 2 Apr 2010 04:18:18 +0000 (04:18 +0000)]
Add and update itertools recipes.
Raymond Hettinger [Fri, 2 Apr 2010 00:25:45 +0000 (00:25 +0000)]
Document sorting HowTo
Antoine Pitrou [Thu, 1 Apr 2010 16:53:15 +0000 (16:53 +0000)]
Merged revisions 79555 via svnmerge from
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!).
........
Stefan Krah [Thu, 1 Apr 2010 10:34:09 +0000 (10:34 +0000)]
Fix typo in definition of 'in' keyword.
Brian Curtin [Thu, 1 Apr 2010 04:05:25 +0000 (04:05 +0000)]
Merged revisions 79543 via svnmerge from
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.
........
Antoine Pitrou [Wed, 31 Mar 2010 21:40:47 +0000 (21:40 +0000)]
NOTE: only ported the test for new-style classes.
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.
........
Barry Warsaw [Wed, 31 Mar 2010 21:36:22 +0000 (21:36 +0000)]
- Issue #8233: When run as a script, py_compile.py optionally takes a single
argument `-` which tells it to read files to compile from stdin. Each line
is read on demand and the named file is compiled immediately. (Original
patch by Piotr Ożarowski).
Brian Curtin [Wed, 31 Mar 2010 17:46:38 +0000 (17:46 +0000)]
Merged revisions 79529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Ezio Melotti [Wed, 31 Mar 2010 07:45:32 +0000 (07:45 +0000)]
Merged revisions 79522 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79522 | ezio.melotti | 2010-03-31 10:26:24 +0300 (Wed, 31 Mar 2010) | 1 line
Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list.
........
Brian Curtin [Wed, 31 Mar 2010 03:19:28 +0000 (03:19 +0000)]
Merged revisions 79518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79518 | brian.curtin | 2010-03-30 22:10:21 -0500 (Tue, 30 Mar 2010) | 2 lines
Fix #8225. xml.etree was displaying an incorrect link when viewed in help.
........
Florent Xicluna [Tue, 30 Mar 2010 19:43:09 +0000 (19:43 +0000)]
Merged revisions 79497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79497 | florent.xicluna | 2010-03-30 18:31:14 +0200 (mar, 30 mar 2010) | 2 lines
#8263: Now regrtest.py will report a failure if it receives a KeyboardInterrupt (SIGINT).
........
Florent Xicluna [Tue, 30 Mar 2010 19:37:07 +0000 (19:37 +0000)]
Merged revisions 79498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79498 | florent.xicluna | 2010-03-30 18:42:47 +0200 (mar, 30 mar 2010) | 2 lines
fix ACKS: alphabetic order and UTF-8
........
Florent Xicluna [Tue, 30 Mar 2010 19:34:18 +0000 (19:34 +0000)]
Merged revisions 79494,79496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79494 | florent.xicluna | 2010-03-30 10:24:06 +0200 (mar, 30 mar 2010) | 2 lines
#7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14.
........
r79496 | florent.xicluna | 2010-03-30 18:29:03 +0200 (mar, 30 mar 2010) | 2 lines
Highlight the change of behavior related to r79494. Now VT and FF are linebreaks.
........
Antoine Pitrou [Tue, 30 Mar 2010 18:59:21 +0000 (18:59 +0000)]
Blocked revisions 79504 via svnmerge
........
r79504 | antoine.pitrou | 2010-03-30 20:58:22 +0200 (mar., 30 mars 2010) | 3 lines
Fix small error in r79502
........
Antoine Pitrou [Tue, 30 Mar 2010 18:56:19 +0000 (18:56 +0000)]
Merged revisions 79502 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79502 | antoine.pitrou | 2010-03-30 20:49:45 +0200 (mar., 30 mars 2010) | 4 lines
Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi.
........
Benjamin Peterson [Tue, 30 Mar 2010 18:42:32 +0000 (18:42 +0000)]
Merged revisions 79500 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79500 | benjamin.peterson | 2010-03-30 12:58:13 -0500 (Tue, 30 Mar 2010) | 4 lines
add inspect.getcallargs, which binds function arguments like a normal call #3135
Patch by George Sakkis
........
Benjamin Peterson [Tue, 30 Mar 2010 17:34:47 +0000 (17:34 +0000)]
build without -fno-strict-aliasing when gcc isn't buggy #3326
Patch from Daniel Stutzbach
Raymond Hettinger [Sun, 28 Mar 2010 18:27:13 +0000 (18:27 +0000)]
Update itertools recipes.
Florent Xicluna [Sun, 28 Mar 2010 00:25:02 +0000 (00:25 +0000)]
Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines
#7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
........
r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines
Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only).
........
r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines
Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available.
........
r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines
Syntax cleanup `== None` -> `is None`
........
r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines
#8207: Fix test_pep277 on OS X
........
r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines
Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
........
r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines
Ensure that the failed or unexpected tests are sorted before printing.
........
Florent Xicluna [Sat, 27 Mar 2010 22:47:23 +0000 (22:47 +0000)]
Merged revisions 79344,79346,79350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79344 | florent.xicluna | 2010-03-23 15:36:45 +0100 (mar, 23 mar 2010) | 2 lines
Silence test_subprocess.
........
r79346 | florent.xicluna | 2010-03-23 16:05:30 +0100 (mar, 23 mar 2010) | 2 lines
The standard error should be empty when the signal is killed, except on SIGINT.
........
r79350 | florent.xicluna | 2010-03-23 20:19:16 +0100 (mar, 23 mar 2010) | 2 lines
The SIGINT signal may happen earlier, during site.py initialization.
........
Florent Xicluna [Sat, 27 Mar 2010 22:18:04 +0000 (22:18 +0000)]
Blocked revisions 79288,79295-79296,79334,79378 via svnmerge
........
r79288 | florent.xicluna | 2010-03-22 16:02:46 +0100 (lun, 22 mar 2010) | 2 lines
Get rid of buffer() in test_ctypes: backport the 3.x tests.
........
r79295 | florent.xicluna | 2010-03-22 17:07:38 +0100 (lun, 22 mar 2010) | 3 lines
Issue #7703: ctypes supports both buffer() and memoryview(). The former is deprecated.
Complement of r79288.
........
r79296 | florent.xicluna | 2010-03-22 17:36:51 +0100 (lun, 22 mar 2010) | 3 lines
Preserve backward compatibility of the ctypes module.
"This file should be kept compatible with Python 2.3, see PEP 291."
........
r79334 | florent.xicluna | 2010-03-23 12:07:54 +0100 (mar, 23 mar 2010) | 2 lines
Skip test_format_deprecation if _ctypes is not available. Add a filter to the warning check.
........
r79378 | florent.xicluna | 2010-03-24 18:32:58 +0100 (mer, 24 mar 2010) | 3 lines
Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
Previous change was incomplete (r79334).
........
Michael Foord [Sat, 27 Mar 2010 13:45:04 +0000 (13:45 +0000)]
Merged revisions 79468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79468 | michael.foord | 2010-03-27 13:42:34 +0000 (Sat, 27 Mar 2010) | 1 line
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
........
Michael Foord [Sat, 27 Mar 2010 13:29:35 +0000 (13:29 +0000)]
Blocked revisions 79443 via svnmerge
........
r79443 | benjamin.peterson | 2010-03-26 13:53:32 +0000 (Fri, 26 Mar 2010) | 1 line
reorder imports
........
Michael Foord [Sat, 27 Mar 2010 13:28:27 +0000 (13:28 +0000)]
Merged revisions 79442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79442 | michael.foord | 2010-03-26 13:07:38 +0000 (Fri, 26 Mar 2010) | 1 line
Makefile.pre.in for the unittest/test directory
........
Michael Foord [Sat, 27 Mar 2010 13:25:41 +0000 (13:25 +0000)]
Merged revisions 79437 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79437 | michael.foord | 2010-03-26 03:18:31 +0000 (Fri, 26 Mar 2010) | 1 line
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
........
Michael Foord [Sat, 27 Mar 2010 12:49:01 +0000 (12:49 +0000)]
Blocked revisions 79436 via svnmerge
........
r79436 | michael.foord | 2010-03-26 02:53:56 +0000 (Fri, 26 Mar 2010) | 1 line
Move a support TestCase out of the main namespace in unittest.test.test_suite
........
Michael Foord [Sat, 27 Mar 2010 12:41:09 +0000 (12:41 +0000)]
Blocked revisions 79433 via svnmerge
........
r79433 | michael.foord | 2010-03-26 00:03:38 +0000 (Fri, 26 Mar 2010) | 1 line
Remove incorrect docstring in unittest.test
........
Michael Foord [Sat, 27 Mar 2010 12:34:21 +0000 (12:34 +0000)]
Breaking test_unittest.py into a package. Manual merge of revision 79432.
Mark Dickinson [Sat, 27 Mar 2010 11:16:00 +0000 (11:16 +0000)]
Merged revisions 79457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79457 | mark.dickinson | 2010-03-27 11:14:37 +0000 (Sat, 27 Mar 2010) | 1 line
Add Misc/NEWS entry for r79455.
........
Mark Dickinson [Sat, 27 Mar 2010 11:11:13 +0000 (11:11 +0000)]
Merged revisions 79455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79455 | mark.dickinson | 2010-03-27 11:09:29 +0000 (Sat, 27 Mar 2010) | 2 lines
Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
........
Michael Foord [Sat, 27 Mar 2010 01:41:24 +0000 (01:41 +0000)]
Blocked revisions 79432 via svnmerge
........
r79432 | michael.foord | 2010-03-25 23:56:33 +0000 (Thu, 25 Mar 2010) | 1 line
Turn unittest tests into a package
........
Antoine Pitrou [Fri, 26 Mar 2010 19:36:14 +0000 (19:36 +0000)]
Add NEWS entry for r79449.