Commit Graph

39950 Commits

Author SHA1 Message Date
Mark Dickinson 875ada4b0f Merged revisions 76566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76566 | mark.dickinson | 2009-11-28 12:48:43 +0000 (Sat, 28 Nov 2009) | 18 lines

  Merged revisions 76432,76558 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines

    Issue #7272:  Add configure test to detect whether sem_open works
    properly, and use this to skip test_multiprocessing on platforms
    where sem_open raises a signal.  This should fix some FreeBSD buildbot
    failures for test_multiprocessing.
  ........
    r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines

    Issue #7272, continued:  don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
    to indicate that semaphores aren't available;  define a new variable
    POSIX_SEMAPHORES_NOT_ENABLED instead.
  ........
................
2009-11-28 12:52:39 +00:00
Mark Dickinson 7f40573ccb Blocked revisions 76563 via svnmerge
................
  r76563 | mark.dickinson | 2009-11-28 12:35:42 +0000 (Sat, 28 Nov 2009) | 12 lines

  Merged revisions 76561 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76561 | mark.dickinson | 2009-11-28 12:30:36 +0000 (Sat, 28 Nov 2009) | 5 lines

    Include ieeefp.h (when available) in pyport.h instead of individually in
    Objects/floatobject.c and Objects/complexobject.c.  This should silence
    compiler warnings about implicit declaration of the 'finite' function
    on Solaris.
  ........
................
2009-11-28 12:37:41 +00:00
Barry Warsaw 47f383d0c0 Add mktime_tz to __all__. It's documented as being available in email.utils. 2009-11-25 18:45:04 +00:00
Benjamin Peterson 39778f6b6f Merged revisions 76518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76518 | benjamin.peterson | 2009-11-25 12:34:42 -0600 (Wed, 25 Nov 2009) | 60 lines

  Merged revisions 76259,76326,76376-76377,76430,76471,76517 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ................
    r76259 | georg.brandl | 2009-11-14 05:50:51 -0600 (Sat, 14 Nov 2009) | 1 line

    Fix terminology.
  ................
    r76326 | georg.brandl | 2009-11-16 10:44:05 -0600 (Mon, 16 Nov 2009) | 1 line

    #7302: fix link.
  ................
    r76376 | georg.brandl | 2009-11-18 13:39:14 -0600 (Wed, 18 Nov 2009) | 1 line

    upcase Python
  ................
    r76377 | georg.brandl | 2009-11-18 14:05:15 -0600 (Wed, 18 Nov 2009) | 1 line

    Fix markup.
  ................
    r76430 | r.david.murray | 2009-11-20 07:29:43 -0600 (Fri, 20 Nov 2009) | 2 lines

    Issue 7363: fix indentation in socketserver udpserver example.
  ................
    r76471 | georg.brandl | 2009-11-23 13:53:19 -0600 (Mon, 23 Nov 2009) | 1 line

    #7345: fix arguments of formatyear().
  ................
    r76517 | benjamin.peterson | 2009-11-25 12:16:46 -0600 (Wed, 25 Nov 2009) | 29 lines

    Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
    svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

    ........
      r76160 | benjamin.peterson | 2009-11-08 18:53:48 -0600 (Sun, 08 Nov 2009) | 1 line

      undeprecate the -p option; it's useful for converting python3 sources
    ........
      r76161 | benjamin.peterson | 2009-11-08 19:05:37 -0600 (Sun, 08 Nov 2009) | 1 line

      simplify condition
    ........
      r76250 | benjamin.peterson | 2009-11-13 16:56:48 -0600 (Fri, 13 Nov 2009) | 1 line

      fix handling of a utf-8 bom #7313
    ........
      r76252 | benjamin.peterson | 2009-11-13 16:58:36 -0600 (Fri, 13 Nov 2009) | 1 line

      remove pdb turd
    ........
      r76447 | benjamin.peterson | 2009-11-22 18:17:40 -0600 (Sun, 22 Nov 2009) | 1 line

      #7375 fix nested transformations in fix_urllib
    ........
      r76506 | benjamin.peterson | 2009-11-24 18:34:31 -0600 (Tue, 24 Nov 2009) | 1 line

      use generator expressions in any()
    ........
  ................
