Commit graph

48682 commits

Author SHA1 Message Date
Senthil Kumaran
fdd4d0f5d6 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"
........
2010-04-06 03:30:18 +00:00
Antoine Pitrou
43a94c31aa Fix docs for r79813. 2010-04-05 21:44:48 +00:00
Antoine Pitrou
04f6a32dff 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`.
........
2010-04-05 21:40:07 +00:00
Raymond Hettinger
c50846aaef Forward port total_ordering() and cmp_to_key(). 2010-04-05 18:56:31 +00:00
Mark Dickinson
f666584fc8 Blocked revisions 79805 via svnmerge
................
  r79805 | mark.dickinson | 2010-04-05 19:09:39 +0100 (Mon, 05 Apr 2010) | 12 lines

  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.)
  ........
................
2010-04-05 18:12:20 +00:00
Mark Dickinson
5daab45158 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.)
........
2010-04-05 18:09:39 +00:00
Ezio Melotti
9e8346cb4d Merged revisions 79799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r79799 | ezio.melotti | 2010-04-05 16:25:51 +0300 (Mon, 05 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-05 13:57:55 +00:00
Ezio Melotti
19192dd402 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.
........
2010-04-05 13:25:51 +00:00
Ezio Melotti
a0bc7dc475 Blocked revisions 79790 via svnmerge
................
  r79790 | ezio.melotti | 2010-04-05 11:21:29 +0300 (Mon, 05 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-05 08:24:07 +00:00
Ezio Melotti
9de5a41add 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.
........
2010-04-05 08:21:29 +00:00
Ezio Melotti
6bccd29845 Merged revisions 79615 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r79615 | georg.brandl | 2010-04-02 23:12:42 +0300 (Fri, 02 Apr 2010) | 1 line

  #8288: fix next -> __next__.
........
2010-04-05 07:58:21 +00:00
Ezio Melotti
84ec57c89b Merged revisions 79783 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r79783 | ezio.melotti | 2010-04-05 07:04:35 +0300 (Mon, 05 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-05 04:06:12 +00:00
Ezio Melotti
079d5ed6f8 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.
........
2010-04-05 04:04:35 +00:00
Philip Jenvey
66a1bd5568 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
........
2010-04-05 03:05:24 +00:00
Ezio Melotti
ce8f1305f8 Blocked revisions 79773 via svnmerge
................
  r79773 | ezio.melotti | 2010-04-05 02:27:45 +0300 (Mon, 05 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-04 23:31:30 +00:00
Ezio Melotti
cfe0af4c07 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.
........
2010-04-04 23:27:45 +00:00
Benjamin Peterson
6ef9a844f2 factor out constant 2010-04-04 23:26:50 +00:00
Benjamin Peterson
061913edb6 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
........
2010-04-04 23:25:45 +00:00
Benjamin Peterson
deca4b0709 Merged revisions 79765 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r79765 | benjamin.peterson | 2010-04-04 18:09:06 -0500 (Sun, 04 Apr 2010) | 9 lines

  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
  ........
................
2010-04-04 23:18:09 +00:00
Benjamin Peterson
c54eec37db 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
........
2010-04-04 23:09:06 +00:00
Benjamin Peterson
bf92b7fdbf 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
........
2010-04-04 23:03:35 +00:00
Mark Dickinson
5ac21ffae3 Blocked revisions 79757 via svnmerge
................
  r79757 | mark.dickinson | 2010-04-04 23:13:14 +0100 (Sun, 04 Apr 2010) | 13 lines

  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.
  ........
................
2010-04-04 22:14:15 +00:00
Mark Dickinson
e534a077e5 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.
........
2010-04-04 22:13:14 +00:00
Mark Dickinson
12995bad5d Blocked revisions 79752 via svnmerge
................
  r79752 | mark.dickinson | 2010-04-04 22:23:57 +0100 (Sun, 04 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-04 21:28:27 +00:00
Mark Dickinson
414e737628 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.
........
2010-04-04 21:23:57 +00:00
Mark Dickinson
e9493a1872 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.
........
2010-04-04 08:52:51 +00:00
Ezio Melotti
9b4aaf324c Blocked revisions 79742 via svnmerge
................
  r79742 | ezio.melotti | 2010-04-04 10:21:15 +0300 (Sun, 04 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-04 07:22:15 +00:00
Ezio Melotti
4c28ddc2f2 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.
........
2010-04-04 07:21:15 +00:00
Ezio Melotti
6f40184757 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.
........
2010-04-04 06:57:44 +00:00
Ezio Melotti
2be8ef31fa Blocked revisions 79662,79737 via svnmerge
................
  r79662 | raymond.hettinger | 2010-04-03 13:32:58 +0300 (Sat, 03 Apr 2010) | 1 line

  Add a subtract() method to collections.Counter()
................
  r79737 | ezio.melotti | 2010-04-04 09:53:44 +0300 (Sun, 04 Apr 2010) | 13 lines

  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.
  ........
................
2010-04-04 06:55:27 +00:00
Ezio Melotti
0be8b1c742 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.
........
2010-04-04 06:53:44 +00:00
Ezio Melotti
904ca43580 Blocked revisions 79731 via svnmerge
........
  r79731 | ezio.melotti | 2010-04-04 09:30:08 +0300 (Sun, 04 Apr 2010) | 1 line

  Fix versionchanged from 2.7 to 3.2 in decimal.rst.
........
2010-04-04 06:31:48 +00:00
Ezio Melotti
993a5ee026 Fix versionchanged from 2.7 to 3.2 in decimal.rst. 2010-04-04 06:30:08 +00:00
Benjamin Peterson
04e8bcb49a add missing decrefs 2010-04-03 23:56:48 +00:00
Raymond Hettinger
44459debc6 Add count() method to collections.deque(). 2010-04-03 23:20:46 +00:00
Benjamin Peterson
4893abc77a 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
........
2010-04-03 23:10:01 +00:00
Benjamin Peterson
8daa49ee34 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
........
2010-04-03 22:55:48 +00:00
Benjamin Peterson
ace7108f86 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
........
2010-04-03 22:11:20 +00:00
Benjamin Peterson
743f1d52bc 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.
........
2010-04-03 21:57:26 +00:00
Mark Dickinson
7352112f50 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.
........
2010-04-03 18:18:44 +00:00
Mark Dickinson
eae3c4ce3f 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.
........
2010-04-03 16:42:09 +00:00
Benjamin Peterson
af7c81733f 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
........
2010-04-03 16:01:50 +00:00
Mark Dickinson
c593577a4a 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.
........
2010-04-03 15:54:36 +00:00
Mark Dickinson
294544f154 Blocked revisions 79701 via svnmerge
................
  r79701 | mark.dickinson | 2010-04-03 16:51:03 +0100 (Sat, 03 Apr 2010) | 9 lines

  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.
  ........
................
2010-04-03 15:51:38 +00:00
Mark Dickinson
089b00cbc3 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.
........
2010-04-03 15:51:03 +00:00
Benjamin Peterson
2266f3db40 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
........
2010-04-03 15:42:04 +00:00
Ezio Melotti
482335b14a 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).
........
2010-04-03 15:39:17 +00:00
Ezio Melotti
9151233eaf Blocked revisions 79689 via svnmerge
........
  r79689 | ezio.melotti | 2010-04-03 18:27:05 +0300 (Sat, 03 Apr 2010) | 1 line

  Add -bb to rt.bat to do some extra checks during the tests (it is already used by the non-Windows buildbots).
........
2010-04-03 15:35:15 +00:00
Mark Dickinson
9414729627 Blocked revisions 79688 via svnmerge
........
  r79688 | mark.dickinson | 2010-04-03 16:26:31 +0100 (Sat, 03 Apr 2010) | 1 line

  Internal refactoring in struct.pack:  make all integer conversions go through get_pylong.
........
2010-04-03 15:28:05 +00:00
Ezio Melotti
b46dfb0d24 Add -bb to rt.bat to do some extra checks during the tests (it is already used by the non-Windows buildbots). 2010-04-03 15:27:05 +00:00