Commit Graph

41332 Commits

Author SHA1 Message Date
Benjamin Peterson 04b50008c6 Rolled back revisions 79307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
2010-04-11 21:39:55 +00:00
Benjamin Peterson a6590e8405 Merged revisions 79934 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79934 | philip.jenvey | 2010-04-10 14:39:07 -0500 (Sat, 10 Apr 2010) | 1 line

  adjust gc_collect for Jython
........
2010-04-11 21:22:10 +00:00
Benjamin Peterson ad6139acc7 Merged revisions 79936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79936 | philip.jenvey | 2010-04-10 15:27:15 -0500 (Sat, 10 Apr 2010) | 3 lines

  fix PYTHONWARNINGS handling to not modify the original env value and improve
  its tests
........
2010-04-11 21:16:33 +00:00
Benjamin Peterson 75825a7a4c Blocked revisions 79935 via svnmerge
........
  r79935 | jean-paul.calderone | 2010-04-10 14:59:28 -0500 (Sat, 10 Apr 2010) | 9 lines

  Refactor a couple inspect module tests to remove duplicate code

  The test_classify_oldstyle and test_classify_newstyle methods of
  test.test_inspect.TestClassesAndFunctions were previously almost
  identical (aside from irrelevant whitespace and one semantic
  difference).  They now share a single helper.

  Fixes issue #8363.
........
2010-04-11 21:03:55 +00:00
Benjamin Peterson 5d52fdcfbc Blocked revisions 79962 via svnmerge
........
  r79962 | raymond.hettinger | 2010-04-11 15:39:28 -0500 (Sun, 11 Apr 2010) | 1 line

  Minor factoring
........
2010-04-11 20:49:42 +00:00
Benjamin Peterson b48af54ff7 Merged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685,79711,79761,79774,79777,79792-79794,79877,79898-79900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79464 | michael.foord | 2010-03-27 07:55:19 -0500 (Sat, 27 Mar 2010) | 1 line

  A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
........
  r79471 | michael.foord | 2010-03-27 14:10:11 -0500 (Sat, 27 Mar 2010) | 4 lines

  Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals

  This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
........
  r79623 | michael.foord | 2010-04-02 16:42:47 -0500 (Fri, 02 Apr 2010) | 1 line

  Addition of -b command line option to unittest for buffering stdout and stderr during test runs.
........
  r79626 | michael.foord | 2010-04-02 17:08:29 -0500 (Fri, 02 Apr 2010) | 1 line

  TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option
........
  r79630 | michael.foord | 2010-04-02 17:30:56 -0500 (Fri, 02 Apr 2010) | 1 line

  unittest tests no longer replace the sys.stdout put in place by regrtest
........
  r79632 | michael.foord | 2010-04-02 17:55:59 -0500 (Fri, 02 Apr 2010) | 1 line

  Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches
........
  r79643 | michael.foord | 2010-04-02 20:15:21 -0500 (Fri, 02 Apr 2010) | 1 line

  Support dotted module names for test discovery paths in unittest. Issue 8038.
........
  r79648 | michael.foord | 2010-04-02 21:21:39 -0500 (Fri, 02 Apr 2010) | 1 line

  Cross platform unittest.TestResult newline handling when buffering stdout / stderr.
........
  r79649 | michael.foord | 2010-04-02 21:33:55 -0500 (Fri, 02 Apr 2010) | 1 line

  Another attempt at a fix for unittest.test.test_result for windows line endings
........
  r79679 | michael.foord | 2010-04-03 09:52:18 -0500 (Sat, 03 Apr 2010) | 1 line

  Adding -b command line option to the unittest usage message.
........
  r79685 | michael.foord | 2010-04-03 10:20:00 -0500 (Sat, 03 Apr 2010) | 1 line

  Minor tweak to unittest command line usage message
........
  r79711 | michael.foord | 2010-04-03 12:03:11 -0500 (Sat, 03 Apr 2010) | 1 line

  Documenting new features in unittest
........
  r79761 | michael.foord | 2010-04-04 17:41:54 -0500 (Sun, 04 Apr 2010) | 1 line

  unittest documentation formatting changes
........
  r79774 | michael.foord | 2010-04-04 18:28:44 -0500 (Sun, 04 Apr 2010) | 1 line

  Adding documentation for new unittest.main() parameters