................
2009-11-25 18:37:12 +00:00
Mark Dickinson 2d201f3954 Blocked revisions 76503 via svnmerge
................
  r76503 | mark.dickinson | 2009-11-24 20:54:11 +0000 (Tue, 24 Nov 2009) | 10 lines

  Merged revisions 76502 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines

    Issue #7228:  Fix format mismatch when printing something of type off_t.
    (Should silence some compiler warnings.)
  ........
................
2009-11-24 20:56:11 +00:00
Mark Dickinson 53f143c02d Merged revisions 76491 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines

  Merged revisions 76489 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line

    Fix some documentation examples involving the repr of a float.
  ........
................
2009-11-24 14:36:23 +00:00
Mark Dickinson 46d15676c3 Unblocked revisions 76491 via svnmerge
................
  r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines

  Merged revisions 76489 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line

    Fix some documentation examples involving the repr of a float.
  ........
................
2009-11-24 14:35:53 +00:00
Mark Dickinson 40b62ec2a6 Blocked revisions 76491 via svnmerge
................
  r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines

  Merged revisions 76489 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line

    Fix some documentation examples involving the repr of a float.
  ........
................
2009-11-24 14:33:53 +00:00
Mark Dickinson ae31a7c78e Merged revisions 76485 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r76485 | mark.dickinson | 2009-11-24 10:59:34 +0000 (Tue, 24 Nov 2009) | 9 lines

  Merged revisions 76483 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76483 | mark.dickinson | 2009-11-24 10:54:58 +0000 (Tue, 24 Nov 2009) | 2 lines

    round(0, "ermintrude") succeeded instead of producing a TypeError.  Fix this.
  ........
................
2009-11-24 11:00:21 +00:00
Senthil Kumaran d884f8a9c4 Merged revisions 76469 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76469 | senthil.kumaran | 2009-11-24 00:32:52 +0530 (Tue, 24 Nov 2009) | 10 lines

  Merged revisions 76464 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76464 | senthil.kumaran | 2009-11-24 00:11:31 +0530 (Tue, 24 Nov 2009) | 4 lines

    Fix for issue1488943 - difflib.Differ() doesn't always add hints for tab
    characters.
  ........
................
2009-11-23 19:06:11 +00:00
Mark Dickinson eb0146858b Merged revisions 76462 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r76462 | mark.dickinson | 2009-11-23 16:41:41 +0000 (Mon, 23 Nov 2009) | 9 lines

  Merged revisions 76460 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76460 | mark.dickinson | 2009-11-23 16:39:05 +0000 (Mon, 23 Nov 2009) | 2 lines

    Issue #7369: Fibonacci series should start at 0 in tutorial example.
  ........
................
2009-11-23 16:42:35 +00:00
Mark Dickinson 41ece0694d Merged revisions 76458 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r76458 | mark.dickinson | 2009-11-23 16:27:17 +0000 (Mon, 23 Nov 2009) | 9 lines

  Merged revisions 76456 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76456 | mark.dickinson | 2009-11-23 16:23:43 +0000 (Mon, 23 Nov 2009) | 2 lines

    Issue #7379:  Fix incorrect doctest for Fraction.limit_denominator.
  ........
