]> granicus.if.org Git - python/log
python
14 years agoadd 3.1.2
Benjamin Peterson [Sun, 11 Apr 2010 16:13:23 +0000 (16:13 +0000)]
add 3.1.2

14 years agoMerged revisions 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608...
Benjamin Peterson [Sun, 11 Apr 2010 16:12:57 +0000 (16:12 +0000)]
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
........

14 years agoBlocked revisions 79493,79515,79637,79760 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 15:41:33 +0000 (15:41 +0000)]
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.
........

14 years agoBlocked revisions 79938,79949 via svnmerge
Benjamin Peterson [Sun, 11 Apr 2010 14:49:17 +0000 (14:49 +0000)]
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
........

14 years agoBlocked revisions 79285,79292,79384,79387,79480-79481,79483,79509,79511,79528,79549...
Benjamin Peterson [Sun, 11 Apr 2010 02:17:08 +0000 (02:17 +0000)]
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.
................

14 years agoMerged revisions 79944 via svnmerge from
Benjamin Peterson [Sun, 11 Apr 2010 01:43:16 +0000 (01:43 +0000)]
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
........

14 years agoBlocked revisions 79927-79928,79930,79932 via svnmerge
Benjamin Peterson [Sat, 10 Apr 2010 18:57:52 +0000 (18:57 +0000)]
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\ 1
........
  r79932 | benjamin.peterson | 2010-04-10 13:53:58 -0500 (Sat, 10 Apr 2010) | 1 line

  towards beta 2
........

14 years agoIssue 8361: Remove assert from functools.total_ordering
Raymond Hettinger [Sat, 10 Apr 2010 16:59:03 +0000 (16:59 +0000)]
Issue 8361: Remove assert from functools.total_ordering

14 years agoFixup new itertools recipes.
Raymond Hettinger [Sat, 10 Apr 2010 07:09:53 +0000 (07:09 +0000)]
Fixup new itertools recipes.

14 years agoMerged revisions 79910 via svnmerge from
Antoine Pitrou [Fri, 9 Apr 2010 20:42:09 +0000 (20:42 +0000)]
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.
........

14 years agoAdd MatchObject.groups which got messed up during a merge.
Brian Curtin [Thu, 8 Apr 2010 13:55:29 +0000 (13:55 +0000)]
Add MatchObject.groups which got messed up during a merge.

14 years agoFix indentation.
Georg Brandl [Thu, 8 Apr 2010 06:33:16 +0000 (06:33 +0000)]
Fix indentation.

14 years agoMerged revisions 79885 via svnmerge from
Stefan Krah [Wed, 7 Apr 2010 08:49:55 +0000 (08:49 +0000)]
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.
........

14 years agowoops these strings aren't kept around, free them
Philip Jenvey [Wed, 7 Apr 2010 05:19:21 +0000 (05:19 +0000)]
woops these strings aren't kept around, free them

14 years agoMerged revisions 79349,79381,79412,79801,79818 via svnmerge from
Ezio Melotti [Wed, 7 Apr 2010 04:27:14 +0000 (04:27 +0000)]
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.
........

14 years agoMerged revisions 79878-79880 via svnmerge from
Philip Jenvey [Wed, 7 Apr 2010 04:04:10 +0000 (04:04 +0000)]
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
........

14 years agoMerged revisions 79871 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 22:13:37 +0000 (22:13 +0000)]
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).
........

14 years agoMerged revisions 79866-79867 via svnmerge from
Benjamin Peterson [Tue, 6 Apr 2010 21:55:16 +0000 (21:55 +0000)]
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
........

14 years agoFix python-config to use the new sysconfig module; silences deprecation warnings.
Collin Winter [Tue, 6 Apr 2010 21:30:42 +0000 (21:30 +0000)]
Fix python-config to use the new sysconfig module; silences deprecation warnings.

14 years agoMerged revisions 79858 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:55:03 +0000 (19:55 +0000)]
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.
........

14 years agoMerged revisions 79856 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 19:02:54 +0000 (19:02 +0000)]
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.
........

14 years agoMerged revisions 79852 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 18:22:06 +0000 (18:22 +0000)]
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.
........