........
  r79777 | michael.foord | 2010-04-04 19:39:50 -0500 (Sun, 04 Apr 2010) | 1 line

  Document signal handling functions in unittest.rst
........
  r79792 | michael.foord | 2010-04-05 05:26:26 -0500 (Mon, 05 Apr 2010) | 1 line

  Documentation fixes for unittest
........
  r79793 | michael.foord | 2010-04-05 05:28:27 -0500 (Mon, 05 Apr 2010) | 1 line

  Furterh documentation fix for unittest.rst
........
  r79794 | michael.foord | 2010-04-05 05:30:14 -0500 (Mon, 05 Apr 2010) | 1 line

  Further documentation fix for unittest.rst
........
  r79877 | michael.foord | 2010-04-06 18:18:16 -0500 (Tue, 06 Apr 2010) | 1 line

  Fix module directory finding logic for dotted paths in unittest test discovery.
........
  r79898 | michael.foord | 2010-04-07 18:04:22 -0500 (Wed, 07 Apr 2010) | 1 line

  unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.
........
  r79899 | michael.foord | 2010-04-07 19:04:24 -0500 (Wed, 07 Apr 2010) | 1 line

  Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.
........
  r79900 | michael.foord | 2010-04-07 23:33:20 -0500 (Wed, 07 Apr 2010) | 1 line

  Correction of unittest documentation typos and omissions
........
2010-04-11 20:43:16 +00:00
Raymond Hettinger fc3c9cd793 Minor factoring 2010-04-11 20:41:56 +00:00
Stefan Krah 6108ea8dad Merged revisions 79954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79954 | stefan.krah | 2010-04-11 17:15:54 +0200 (Sun, 11 Apr 2010) | 17 lines


  Fix for issues #3581, #1481 and #7650:

  1. The assumptions in check_node() were too restrictive:

       - Hardware addresses with universal_local_bit=1 are valid
         (locally administered).

       - Many of the tested functions (including uuid.getnode())
         may return valid RFC 4122 random node IDs. These are pretty
         much random 48-bit values with the multicast bit set to 1.

  2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
     on some platforms. The resulting TypeError is now caught.
........
2010-04-11 16:49:20 +00:00
Benjamin Peterson 22005fc5ba Merged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79279 | vinay.sajip | 2010-03-22 07:33:08 -0500 (Mon, 22 Mar 2010) | 1 line

  Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
........
  r79284 | vinay.sajip | 2010-03-22 08:02:28 -0500 (Mon, 22 Mar 2010) | 1 line

  Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
........
  r79293 | vinay.sajip | 2010-03-22 10:29:01 -0500 (Mon, 22 Mar 2010) | 1 line

  logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
........
  r79373 | vinay.sajip | 2010-03-24 09:31:21 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Added LOG_FTP for SysLogHandler and updated documentation.
........
  r79376 | vinay.sajip | 2010-03-24 10:10:40 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Documentation tweak.
........
  r79379 | vinay.sajip | 2010-03-24 12:36:35 -0500 (Wed, 24 Mar 2010) | 1 line

  logging: Updated SysLogHandler documentation.
........
  r79876 | vinay.sajip | 2010-04-06 17:32:37 -0500 (Tue, 06 Apr 2010) | 1 line

  Issue #8327: logging: Clarification of propagation functionality in documentation.
........
  r79888 | vinay.sajip | 2010-04-07 04:40:52 -0500 (Wed, 07 Apr 2010) | 1 line

  Issue #8331: logging: fixed some grammatical errors in documentation.
........
2010-04-11 16:25:06 +00:00
Benjamin Peterson 135e990a75 add 3.1.2 2010-04-11 16:13:23 +00:00
Benjamin Peterson 08bf91c041 Merged revisions 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines

  #7667: Fix doctest failures with non-ASCII paths.
........
  r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines

  Fix a gcc warning introduced by r79397.
........
  r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines

  Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........
  r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines

  - 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?\197?\188arowski).
........
  r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines

  A couple small grammar fixes in test.rst, and rewrite the
  check_warnings docs to be clearer.
........
  r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line

  Add 2.6.5.
........
  r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line

  #2768: add a note on how to get a file descriptor.
........
  r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line

  Remove col-spanning cells in logging docs.
........
  r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line

  Document PyImport_ExecCodeModuleEx().
........
  r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line

  #8012: clarification in generator glossary entry.
........
  r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line

  #6647: document that catch_warnings is not thread-safe