................
2009-11-23 16:28:18 +00:00
Lars Gustäbel 45711a7237 Merged revisions 76453 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76453 | lars.gustaebel | 2009-11-23 16:48:33 +0100 (Mon, 23 Nov 2009) | 10 lines

  Merged revisions 76452 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76452 | lars.gustaebel | 2009-11-23 16:46:19 +0100 (Mon, 23 Nov 2009) | 3 lines

    Add a testcase that checks if the TarFile constructor successfully
    closes the internal file object in case of an error (issue #7341).
  ........
................
2009-11-23 16:04:57 +00:00
R. David Murray 4c3805958f Merged revisions 76448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76448 | r.david.murray | 2009-11-22 22:13:23 -0500 (Sun, 22 Nov 2009) | 4 lines

  Update example in doctest chapter that uses math.floor to reflect the
  fact that the result is an int in py3k.  Thanks to 'flox' for pointing out
  the discrepancy.
........
2009-11-23 03:14:51 +00:00
Lars Gustäbel 7344863c66 Blocked revisions 76444 via svnmerge
................
  r76444 | lars.gustaebel | 2009-11-22 19:48:49 +0100 (Sun, 22 Nov 2009) | 30 lines

  Merged revisions 76443 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76443 | lars.gustaebel | 2009-11-22 19:30:53 +0100 (Sun, 22 Nov 2009) | 24 lines

    Issue #6123: Fix opening empty archives and files.

    (Note that an empty archive is not the same as an empty file. An
    empty archive contains no members and is correctly terminated with an
    EOF block full of zeros. An empty file contains no data at all.)

    The problem was that although tarfile was able to create empty
    archives, it failed to open them raising a ReadError. On the other
    hand, tarfile opened empty files without error in most read modes and
    presented them as empty archives. (However, some modes still raised
    errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even
    raised EOFError.)

    In order to get a more fine-grained control over the various internal
    error conditions I now split up the HeaderError exception into a
    number of meaningful sub-exceptions. This makes it easier in the
    TarFile.next() method to react to the different conditions in the
    correct way.

    The visible change in its behaviour now is that tarfile will open
    empty archives correctly and raise ReadError consistently for empty
    files.
  ........
................
2009-11-22 19:02:36 +00:00
Benjamin Peterson 187d9448fe remove 3.1 link 2009-11-21 23:56:56 +00:00
Jesse Noller dd31d11199 Merged revisions 76435 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76435 | jesse.noller | 2009-11-21 09:20:14 -0500 (Sat, 21 Nov 2009) | 9 lines

  Merged revisions 76433 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76433 | jesse.noller | 2009-11-21 09:01:56 -0500 (Sat, 21 Nov 2009) | 1 line

    issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
  ........
................
2009-11-21 14:28:39 +00:00
Benjamin Peterson db149ac59b Merged revisions 76425 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76425 | benjamin.peterson | 2009-11-19 19:19:41 -0600 (Thu, 19 Nov 2009) | 13 lines

  Merged revisions 76423-76424 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76423 | benjamin.peterson | 2009-11-19 19:15:53 -0600 (Thu, 19 Nov 2009) | 1 line

    provide line number for lambdas
  ........
    r76424 | benjamin.peterson | 2009-11-19 19:16:58 -0600 (Thu, 19 Nov 2009) | 1 line

    genexps have linenos
  ........
................
2009-11-20 01:21:35 +00:00
Benjamin Peterson 3a2249da1b Merged revisions 76414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76414 | benjamin.peterson | 2009-11-19 15:22:27 -0600 (Thu, 19 Nov 2009) | 1 line

  fix message for py3
........
2009-11-19 21:26:17 +00:00
Ronald Oussoren 8c9695cf98 Merged revisions 76409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76409 | ronald.oussoren | 2009-11-19 18:44:52 +0100 (Thu, 19 Nov 2009) | 11 lines

  Merged revisions 76407 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines

    Don't use the '==' operator with test, that's an unportable bash-ism.

    (Issue 7179)
  ........
................
2009-11-19 17:45:30 +00:00
Ronald Oussoren 1b2cad00c7 Merged revisions 76405 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76405 | ronald.oussoren | 2009-11-19 18:15:31 +0100 (Thu, 19 Nov 2009) | 21 lines

  Merged revisions 76403 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76403 | ronald.oussoren | 2009-11-19 17:25:21 +0100 (Thu, 19 Nov 2009) | 14 lines

    Fix for issue #7085

    On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
    thread, the constructor function in that framework will cause an SIGABRT when
    it is called on any other thread.

    Because a number of extension link (indirectly) to CoreFoundation and the
    Python core itself didn't the interpreter crashed when importing some
    extensions, such as _locale, on a secondary thread.

    This fix ensures that Python is linked to CoreFoundation on OSX, which results
    in the CoreFoundation constructor being called when Python is loaded. This
    does not require code changes.
  ........
................
2009-11-19 17:30:05 +00:00
Tarek Ziadé fd9ac226aa Merged revisions 76401 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76401 | tarek.ziade | 2009-11-19 06:39:00 +0100 (Thu, 19 Nov 2009) | 9 lines

  Merged revisions 76399 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76399 | tarek.ziade | 2009-11-19 06:33:16 +0100 (Thu, 19 Nov 2009) | 1 line

    dragfullwindows can have value 2
  ........
................
2009-11-19 05:41:34 +00:00
Benjamin Peterson a1f9c04239 Merged revisions 76396 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76396 | benjamin.peterson | 2009-11-18 21:08:32 -0600 (Wed, 18 Nov 2009) | 10 lines

  fix __bytes__ handling here in py3x
  Merged revisions 76395 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76395 | benjamin.peterson | 2009-11-18 21:00:02 -0600 (Wed, 18 Nov 2009) | 1 line

    #5037 proxy __unicode__ correctly
  ........
................
2009-11-19 03:10:36 +00:00
Raymond Hettinger d3a77c0ad3 Fix docstrings for itertools combinatoric functions. 2009-11-19 01:23:41 +00:00
Raymond Hettinger b868e63443 Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types. 2009-11-19 01:02:56 +00:00
Raymond Hettinger c566df3f55 Issue 7263: Fix set.intersection() docstring. 2009-11-19 00:01:54 +00:00
Lars Gustäbel 7dfcef577e Merged revisions 76383 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76383 | lars.gustaebel | 2009-11-18 21:29:25 +0100 (Wed, 18 Nov 2009) | 10 lines

  Merged revisions 76381 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76381 | lars.gustaebel | 2009-11-18 21:24:54 +0100 (Wed, 18 Nov 2009) | 3 lines

    Issue #7341: Close the internal file object in the TarFile
    constructor in case of an error.
  ........
................
2009-11-18 21:11:27 +00:00
Nick Coghlan b5ea027cb5 Blocked revisions 76364 via svnmerge
................
  r76364 | nick.coghlan | 2009-11-18 21:35:25 +1000 (Wed, 18 Nov 2009) | 9 lines

  Merged revisions 76362 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76362 | nick.coghlan | 2009-11-18 21:27:53 +1000 (Wed, 18 Nov 2009) | 1 line

    Correctly escape arbitrary error message text in the runpy unit tests
  ........
................
2009-11-18 11:39:26 +00:00
Tarek Ziadé 2cc7048208 Merged revisions 76360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76360 | tarek.ziade | 2009-11-18 10:32:34 +0100 (Wed, 18 Nov 2009) | 9 lines

  Merged revisions 76358 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76358 | tarek.ziade | 2009-11-18 09:46:56 +0100 (Wed, 18 Nov 2009) | 1 line

    #7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
  ........
................
2009-11-18 10:19:38 +00:00
Mark Dickinson 0ffcd9859f Blocked revisions 76328 via svnmerge
................
  r76328 | mark.dickinson | 2009-11-16 17:00:11 +0000 (Mon, 16 Nov 2009) | 10 lines

  Merged revisions 76308 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76308 | mark.dickinson | 2009-11-15 16:18:58 +0000 (Sun, 15 Nov 2009) | 3 lines

    Issue #7228:  Add '%lld' and '%llu' support to PyFormat_FromString,
    PyFormat_FromStringV and PyErr_Format.
  ........
................
2009-11-16 17:01:22 +00:00
Nick Coghlan d8e4101fa6 Blocked revisions 76324 via svnmerge
................
  r76324 | nick.coghlan | 2009-11-16 16:49:25 +1000 (Mon, 16 Nov 2009) | 17 lines

  Merged revisions 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line

    Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
  ........
    r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line

    Account for another cache when hunting ref leaks
  ........
    r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line

    Allow for backslashes in file paths passed to the regex engine
  ........
................
2009-11-16 06:57:43 +00:00
Benjamin Peterson bdf439321f Merged revisions 76319 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76319 | benjamin.peterson | 2009-11-15 18:34:25 -0600 (Sun, 15 Nov 2009) | 4 lines

  fix one visible and several possible refleaks in rangeobject.c

  In some cases, the code was just reordered to allow for less decrefing.
........
2009-11-16 00:36:18 +00:00
Nick Coghlan b830a230c1 Recorded merge of revisions 76314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76314 | nick.coghlan | 2009-11-16 09:04:33 +1000 (Mon, 16 Nov 2009) | 9 lines

  Merged revisions 76312 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76312 | nick.coghlan | 2009-11-16 08:36:47 +1000 (Mon, 16 Nov 2009) | 1 line

    Issue #7328: don't corrupt sys.path when running pydoc with the -m switch
  ........
................
2009-11-15 23:27:31 +00:00
Mark Dickinson f5b3a1498c Merged revisions 76310 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76310 | mark.dickinson | 2009-11-15 18:23:13 +0000 (Sun, 15 Nov 2009) | 1 line

  Regenerate pyconfig.h.in using autoconf 2.61
........
2009-11-15 18:25:23 +00:00
Mark Dickinson 61a82726e7 Blocked revisions 76304 via svnmerge
........
  r76304 | mark.dickinson | 2009-11-15 13:58:49 +0000 (Sun, 15 Nov 2009) | 2 lines

  Issue #6970: Remove redundant calls made when comparing objects.
........
2009-11-15 13:59:18 +00:00
Mark Dickinson 6c048fb766 Blocked revisions 76301 via svnmerge
................
  r76301 | mark.dickinson | 2009-11-15 13:47:27 +0000 (Sun, 15 Nov 2009) | 10 lines

  Merged revisions 76300 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76300 | mark.dickinson | 2009-11-15 13:12:43 +0000 (Sun, 15 Nov 2009) | 3 lines

    Issue #5792:  Extend short float repr support to x86 platforms using suncc or icc.
    Many thanks Stefan Krah for help and OpenSolaris testing.
  ........
................
2009-11-15 13:48:24 +00:00
Mark Dickinson d340f6cd3f Merged revisions 76298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76298 | mark.dickinson | 2009-11-15 12:56:08 +0000 (Sun, 15 Nov 2009) | 1 line

  Fix another case of potential signed overflow.
........
2009-11-15 12:56:59 +00:00
Mark Dickinson b6447512ab Merged revisions 76292-76293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76292 | mark.dickinson | 2009-11-15 09:57:26 +0000 (Sun, 15 Nov 2009) | 6 lines

  Issue #7298: Fix a variety of problems leading to wrong results with
  the fast versions of range.__reversed__ and range iteration.  Also
  fix wrong results and a refleak for PyLong version of range.__reversed__.

  Thanks Eric Smith for reviewing, and for suggesting improved tests.
........
  r76293 | mark.dickinson | 2009-11-15 10:04:50 +0000 (Sun, 15 Nov 2009) | 1 line

  r76292 commit accidentally committed some extra code; remove it
........
2009-11-15 10:17:48 +00:00
Senthil Kumaran b58474f8c7 Merged revisions 76290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76290 | senthil.kumaran | 2009-11-15 14:13:45 +0530 (Sun, 15 Nov 2009) | 10 lines

  Merged revisions 76288 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines

    Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
    Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
  ........
................
2009-11-15 08:45:27 +00:00
Senthil Kumaran 04454cd60d Merged revisions 76284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76284 | senthil.kumaran | 2009-11-15 11:50:55 +0530 (Sun, 15 Nov 2009) | 9 lines

  Merged revisions 76282 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines

    Addition of some details in the code comments.
  ........
................
2009-11-15 07:27:02 +00:00
R. David Murray 9f9b46cec5 Merged revisions 76279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76279 | r.david.murray | 2009-11-14 19:23:21 -0500 (Sat, 14 Nov 2009) | 10 lines

  Merged revisions 76276 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76276 | r.david.murray | 2009-11-14 19:04:32 -0500 (Sat, 14 Nov 2009) | 3 lines

    Issue 7324: add a sanity check to regrtest argument parsing to
    catch the case of an option with no handler.
  ........
................
2009-11-15 00:35:37 +00:00
R. David Murray 0ee1467704 Merged revisions 76272 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76272 | r.david.murray | 2009-11-14 17:27:22 -0500 (Sat, 14 Nov 2009) | 2 lines

  Fix print function conversion missed in merge of faq/programming update.
........
2009-11-14 22:28:36 +00:00
R. David Murray 5f1770a63f Merged revisions 76270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76270 | r.david.murray | 2009-11-14 17:21:32 -0500 (Sat, 14 Nov 2009) | 10 lines

  Merged revisions 76190 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76190 | r.david.murray | 2009-11-10 13:58:02 -0500 (Tue, 10 Nov 2009) | 3 lines

    Update the FAQ entry that explains that assignments in the local scope
    shadow variables in the outer scope (issue 7290).
  ........
................
2009-11-14 22:24:15 +00:00
R. David Murray 1f1df7a0c3 Blocked revisions 76261 via svnmerge
................
  r76261 | r.david.murray | 2009-11-14 11:13:02 -0500 (Sat, 14 Nov 2009) | 11 lines

  Merged revisions 76260 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76260 | r.david.murray | 2009-11-14 10:18:22 -0500 (Sat, 14 Nov 2009) | 5 lines

    Issue #7312 (new feature): Add a -F flag to run the selected tests in
    a loop until a test fails.  Can be combined with -j.  Patch by Antoine
    Pitrou.
  ........
................
2009-11-14 16:22:13 +00:00
Benjamin Peterson d2ad2268e2 Merged revisions 76256 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76256 | benjamin.peterson | 2009-11-13 17:14:24 -0600 (Fri, 13 Nov 2009) | 9 lines

  Merged revisions 76255 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76255 | benjamin.peterson | 2009-11-13 17:11:54 -0600 (Fri, 13 Nov 2009) | 1 line

    use Sphinx 0.6.3
  ........
................
2009-11-13 23:15:59 +00:00
Antoine Pitrou 4def51567d Merged revisions 76247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76247 | antoine.pitrou | 2009-11-13 23:35:18 +0100 (ven., 13 nov. 2009) | 12 lines

  Merged revisions 76245 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r76245 | antoine.pitrou | 2009-11-13 23:31:18 +0100 (ven., 13 nov. 2009) | 6 lines

    Issue #7318: multiprocessing now uses a timeout when it fails to establish
    a connection with another process, rather than looping endlessly. The
    default timeout is 20 seconds, which should be amply sufficient for
    local connections.
  ........
................
2009-11-13 22:39:40 +00:00
Antoine Pitrou ca15409195 Merged revisions 76240 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76240 | antoine.pitrou | 2009-11-13 17:29:04 +0100 (ven., 13 nov. 2009) | 6 lines

  Issue #6551: test_zipimport could import and then destroy some modules of
  the encodings package, which would make other tests fail further down
  the road because the internally cached encoders and decoders would point
  to empty global variables.
........
2009-11-13 16:31:51 +00:00
Benjamin Peterson 8f6713f46d Merged revisions 76235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76235 | benjamin.peterson | 2009-11-12 20:25:08 -0600 (Thu, 12 Nov 2009) | 170 lines

  Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines

    Mention issue6972 in extractall docs about overwriting things outside of
    the supplied path.
  ........
    r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line

    Wording fix
  ........
    r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line

    Fix narkup
  ........
    r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line

    Document 'skip' parameter to constructor
  ........
    r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line

    Note side benefit of socket.create_connection()
  ........
    r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line

    Reword sentence
  ........
    r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line

    Use standard comma punctuation; reword some sentences in the docs
  ........
    r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line

    Backport r73983: Document the thousands separator.
  ........
    r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line

    death to old CVS keyword
  ........
    r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line

    fix some coding style
  ........
    r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line

    platform we don't care about
  ........
    r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines

    Issue #1754094: Improve the stack depth calculation in the compiler.
    There should be no other effect than a small decrease in memory use.
    Patch by Christopher Tur Lesniewski-Laas.
  ........
    r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line

    pep8ify if blocks
  ........
    r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line

    use floor division and add a test that exercises the tabsize codepath
  ........
    r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line

    change test to what I intended
  ........
    r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line

    some cleanups
  ........
    r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line

    make inspect.isabstract() always return a boolean; add a test for it, too #7069
  ........
    r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line

    only clear a module's __dict__ if the module is the only one with a reference to it #7140
  ........
    r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line

    Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
  ........
    r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines

    Add a comment about unreachable code, and fix a typo
  ........
    r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line

    use property api
  ........
    r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line

    clarify buffer arg #7178
  ........
    r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line

    whitespace
  ........
    r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line

    rewrite to be nice to other implementations
  ........
    r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines

    rewrite for style, clarify, and comments

    Also, use the hasattr() like scheme of allowing BaseException exceptions through.
  ........
    r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines

    Fix compilation error in debug mode.
  ........
    r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line

    use 'is' instead of id()
  ........
    r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line

    test expect base classes
  ........
    r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line

    Use the correct function name in docstring.
  ........
    r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line

    Remove mention of the old -X command line switch.
  ........
    r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line

    Use constants instead of magic integers for test result.  Do not re-run with --verbose3 for environment changing tests.
  ........
    r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line

    Use a single style for all the docstrings in the math module.
  ........
    r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line

    I do not think the "railroad" program mentioned is still available.
  ........
    r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line

    Fix constant name.
  ........
    r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line

    prevent a rather unlikely segfault
  ........
    r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line

    #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
  ........
    r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line

    spelling
  ........
    r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line

    #7271: fix typo.
  ........
    r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line

    discuss how to use -p
  ........
    r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line

    Give the profile module a module directive.
  ........
................
2009-11-13 02:29:35 +00:00
Raymond Hettinger ba8cfdad94 Add examples to whatsnew entry for OrderedDict. 2009-11-12 17:42:47 +00:00
Ezio Melotti cf2ec6d4fd fix highlight in the datetime example 2009-11-12 10:41:24 +00:00