14 years agoMerged revisions 79848 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 17:23:13 +0000 (17:23 +0000)]
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.
........

14 years agoMerged revisions 79843-79844 via svnmerge from
Mark Dickinson [Tue, 6 Apr 2010 16:53:17 +0000 (16:53 +0000)]
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.
........

14 years agoMerged revisions 79837 via svnmerge from
Antoine Pitrou [Tue, 6 Apr 2010 16:01:57 +0000 (16:01 +0000)]
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).
........

14 years agoRemove out-of-date comment.
Mark Dickinson [Tue, 6 Apr 2010 15:47:14 +0000 (15:47 +0000)]
Remove out-of-date comment.

14 years agoMerged revisions 79833 via svnmerge from
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.
........

14 years agoMerged revisions 79826 via svnmerge from
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.
........

14 years agoRecorded merge of revisions 79609 via svnmerge from
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.
........

14 years agoMerged revisions 79809 via svnmerge from
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.
........

14 years agoMerged revisions 79817 via svnmerge from
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"
........

14 years agoFix docs for r79813.
Antoine Pitrou [Mon, 5 Apr 2010 21:44:48 +0000 (21:44 +0000)]
Fix docs for r79813.

14 years agoMerged revisions 79812 via svnmerge from
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`.
........

14 years agoForward port total_ordering() and cmp_to_key().
Raymond Hettinger [Mon, 5 Apr 2010 18:56:31 +0000 (18:56 +0000)]
Forward port total_ordering() and cmp_to_key().

14 years agoMerged revisions 79804 via svnmerge from
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.)
........

14 years agoMerged revisions 79797 via svnmerge from
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.
........

14 years agoMerged revisions 79788 via svnmerge from
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.
........

14 years agoMerged revisions 79781 via svnmerge from
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.
........

14 years agoMerged revisions 79779 via svnmerge from
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
........

14 years agoMerged revisions 79768 via svnmerge from
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.
........

14 years agofactor out constant
Benjamin Peterson [Sun, 4 Apr 2010 23:26:50 +0000 (23:26 +0000)]
factor out constant

14 years agoBlocked revisions 79769 via svnmerge
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
........

14 years agoMerged revisions 79763 via svnmerge from
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
........

14 years agoMerged revisions 79762 via svnmerge from
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
........

14 years agoMerged revisions 79756 via svnmerge from
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.
........

14 years agoMerged revisions 79751 via svnmerge from
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.
........

14 years agoMerged revisions 79745 via svnmerge from
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.
........

14 years agoMerged revisions 79740 via svnmerge from
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.
........

14 years agoRecorded merge of revisions 79660 via svnmerge from
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.
........

14 years agoMerged revisions 79733,79735 via svnmerge from
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.
........

14 years agoFix versionchanged from 2.7 to 3.2 in decimal.rst.
Ezio Melotti [Sun, 4 Apr 2010 06:30:08 +0000 (06:30 +0000)]
Fix versionchanged from 2.7 to 3.2 in decimal.rst.

14 years agoadd missing decrefs
Benjamin Peterson [Sat, 3 Apr 2010 23:56:48 +0000 (23:56 +0000)]
add missing decrefs

14 years agoAdd count() method to collections.deque().
Raymond Hettinger [Sat, 3 Apr 2010 23:20:46 +0000 (23:20 +0000)]
Add count() method to collections.deque().

14 years agoMerged revisions 79725 via svnmerge from
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
........

14 years agoMerged revisions 79723 via svnmerge from
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
........

14 years agoBlocked revisions 79718-79719 via svnmerge
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
........

14 years agoBlocked revisions 79712 via svnmerge
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.
........

14 years agoBlocked revisions 79714 via svnmerge
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.
........

14 years agoBlocked revisions 79707 via svnmerge
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.
........

14 years agoBlocked revisions 79697-79698,79704 via svnmerge
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
........

14 years agoMerged revisions 79674 via svnmerge from
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.
........

14 years agoMerged revisions 79699 via svnmerge from
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.
........

14 years agoBlocked revisions 79693,79695 via svnmerge
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
........

14 years agoBlocked revisions 79624 via svnmerge
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).
........

14 years agoAdd -bb to rt.bat to do some extra checks during the tests (it is already used by...
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).

14 years agoInternal refactoring in struct.pack: make all integer conversions go through get_pylong.
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.

14 years agoClean up integer tests in test_struct, and bring them more in line with the trunk...
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.

14 years agoMerged revisions 79678 via svnmerge from
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.
........

14 years agoRemove unused define.
Mark Dickinson [Sat, 3 Apr 2010 14:24:58 +0000 (14:24 +0000)]
Remove unused define.

14 years agoMerged revisions 79629 via svnmerge from
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.
........

14 years agoMerged revisions 79583,79588-79589 via svnmerge from
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.
........

14 years agoMerged revisions 79661 via svnmerge from
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.
........

14 years agoAdd a subtract() method to collections.Counter()
Raymond Hettinger [Sat, 3 Apr 2010 10:32:58 +0000 (10:32 +0000)]
Add a subtract() method to collections.Counter()

14 years agoMerged revisions 79652 via svnmerge from
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
........

14 years agoBlocked revisions 79654 via svnmerge
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"
........

14 years agoMerged revisions 79642,79644 via svnmerge from
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
........

14 years agoBlocked revisions 79636,79639 via svnmerge
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
........

14 years agoChange test_support to support. Fixes a failing test on Windows.
Brian Curtin [Fri, 2 Apr 2010 22:38:52 +0000 (22:38 +0000)]
Change test_support to support. Fixes a failing test on Windows.

14 years agoBlocked revisions 79582 via svnmerge
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.
........

14 years agoMerged revisions 79618 via svnmerge from
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
........

14 years ago#8288: fix next -> __next__.
Georg Brandl [Fri, 2 Apr 2010 20:12:42 +0000 (20:12 +0000)]
#8288: fix next -> __next__.

14 years agoAn oversight in previous merge, r79610: test_doctest is sensible to the line numbering.
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.

14 years agoAdd nice docstrings to namedtuples.
Raymond Hettinger [Fri, 2 Apr 2010 18:54:02 +0000 (18:54 +0000)]
Add nice docstrings to namedtuples.

14 years ago(partially)
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.
........

14 years agoFurniture is not very reliable these days (buildbot failures).
Antoine Pitrou [Fri, 2 Apr 2010 17:12:12 +0000 (17:12 +0000)]
Furniture is not very reliable these days (buildbot failures).

14 years agoMerged revisions 79603 via svnmerge from
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
........

14 years agoIssue 8257: Decimal constructor to accept float argument.
Raymond Hettinger [Fri, 2 Apr 2010 16:58:27 +0000 (16:58 +0000)]
Issue 8257: Decimal constructor to accept float argument.

14 years agoMerged revisions 79540-79541 via svnmerge from
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.
........

14 years ago- Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
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.

14 years agoBlocked revisions 79592 via svnmerge
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.
........

14 years agoBlocked revisions 79590 via svnmerge
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.
........

14 years ago#8213: document behavior of -u on py3k better.
Georg Brandl [Fri, 2 Apr 2010 08:47:07 +0000 (08:47 +0000)]
#8213: document behavior of -u on py3k better.

14 years agoFix nits in itertools recipes.
Raymond Hettinger [Fri, 2 Apr 2010 04:50:35 +0000 (04:50 +0000)]
Fix nits in itertools recipes.

14 years agoAdd and update itertools recipes.
Raymond Hettinger [Fri, 2 Apr 2010 04:18:18 +0000 (04:18 +0000)]
Add and update itertools recipes.

14 years agoDocument sorting HowTo
Raymond Hettinger [Fri, 2 Apr 2010 00:25:45 +0000 (00:25 +0000)]
Document sorting HowTo

14 years agoMerged revisions 79555 via svnmerge from
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!).
........

14 years agoFix typo in definition of 'in' keyword.
Stefan Krah [Thu, 1 Apr 2010 10:34:09 +0000 (10:34 +0000)]
Fix typo in definition of 'in' keyword.

14 years agoMerged revisions 79543 via svnmerge from
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.
........

14 years agoNOTE: only ported the test for new-style classes.
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.
........

14 years ago- Issue #8233: When run as a script, py_compile.py optionally takes a single
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).