........
  r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line

  #6647: add note to two examples
........
  r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line

  removed documentation on code that was reverted and pushed into distutils2
........
  r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines

  Fix wording / typography, and a slightly misleading statement
  (memoryviews don't support complex structures right now)
........
  r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line

  ready _sre types
........
  r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line

  #8320: document return value of recv_into().
........
  r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line

  Add JP.
........
  r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line

  Fix syntax.
........
  r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........
  r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line

  #8360: skipTest was added in 2.7.
........
  r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line

  #8346: update version.
........
  r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line

  Two grammar fixes
........
  r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line

  Punctuation fix
........
  r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line

  Add various items
........
  r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line

  name correct
........
  r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line

  Remove distutils section
........
  r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line

  Two typo fixes
........
  r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line

  Add two items
........
2010-04-11 16:12:57 +00:00
Benjamin Peterson 40b0c9ac4d Blocked revisions 79493,79515,79637,79760 via svnmerge
........
  r79493 | michael.foord | 2010-03-29 15:04:23 -0500 (Mon, 29 Mar 2010) | 1 line

  Backport of weakref.WeakSet and tests from Python 3.
........
  r79515 | thomas.heller | 2010-03-30 15:57:06 -0500 (Tue, 30 Mar 2010) | 1 line

  Revert rev. 79509; ctypes doesn't build on linux.
........
  r79637 | raymond.hettinger | 2010-04-02 19:39:26 -0500 (Fri, 02 Apr 2010) | 1 line

  Clear cyclical references in list based OrderedDict.
........
  r79760 | raymond.hettinger | 2010-04-04 17:24:03 -0500 (Sun, 04 Apr 2010) | 1 line

  Add tests for functools.total_ordering.
........
2010-04-11 15:41:33 +00:00
Benjamin Peterson 9c1cd8a373 Blocked revisions 79938,79949 via svnmerge
........
  r79938 | antoine.pitrou | 2010-04-10 18:32:12 -0500 (Sat, 10 Apr 2010) | 3 lines

  Revert temporary commit in r79937
........
  r79949 | raymond.hettinger | 2010-04-11 03:14:45 -0500 (Sun, 11 Apr 2010) | 1 line

  Add descriptor howto to main documentation
........
2010-04-11 14:49:17 +00:00
Benjamin Peterson a3576138db Blocked revisions 79285,79292,79384,79387,79480-79481,79483,79509,79511,79528,79549,79569,79575-79578,79625,79650-79651,79706,79710,79713,79722,79730,79744,79750,79755,79808,79915,79918,79920,79937,79939 via svnmerge
................
  r79285 | jesus.cea | 2010-03-22 09:22:26 -0500 (Mon, 22 Mar 2010) | 1 line

  pybsddb 4.8.4 integration. Please, comment in issue #8156
................
  r79292 | jesus.cea | 2010-03-22 10:18:46 -0500 (Mon, 22 Mar 2010) | 1 line

  Missing testsuite files
................
  r79384 | antoine.pitrou | 2010-03-24 16:55:12 -0500 (Wed, 24 Mar 2010) | 3 lines

  Trying to fix #8108.  Will watch the buildbot(s).
................
  r79387 | antoine.pitrou | 2010-03-24 17:12:15 -0500 (Wed, 24 Mar 2010) | 3 lines

  Revert r79384 (the fix failed).
................
  r79480 | raymond.hettinger | 2010-03-28 13:02:41 -0500 (Sun, 28 Mar 2010) | 1 line

  Update itertools recipes.
................
  r79481 | raymond.hettinger | 2010-03-28 13:08:15 -0500 (Sun, 28 Mar 2010) | 1 line

  Add a note on optimizing the itertools recipes for production.
................
  r79483 | raymond.hettinger | 2010-03-28 13:25:01 -0500 (Sun, 28 Mar 2010) | 1 line

  Update itertools recipe for consume().
................
  r79509 | thomas.heller | 2010-03-30 14:46:23 -0500 (Tue, 30 Mar 2010) | 24 lines

  Merged revisions 79115,79424,79491 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win

  ........
    r79115 | thomas.heller | 2010-03-19 22:14:47 +0100 (Fr, 19 Mrz 2010) | 7 lines

    Work in progress.  2 tests fail on x86/win32 because the stack
    checking code in ffi_call_win32 is not yet implemented.

    Remove most files from _ctypes/libffi_msvc, only two include files
    stay (updated from _ctypes/libffi/...).  Other files are used in the
    cross-platform _ctypes/libffi directory.
  ........
    r79424 | thomas.heller | 2010-03-25 19:28:02 +0100 (Do, 25 Mrz 2010) | 1 line

    Build _ctypes on Win64.
  ........
    r79491 | thomas.heller | 2010-03-29 21:30:33 +0200 (Mo, 29 Mrz 2010) | 4 lines

    On Windows, ctypes does no longer check the stack before and after
    calling a foreign function.
    This allows to use the unmodified libffi library.
  ........
................
  r79511 | thomas.heller | 2010-03-30 14:55:34 -0500 (Tue, 30 Mar 2010) | 3 lines

  Removed merge tracking for "svnmerge" for
  svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
................
  r79528 | ezio.melotti | 2010-03-31 03:33:50 -0500 (Wed, 31 Mar 2010) | 1 line

  Silence a py3k warning.
................
  r79549 | raymond.hettinger | 2010-04-01 02:54:16 -0500 (Thu, 01 Apr 2010) | 1 line

  Document link to Sorting HowTo
................
  r79569 | raymond.hettinger | 2010-04-01 21:44:31 -0500 (Thu, 01 Apr 2010) | 1 line

  Add and update itertools recipes.
................
  r79575 | raymond.hettinger | 2010-04-02 01:23:12 -0500 (Fri, 02 Apr 2010) | 1 line

  Cleanup itertools recipes
................
  r79576 | florent.xicluna | 2010-04-02 02:24:52 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.
................
  r79577 | florent.xicluna | 2010-04-02 03:15:26 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: Drop the cmp argument.
................
  r79578 | florent.xicluna | 2010-04-02 03:30:21 -0500 (Fri, 02 Apr 2010) | 2 lines

  #7092: silence some py3k warnings
................
  r79625 | brian.curtin | 2010-04-02 16:51:37 -0500 (Fri, 02 Apr 2010) | 2 lines

  Add a line about #7347 to Misc\News
................
  r79650 | raymond.hettinger | 2010-04-02 22:14:28 -0500 (Fri, 02 Apr 2010) | 1 line

  Improve clear() method.  Keeps key/value refcnts >= 1 until final dict.clear() so that decrefs to zero won't trigger arbitrary code .  Also runs a bit faster.
................
  r79651 | raymond.hettinger | 2010-04-03 02:57:09 -0500 (Sat, 03 Apr 2010) | 1 line

  Factor-out constant expressions
................
  r79706 | benjamin.peterson | 2010-04-03 11:06:42 -0500 (Sat, 03 Apr 2010) | 1 line

  stop CObject deprecation warnings in test___all__
................
  r79710 | mark.dickinson | 2010-04-03 11:54:02 -0500 (Sat, 03 Apr 2010) | 1 line

  Replace backquotes with repr(), to silence a SyntaxWarning.
................
  r79713 | raymond.hettinger | 2010-04-03 13:10:37 -0500 (Sat, 03 Apr 2010) | 1 line

  Add count() method to collections.deque().
................
  r79722 | raymond.hettinger | 2010-04-03 17:34:15 -0500 (Sat, 03 Apr 2010) | 1 line

  Expand test coverage for deque.count().
................
  r79730 | raymond.hettinger | 2010-04-03 20:24:59 -0500 (Sat, 03 Apr 2010) | 1 line

  Issue 5479:  Add functools.total_ordering class decorator.
................
  r79744 | raymond.hettinger | 2010-04-04 02:33:46 -0500 (Sun, 04 Apr 2010) | 1 line

  Documentation nit
................
  r79750 | raymond.hettinger | 2010-04-04 13:34:45 -0500 (Sun, 04 Apr 2010) | 1 line

  Add functools.CmpToKey()
................
  r79755 | raymond.hettinger | 2010-04-04 16:45:01 -0500 (Sun, 04 Apr 2010) | 6 lines

  Add tests for cmp_to_key.
  Adopt PEP 8 compliant function name.
  Factor-out existing uses cmp_to_key.
  Update documentation to use internal pointers instead of external resource.
................
  r79808 | raymond.hettinger | 2010-04-05 13:53:43 -0500 (Mon, 05 Apr 2010) | 1 line

  Classes that override __eq__ also need to define __hash__.
................
  r79915 | antoine.pitrou | 2010-04-09 16:00:36 -0500 (Fri, 09 Apr 2010) | 3 lines

  Temporarily commit fix to issue #8108, to check for buildbot response
................
  r79918 | antoine.pitrou | 2010-04-09 17:41:31 -0500 (Fri, 09 Apr 2010) | 3 lines

  Revert r79915 (temporary commit to check for buildbots -> the fix was successful)
................
  r79920 | raymond.hettinger | 2010-04-10 02:01:32 -0500 (Sat, 10 Apr 2010) | 1 line

  Fixup new itertools recipes.
................
  r79937 | antoine.pitrou | 2010-04-10 17:43:05 -0500 (Sat, 10 Apr 2010) | 3 lines

  Temporary commit of fix to issue #5380 (in order to watch buildbot response)
................
  r79939 | raymond.hettinger | 2010-04-10 19:01:23 -0500 (Sat, 10 Apr 2010) | 1 line

  Add the sorting HOWTO to the main docs.
................
2010-04-11 02:17:08 +00:00
Benjamin Peterson 42ebee3efe Merged revisions 79944 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79944 | benjamin.peterson | 2010-04-10 20:40:32 -0500 (Sat, 10 Apr 2010) | 1 line

  add test for class with no operations defined
........
2010-04-11 01:43:16 +00:00
Benjamin Peterson c083a3b86b Blocked revisions 79927-79928,79930,79932 via svnmerge
........
  r79927 | benjamin.peterson | 2010-04-10 11:22:05 -0500 (Sat, 10 Apr 2010) | 1 line

  bump version to 2.7b1
........
  r79928 | benjamin.peterson | 2010-04-10 11:28:34 -0500 (Sat, 10 Apr 2010) | 1 line

  update pydoc-topics
........
  r79930 | raymond.hettinger | 2010-04-10 11:57:36 -0500 (Sat, 10 Apr 2010) | 1 line

  Issue 8361: Remove assert from functools.total_ordering
........
  r79932 | benjamin.peterson | 2010-04-10 13:53:58 -0500 (Sat, 10 Apr 2010) | 1 line

  towards beta 2
........
2010-04-10 18:57:52 +00:00
Raymond Hettinger 56de7e2a36 Issue 8361: Remove assert from functools.total_ordering 2010-04-10 16:59:03 +00:00
Raymond Hettinger c075f07a97 Fixup new itertools recipes. 2010-04-10 07:09:53 +00:00
Antoine Pitrou 0ae7b5897e Merged revisions 79910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79910 | antoine.pitrou | 2010-04-09 22:38:39 +0200 (ven., 09 avril 2010) | 4 lines

  SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6.  Fix compilation
  with earlier versions.
........
2010-04-09 20:42:09 +00:00
Brian Curtin 48f16f9297 Add MatchObject.groups which got messed up during a merge. 2010-04-08 13:55:29 +00:00
Georg Brandl b3959bd63e Fix indentation. 2010-04-08 06:33:16 +00:00
Stefan Krah 0091e5ecd0 Merged revisions 79885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79885 | stefan.krah | 2010-04-07 10:24:44 +0200 (Wed, 07 Apr 2010) | 1 line

  Issue #8328: Silence Visual Studio warnings.
........
2010-04-07 08:49:55 +00:00
Philip Jenvey a9aedd2011 woops these strings aren't kept around, free them 2010-04-07 05:19:21 +00:00
Ezio Melotti 6c96ffe031 Merged revisions 79349,79381,79412,79801,79818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79349 | andrew.kuchling | 2010-03-23 20:39:24 +0200 (Tue, 23 Mar 2010) | 1 line

  add some unittest items
........
  r79381 | andrew.kuchling | 2010-03-24 20:07:43 +0200 (Wed, 24 Mar 2010) | 1 line

  Various edits
........
  r79412 | andrew.kuchling | 2010-03-25 03:35:51 +0200 (Thu, 25 Mar 2010) | 1 line

  Add various items
........
  r79801 | tarek.ziade | 2010-04-05 17:58:14 +0300 (Mon, 05 Apr 2010) | 1 line

  added a note for Andrew, about distutils2
........
  r79818 | ezio.melotti | 2010-04-06 06:26:49 +0300 (Tue, 06 Apr 2010) | 1 line

  Fix several links and other mistakes.
........
2010-04-07 04:27:14 +00:00
Philip Jenvey 0805ca3f93 Merged revisions 79878-79880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79878 | philip.jenvey | 2010-04-06 16:24:45 -0700 (Tue, 06 Apr 2010) | 4 lines

  #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
  command line option
  patch from Brian Curtin
........
  r79879 | benjamin.peterson | 2010-04-06 16:32:27 -0700 (Tue, 06 Apr 2010) | 1 line

  tell people to update python.man, too
........
  r79880 | philip.jenvey | 2010-04-06 16:38:57 -0700 (Tue, 06 Apr 2010) | 1 line

  document new PYTHONWARNINGS env var
........
2010-04-07 04:04:10 +00:00
Mark Dickinson 42dfeec893 Merged revisions 79871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........
2010-04-06 22:13:37 +00:00
Benjamin Peterson d856ab6171 Merged revisions 79866-79867 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79866 | benjamin.peterson | 2010-04-06 16:37:06 -0500 (Tue, 06 Apr 2010) | 1 line

  use skip decorator
........
  r79867 | benjamin.peterson | 2010-04-06 16:50:00 -0500 (Tue, 06 Apr 2010) | 1 line

  remove a optimization that resulted in unexpected behavior #8929
........
2010-04-06 21:55:16 +00:00
Collin Winter 6709177691 Fix python-config to use the new sysconfig module; silences deprecation warnings. 2010-04-06 21:30:42 +00:00
Mark Dickinson 603b7535cc Merged revisions 79858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79858 | mark.dickinson | 2010-04-06 20:50:03 +0100 (Tue, 06 Apr 2010) | 3 lines

  Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
  with a number of additional minor edits and typo corrections.
........
2010-04-06 19:55:03 +00:00
Mark Dickinson 49a519c859 Merged revisions 79856 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79856 | mark.dickinson | 2010-04-06 19:58:54 +0100 (Tue, 06 Apr 2010) | 1 line

  Silence a 'comparison between signed and unsigned integer expressions' gcc warning.
........
2010-04-06 19:02:54 +00:00
Mark Dickinson 505add3ac9 Merged revisions 79852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79852 | mark.dickinson | 2010-04-06 19:20:11 +0100 (Tue, 06 Apr 2010) | 1 line

  Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator.
........
2010-04-06 18:22:06 +00:00
Antoine Pitrou 90ee4dfef4 Merged revisions 79848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79848 | antoine.pitrou | 2010-04-06 19:21:09 +0200 (mar., 06 avril 2010) | 3 lines

  Issue #8193: Fix test_zlib failure with zlib 1.2.4.
........
2010-04-06 17:23:13 +00:00
Mark Dickinson 3318d29d22 Merged revisions 79843-79844 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79843 | mark.dickinson | 2010-04-06 17:46:09 +0100 (Tue, 06 Apr 2010) | 4 lines

  Issue #8259: Get rid of 'outrageous left shift count' error when
  left-shifting an integer by more than 2**31 on a 64-bit machine.  Also
  convert shift counts to a Py_ssize_t instead of a C long.
........
  r79844 | mark.dickinson | 2010-04-06 17:47:55 +0100 (Tue, 06 Apr 2010) | 1 line

  Misc/NEWS entry for r79843.
........
2010-04-06 16:53:17 +00:00
Antoine Pitrou f96b78437b Merged revisions 79837 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79837 | antoine.pitrou | 2010-04-06 17:38:25 +0200 (mar., 06 avril 2010) | 19 lines

  14 years later, we still don't know what it's for.
  Spotted by the PyPy developers.

  Original commit is:

  branch:      trunk
  user:        guido
  date:        Mon Aug 19 21:32:04 1996 +0200
  files:       Python/getargs.c
  description:
  [svn r6499] Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by
  Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me).

  Also a little change to make the file acceptable to K&R C compilers
  (HPUX, SunOS 4.x).
........
2010-04-06 16:01:57 +00:00
Mark Dickinson 3dd1bfc614 Remove out-of-date comment. 2010-04-06 15:47:14 +00:00
Eric Smith 21e85c707e 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.
........
2010-04-06 15:21:59 +00:00
Eric Smith 2b1a116551 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.
........
2010-04-06 14:57:57 +00:00
Mark Dickinson 154811d3f6 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.
........
2010-04-06 14:36:52 +00:00
Mark Dickinson 1472150cc2 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.
........
2010-04-06 10:29:17 +00:00
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 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 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 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 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 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