]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
17 years agoMerged revisions 67840 via svnmerge from
Antoine Pitrou [Thu, 18 Dec 2008 17:14:35 +0000 (17:14 +0000)] 
Merged revisions 67840 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67840 | antoine.pitrou | 2008-12-18 18:08:32 +0100 (jeu., 18 déc. 2008) | 3 lines

  Issue #4583: crash after resizing an array.array which has buffer exports.
........

17 years agoMerged revisions 67814 via svnmerge from
Antoine Pitrou [Tue, 16 Dec 2008 15:23:10 +0000 (15:23 +0000)] 
Merged revisions 67814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67814 | antoine.pitrou | 2008-12-16 15:25:45 +0100 (mar., 16 déc. 2008) | 3 lines

  Try to fix #4674: test_normalization failure on some buildbots.
........

17 years agoMerged revisions 67810 via svnmerge from
Benjamin Peterson [Tue, 16 Dec 2008 04:13:50 +0000 (04:13 +0000)] 
Merged revisions 67810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67810 | benjamin.peterson | 2008-12-15 21:57:54 -0600 (Mon, 15 Dec 2008) | 118 lines

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

  ................
    r67806 | benjamin.peterson | 2008-12-15 21:35:28 -0600 (Mon, 15 Dec 2008) | 111 lines

    Merged revisions 67427,67431,67433,67435,67630,67652,67656-67657,67674-67675,67678-67679,67705-67706,67716,67723,67765-67771,67774,67776,67778 via svnmerge from
    svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

    ........
      r67427 | benjamin.peterson | 2008-11-28 16:07:41 -0600 (Fri, 28 Nov 2008) | 1 line

      fix spelling in comment
    ........
      r67431 | benjamin.peterson | 2008-11-28 17:14:08 -0600 (Fri, 28 Nov 2008) | 1 line

      add a scripts directory; move things to it
    ........
      r67433 | benjamin.peterson | 2008-11-28 17:18:48 -0600 (Fri, 28 Nov 2008) | 1 line

      run svneol.py
    ........
      r67435 | benjamin.peterson | 2008-11-28 17:25:03 -0600 (Fri, 28 Nov 2008) | 1 line

      rename pre/post_order_mapping to pre/post_order_heads
    ........
      r67630 | alexandre.vassalotti | 2008-12-06 21:51:56 -0600 (Sat, 06 Dec 2008) | 2 lines

      Fix typo in the urllib2.HTTPDigestAuthHandler fixer.
    ........
      r67652 | armin.ronacher | 2008-12-07 15:39:43 -0600 (Sun, 07 Dec 2008) | 5 lines

      Added a fixer that cleans up a tuple argument to isinstance after the tokens
      in it were fixed.  This is mainly used to remove double occurrences of
      tokens as a leftover of the long -> int / unicode -> str conversion.
    ........
      r67656 | armin.ronacher | 2008-12-07 16:54:16 -0600 (Sun, 07 Dec 2008) | 3 lines

      Added missing copyright fo 2to3 fix_isinstance.
    ........
      r67657 | armin.ronacher | 2008-12-07 18:29:35 -0600 (Sun, 07 Dec 2008) | 3 lines

      2to3: intern and reduce fixes now add the imports if missing.  Because that is a common task the fixer_util module now has a function "touch_import" that adds imports if missing.
    ........
      r67674 | benjamin.peterson | 2008-12-08 19:58:11 -0600 (Mon, 08 Dec 2008) | 1 line

      copy permission bits when making backup files #4602
    ........
      r67675 | benjamin.peterson | 2008-12-08 19:59:11 -0600 (Mon, 08 Dec 2008) | 1 line

      add forgotten import
    ........
      r67678 | benjamin.peterson | 2008-12-08 20:08:30 -0600 (Mon, 08 Dec 2008) | 1 line

      fix #4602 for real
    ........
      r67679 | armin.ronacher | 2008-12-09 00:54:03 -0600 (Tue, 09 Dec 2008) | 3 lines

      Removed redudant code from the 2to3 long fixer.  This fixes #4590.
    ........
      r67705 | benjamin.peterson | 2008-12-11 13:04:08 -0600 (Thu, 11 Dec 2008) | 1 line

      put trailers after a range call after the list()
    ........
      r67706 | benjamin.peterson | 2008-12-11 13:17:57 -0600 (Thu, 11 Dec 2008) | 1 line

      add html related modules to the fix_imports mapping
    ........
      r67716 | benjamin.peterson | 2008-12-11 22:16:47 -0600 (Thu, 11 Dec 2008) | 1 line

      consolidate tests
    ........
      r67723 | benjamin.peterson | 2008-12-12 19:49:31 -0600 (Fri, 12 Dec 2008) | 1 line

      fix name
    ........
      r67765 | benjamin.peterson | 2008-12-14 14:05:05 -0600 (Sun, 14 Dec 2008) | 1 line

      run fix_isinstance after fix_long and fix_unicode
    ........
      r67766 | benjamin.peterson | 2008-12-14 14:13:05 -0600 (Sun, 14 Dec 2008) | 1 line

      use run_order instead of order
    ........
      r67767 | benjamin.peterson | 2008-12-14 14:28:12 -0600 (Sun, 14 Dec 2008) | 1 line

      don't retain parenthesis if there is only one item left
    ........
      r67768 | benjamin.peterson | 2008-12-14 14:32:30 -0600 (Sun, 14 Dec 2008) | 1 line

      use insert_child()
    ........
      r67769 | benjamin.peterson | 2008-12-14 14:59:10 -0600 (Sun, 14 Dec 2008) | 1 line

      parenthesize doesn't belong in pygram or FixerBase
    ........
      r67770 | alexandre.vassalotti | 2008-12-14 15:15:36 -0600 (Sun, 14 Dec 2008) | 2 lines

      Fix typo: html.paser -> html.parser.
    ........
      r67771 | benjamin.peterson | 2008-12-14 15:22:09 -0600 (Sun, 14 Dec 2008) | 1 line

      altering .children needs to call changed()
    ........
      r67774 | benjamin.peterson | 2008-12-14 15:55:38 -0600 (Sun, 14 Dec 2008) | 1 line

      employ an evil hack to fix multiple names in the same import statement
    ........
      r67776 | benjamin.peterson | 2008-12-14 16:22:38 -0600 (Sun, 14 Dec 2008) | 1 line

      make a common mixin class for Test_imports and friends
    ........
      r67778 | alexandre.vassalotti | 2008-12-14 17:48:20 -0600 (Sun, 14 Dec 2008) | 2 lines

      Make fix_imports refactor multiple imports as.
    ........
  ................
................

17 years agoMerged revisions 67803 via svnmerge from
Antoine Pitrou [Mon, 15 Dec 2008 23:03:50 +0000 (23:03 +0000)] 
Merged revisions 67803 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67803 | antoine.pitrou | 2008-12-16 00:01:43 +0100 (mar., 16 déc. 2008) | 4 lines

  Issue #4663: increase the chunk size to improve TextIOWrapper performance on small reads.
  Text I/O is still 10x to 100x slower than 2.x!
........

17 years agoMerged revisions 67794 via svnmerge from
Antoine Pitrou [Mon, 15 Dec 2008 17:48:30 +0000 (17:48 +0000)] 
Merged revisions 67794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67794 | antoine.pitrou | 2008-12-15 14:08:55 +0100 (lun., 15 déc. 2008) | 13 lines

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

  ........
    r67777 | antoine.pitrou | 2008-12-14 23:33:55 +0100 (dim., 14 déc. 2008) | 3 lines

    try to fix failure in test_bad_address on some buildbots
  ........
    r67779 | antoine.pitrou | 2008-12-15 01:39:51 +0100 (lun., 15 déc. 2008) | 1 line

    modify other occurrence of test_bad_address
  ........
................

17 years agoMerged revisions 67792 via svnmerge from
Nick Coghlan [Mon, 15 Dec 2008 12:06:28 +0000 (12:06 +0000)] 
Merged revisions 67792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67792 | nick.coghlan | 2008-12-15 22:01:34 +1000 (Mon, 15 Dec 2008) | 9 lines

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

  ........
    r67790 | nick.coghlan | 2008-12-15 21:41:05 +1000 (Mon, 15 Dec 2008) | 1 line

    Issue #4197: Fix the remaining part of the doctest-in-zipfile problem by giving linecache access to the module globals when available
  ........
................

17 years agoMerged revisions 67759 via svnmerge from
Antoine Pitrou [Sun, 14 Dec 2008 17:09:38 +0000 (17:09 +0000)] 
Merged revisions 67759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67759 | antoine.pitrou | 2008-12-14 17:36:46 +0100 (dim., 14 déc. 2008) | 3 lines

  Issue #4574: reading an UTF16-encoded text file crashes if \r on 64-char boundary.
........

17 years agoMerged revisions 67753 via svnmerge from
Nick Coghlan [Sun, 14 Dec 2008 12:10:37 +0000 (12:10 +0000)] 
Merged revisions 67753 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67753 | nick.coghlan | 2008-12-14 21:50:48 +1000 (Sun, 14 Dec 2008) | 13 lines

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

  ........
    r67750 | nick.coghlan | 2008-12-14 20:54:50 +1000 (Sun, 14 Dec 2008) | 1 line

    Fix several issues relating to access to source code inside zipfiles. Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details.
  ........
    r67751 | nick.coghlan | 2008-12-14 21:09:40 +1000 (Sun, 14 Dec 2008) | 1 line

    Add file that was missed from r67750
  ........
................

17 years agoUnblocked and merged revisions 67611 via svnmerge from
Jeffrey Yasskin [Fri, 12 Dec 2008 17:39:28 +0000 (17:39 +0000)] 
Unblocked and merged revisions 67611 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67611 | jeffrey.yasskin | 2008-12-06 09:09:27 -0800 (Sat, 06 Dec 2008) | 11 lines

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

  ........
    r67494 | jeffrey.yasskin | 2008-12-02 22:46:45 -0800 (Tue, 02 Dec 2008) | 5 lines

    Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
    whether any thread has tracing turned on, which saves one load instruction in
    the fast_next_opcode path in PyEval_EvalFrameEx().  See issue 4477.
  ........
................

17 years agoMerged revisions 67719 via svnmerge from
Lars Gustäbel [Fri, 12 Dec 2008 15:19:48 +0000 (15:19 +0000)] 
Merged revisions 67719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67719 | lars.gustaebel | 2008-12-12 15:58:38 +0100 (Fri, 12 Dec 2008) | 9 lines

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

  ........
    r67717 | lars.gustaebel | 2008-12-12 14:58:03 +0100 (Fri, 12 Dec 2008) | 2 lines

    Issue #4616: TarFile.utime(): Restore directory times on Windows.
  ........
................

17 years agoMerged revisions 67711 via svnmerge from
Benjamin Peterson [Fri, 12 Dec 2008 01:40:00 +0000 (01:40 +0000)] 
Merged revisions 67711 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67711 | benjamin.peterson | 2008-12-11 19:25:05 -0600 (Thu, 11 Dec 2008) | 1 line

  raise a SyntaxError in detect_encoding() when a codec lookup fails like the builtin parser #4021
........

17 years agobump revision number
Benjamin Peterson [Fri, 12 Dec 2008 01:33:03 +0000 (01:33 +0000)] 
bump revision number

17 years agoMerged revisions 67708 via svnmerge from
Mark Dickinson [Thu, 11 Dec 2008 22:04:13 +0000 (22:04 +0000)] 
Merged revisions 67708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67708 | mark.dickinson | 2008-12-11 21:56:00 +0000 (Thu, 11 Dec 2008) | 12 lines

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

  ........
    r67707 | mark.dickinson | 2008-12-11 19:28:08 +0000 (Thu, 11 Dec 2008) | 5 lines

    Issues #3167, #3682: tests for math.log and math.log10 were failing on
    Solaris and OpenBSD.  Fix this by handling special values and domain
    errors directly in mathmodule.c, passing only positive nonspecial floats
    to the system log/log10.
  ........
................

17 years agoMerged revisions 67703 via svnmerge from
Mark Dickinson [Thu, 11 Dec 2008 18:04:15 +0000 (18:04 +0000)] 
Merged revisions 67703 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67703 | mark.dickinson | 2008-12-11 18:03:03 +0000 (Thu, 11 Dec 2008) | 4 lines

  Issue #2173:  fix build failure on OS X.  device_encoding was returning an
  empty string, causing an (invisible) LookupError on any attempt to write
  to sys.stdout.
........

17 years agoMerged revisions 67695 via svnmerge from
Mark Dickinson [Thu, 11 Dec 2008 09:14:45 +0000 (09:14 +0000)] 
Merged revisions 67695 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67695 | facundo.batista | 2008-12-11 04:20:07 +0000 (Thu, 11 Dec 2008) | 6 lines

  Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
  give correct results in the case where one argument is a quiet NaN
  and the other is a finite number that requires rounding.
  Thanks Mark Dickinson.
........

17 years agoMerged revisions 67697 via svnmerge from
Jeffrey Yasskin [Thu, 11 Dec 2008 06:36:25 +0000 (06:36 +0000)] 
Merged revisions 67697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67697 | jeffrey.yasskin | 2008-12-10 22:18:33 -0800 (Wed, 10 Dec 2008) | 14 lines

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

  ........
    r67666 | jeffrey.yasskin | 2008-12-08 10:55:24 -0800 (Mon, 08 Dec 2008) | 3 lines

    Issue 4597: Fix several cases in EvalFrameEx where an exception could be
    "raised" without setting x, err, or why to let the eval loop know.
  ........
    r67685 | jeffrey.yasskin | 2008-12-09 23:35:02 -0800 (Tue, 09 Dec 2008) | 2 lines

    Update Misc/NEWS for r67666.
  ........
................

17 years agoMerged revisions 67689 via svnmerge from
Amaury Forgeot d'Arc [Wed, 10 Dec 2008 23:55:09 +0000 (23:55 +0000)] 
Merged revisions 67689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67689 | amaury.forgeotdarc | 2008-12-11 00:49:33 +0100 (jeu., 11 déc. 2008) | 13 lines

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

  ........
    r67688 | amaury.forgeotdarc | 2008-12-11 00:22:49 +0100 (jeu., 11 déc. 2008) | 6 lines

    #4559: When a context manager's __exit__() method returns an object whose
    conversion to bool raises an exception, 'with' loses that exception.

    Reviewed by Jeffrey Yasskin.
    Already ported to 2.5, will port to 2.6 and 3.0
  ........
................

17 years agoMerged revisions 67661-67662 via svnmerge from
Martin v. Löwis [Mon, 8 Dec 2008 19:21:22 +0000 (19:21 +0000)] 
Merged revisions 67661-67662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67661 | martin.v.loewis | 2008-12-08 12:19:42 +0100 (Mo, 08 Dez 2008) | 13 lines

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

  ........
    r67658 | martin.v.loewis | 2008-12-08 12:14:57 +0100 (Mo, 08 Dez 2008) | 1 line

    Add UUIDs for 2.6.1 and 2.6.2.
  ........
    r67659 | martin.v.loewis | 2008-12-08 12:15:35 +0100 (Mo, 08 Dez 2008) | 1 line

    Consider micro version for name of CHM file.
  ........
................
  r67662 | martin.v.loewis | 2008-12-08 12:23:22 +0100 (Mo, 08 Dez 2008) | 2 lines

  Add UUIDs for 3.0.1 and 3.0.2.
................

17 years agoMerged revisions 67650 via svnmerge from
Antoine Pitrou [Sun, 7 Dec 2008 20:26:34 +0000 (20:26 +0000)] 
Merged revisions 67650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67650 | antoine.pitrou | 2008-12-07 21:14:49 +0100 (dim., 07 déc. 2008) | 5 lines

  Issue #4569: Interpreter crash when mutating a memoryview with an item size larger than 1.

  (together with a bit of reindenting)
........

17 years agoBlocked revisions 67508 via svnmerge
Georg Brandl [Sun, 7 Dec 2008 16:10:21 +0000 (16:10 +0000)] 
Blocked revisions 67508 via svnmerge

........
  r67508 | christian.heimes | 2008-12-03 19:35:13 +0100 (Wed, 03 Dec 2008) | 1 line

  More 3.0 -> 3.1 transistions
........

17 years agoBlocked revisions 67636,67639 via svnmerge
Georg Brandl [Sun, 7 Dec 2008 16:04:41 +0000 (16:04 +0000)] 
Blocked revisions 67636,67639 via svnmerge

................
  r67636 | georg.brandl | 2008-12-07 16:06:20 +0100 (Sun, 07 Dec 2008) | 69 lines

  Merged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines

    Add reference to enumerate() to indices example.
  ........
    r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines

    Add another heapq example.
  ........
    r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines

    Clarification to avoid confusing output with file descriptors.
  ........
    r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4408: document regex.groups.
  ........
    r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4409: fix asterisks looking like footnotes.
  ........
    r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4441: improve doc for os.open() flags.
  ........
    r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines

    Add an index entry for "subclassing immutable types".
  ........
    r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines

    Use markup.
  ........
    r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4441 followup: Add link to open() docs for Windows.
  ........
    r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4544: add `dedent` to textwrap.__all__.
  ........
    r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.
  ........
    r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4478: document that copyfile() can raise Error.
  ........
    r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines

    Followup to #4511: add link from decorator glossary entry to definition.
  ........
    r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines

    Remove confusing sentence part.
  ........
    r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines

    Follow-up to #4488: document PIPE and STDOUT properly.
  ........
    r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines

    Add link to the favicon to the docs.
  ........
................
  r67639 | georg.brandl | 2008-12-07 16:15:22 +0100 (Sun, 07 Dec 2008) | 21 lines

  Merged revisions 67463,67572,67576,67628 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line

    typo in comment
  ........
    r67572 | georg.brandl | 2008-12-05 10:23:14 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4458: recognize "-" as an argument, not a malformed option in gnu_getopt().
  ........
    r67576 | georg.brandl | 2008-12-05 13:09:41 +0100 (Fri, 05 Dec 2008) | 2 lines

    #4529: fix parser's validation for try-except-finally statements.
  ........
    r67628 | skip.montanaro | 2008-12-07 03:16:00 +0100 (Sun, 07 Dec 2008) | 1 line

    muffed the default case
  ........
................

17 years agoManual merge of r67639 from py3k branch:
Georg Brandl [Sun, 7 Dec 2008 16:04:03 +0000 (16:04 +0000)] 
Manual merge of r67639 from py3k branch:

Merged revisions 67463,67572,67576,67628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

.........
  r67463 | skip.montanaro | 2008-12-01 02:55:22 +0100 (Mon, 01 Dec 2008) | 1 line

  typo in comment
.........
  r67572 | georg.brandl | 2008-12-05 10:23:14 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4458: recognize "-" as an argument, not a malformed option in gnu_getopt().
.........
  r67576 | georg.brandl | 2008-12-05 13:09:41 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4529: fix parser's validation for try-except-finally statements.
.........
  r67628 | skip.montanaro | 2008-12-07 03:16:00 +0100 (Sun, 07 Dec 2008) | 1 line

  muffed the default case
.........

17 years agoManual merge of r67636 from py3k branch:
Georg Brandl [Sun, 7 Dec 2008 16:02:32 +0000 (16:02 +0000)] 
Manual merge of r67636 from py3k branch:

Merged revisions 67531-67532,67538,67553-67554,67556-67557,67571,67574-67575,67579-67580,67591,67597,67608,67631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

.........
  r67531 | georg.brandl | 2008-12-04 19:54:05 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add reference to enumerate() to indices example.
.........
  r67532 | georg.brandl | 2008-12-04 19:59:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add another heapq example.
.........
  r67538 | georg.brandl | 2008-12-04 22:28:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  Clarification to avoid confusing output with file descriptors.
.........
  r67553 | georg.brandl | 2008-12-05 08:49:49 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4408: document regex.groups.
.........
  r67554 | georg.brandl | 2008-12-05 08:52:26 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4409: fix asterisks looking like footnotes.
.........
  r67556 | georg.brandl | 2008-12-05 09:02:17 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441: improve doc for os.open() flags.
.........
  r67557 | georg.brandl | 2008-12-05 09:06:57 +0100 (Fri, 05 Dec 2008) | 2 lines

  Add an index entry for "subclassing immutable types".
.........
  r67571 | georg.brandl | 2008-12-05 10:13:45 +0100 (Fri, 05 Dec 2008) | 2 lines

  Use markup.
.........
  r67574 | georg.brandl | 2008-12-05 10:25:32 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4441 followup: Add link to open() docs for Windows.
.........
  r67575 | georg.brandl | 2008-12-05 12:34:51 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4544: add `dedent` to textwrap.__all__.
.........
  r67579 | georg.brandl | 2008-12-05 16:29:39 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4517: add "special method" glossary entry and clarify when __getattribute__ is bypassed.
.........
  r67580 | georg.brandl | 2008-12-05 16:32:29 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4478: document that copyfile() can raise Error.
.........
  r67591 | georg.brandl | 2008-12-05 19:00:06 +0100 (Fri, 05 Dec 2008) | 2 lines

  Followup to #4511: add link from decorator glossary entry to definition.
.........
  r67597 | georg.brandl | 2008-12-05 20:03:19 +0100 (Fri, 05 Dec 2008) | 2 lines

  Remove confusing sentence part.
.........
  r67608 | georg.brandl | 2008-12-06 12:57:12 +0100 (Sat, 06 Dec 2008) | 2 lines

  Follow-up to #4488: document PIPE and STDOUT properly.
.........
  r67631 | georg.brandl | 2008-12-07 12:54:07 +0100 (Sun, 07 Dec 2008) | 2 lines

  Add link to the favicon to the docs.
.........

17 years agoBlocked revisions 67534 via svnmerge
Georg Brandl [Sun, 7 Dec 2008 15:59:08 +0000 (15:59 +0000)] 
Blocked revisions 67534 via svnmerge

................
  r67534 | fred.drake | 2008-12-04 20:24:50 +0100 (Thu, 04 Dec 2008) | 11 lines

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

  ........
    r67528 | fred.drake | 2008-12-04 13:25:17 -0500 (Thu, 04 Dec 2008) | 4 lines

    Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
    support unusual filenames (such as those containing semi-colons) in
    Content-Disposition headers.
  ........
................

17 years agoMerged revisions 67525-67527,67529,67548-67549,67551-67552,67555,67578,67586,67593...
Georg Brandl [Sun, 7 Dec 2008 15:52:13 +0000 (15:52 +0000)] 
Merged revisions 67525-67527,67529,67548-67549,67551-67552,67555,67578,67586,67593-67594,67596,67605-67606,67609,67612,67616-67617,67632,67635,67638 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r67525 | georg.brandl | 2008-12-04 19:18:16 +0100 (Thu, 04 Dec 2008) | 2 lines

  #4527: fix "unicode or string".
........
  r67526 | georg.brandl | 2008-12-04 19:19:41 +0100 (Thu, 04 Dec 2008) | 2 lines

  #4526: fix typo.
........
  r67527 | georg.brandl | 2008-12-04 19:21:46 +0100 (Thu, 04 Dec 2008) | 2 lines

  #4521: fix getcwdu() vs getcwdb().
........
  r67529 | georg.brandl | 2008-12-04 19:28:38 +0100 (Thu, 04 Dec 2008) | 2 lines

  #4513: remove traces of zip() docstring from when it was izip().
........
  r67548 | guido.van.rossum | 2008-12-05 06:49:12 +0100 (Fri, 05 Dec 2008) | 3 lines

  Tweak verbiage and markup for relative/absolute import.  Backport candidate.
  (I guess *all* changes to this file should be backported to the 3.0 branch.)
........
  r67549 | martin.v.loewis | 2008-12-05 08:20:46 +0100 (Fri, 05 Dec 2008) | 2 lines

  Send mails to python-checkins now.
........
  r67551 | georg.brandl | 2008-12-05 08:32:56 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4355: refer to urlencode in the correct module.
........
  r67552 | georg.brandl | 2008-12-05 08:45:54 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4401: Re-add os.extsep.
........
  r67555 | georg.brandl | 2008-12-05 08:57:51 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4427: fix arguments for "y" BuildValue type.
........
  r67578 | georg.brandl | 2008-12-05 16:12:15 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4504, #4505: Update noddy examples in "Extending & Embedding".
........
  r67586 | georg.brandl | 2008-12-05 16:55:41 +0100 (Fri, 05 Dec 2008) | 2 lines

  Manually merged r67583: move __import__ doc to the bottom.
........
  r67593 | georg.brandl | 2008-12-05 19:04:41 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4550: fix 2.x syntax in webservers howto.
........
  r67594 | georg.brandl | 2008-12-05 19:06:58 +0100 (Fri, 05 Dec 2008) | 2 lines

  #4549: Mention nonlocal statement in tutorial section about scoping.
........
  r67596 | georg.brandl | 2008-12-05 19:31:51 +0100 (Fri, 05 Dec 2008) | 2 lines

  Use :samp: role.
........
  r67605 | georg.brandl | 2008-12-06 09:12:11 +0100 (Sat, 06 Dec 2008) | 2 lines

  #4557: remove 'c' typecode from array docs and add a note in whatsnew.
........
  r67606 | georg.brandl | 2008-12-06 09:14:46 +0100 (Sat, 06 Dec 2008) | 2 lines

  cmp() is not really gone.
........
  r67609 | georg.brandl | 2008-12-06 15:28:56 +0100 (Sat, 06 Dec 2008) | 2 lines

  #4562: fix zip() examples.
........
  r67612 | skip.montanaro | 2008-12-06 18:25:02 +0100 (Sat, 06 Dec 2008) | 2 lines

  issue 4483 - _dbm build failures on systems with gdbm_compat lib.
........
  r67616 | benjamin.peterson | 2008-12-06 19:32:13 +0100 (Sat, 06 Dec 2008) | 1 line

  there are only four asdl builtin types in py3k
........
  r67617 | benjamin.peterson | 2008-12-06 19:33:20 +0100 (Sat, 06 Dec 2008) | 1 line

  update version number
........
  r67632 | georg.brandl | 2008-12-07 15:09:20 +0100 (Sun, 07 Dec 2008) | 2 lines

  #4576: fix ob_type access.
........
  r67635 | benjamin.peterson | 2008-12-07 15:58:03 +0100 (Sun, 07 Dec 2008) | 1 line

  document how to deal with binary standard streams
........
  r67638 | benjamin.peterson | 2008-12-07 16:07:02 +0100 (Sun, 07 Dec 2008) | 1 line

  remove extraneous 'text'
........

17 years agoBlocked revisions 67500,67507,67517,67519,67530,67545,67550,67585,67603,67607,67610...
Georg Brandl [Sun, 7 Dec 2008 15:42:29 +0000 (15:42 +0000)] 
Blocked revisions 67500,67507,67517,67519,67530,67545,67550,67585,67603,67607,67610-67611,67620,67637,67640-67642 via svnmerge

................
  r67500 | barry.warsaw | 2008-12-03 17:46:14 +0100 (Wed, 03 Dec 2008) | 2 lines

  Prep for Python 3.1!
................
  r67507 | christian.heimes | 2008-12-03 19:18:23 +0100 (Wed, 03 Dec 2008) | 1 line

  Bumped up version numbers of configure/autoconf scripts
................
  r67517 | hirokazu.yamamoto | 2008-12-04 09:53:27 +0100 (Thu, 04 Dec 2008) | 1 line

  Bumped up version number in PC/pyconfig.h.
................
  r67519 | christian.heimes | 2008-12-04 15:27:25 +0100 (Thu, 04 Dec 2008) | 1 line

  More 3.0 -> 3.1 transistion in the Windows and OS/2 build files
................
  r67530 | georg.brandl | 2008-12-04 19:44:53 +0100 (Thu, 04 Dec 2008) | 2 lines

  Add a skeleton 3.1 whatsnew document.
................
  r67545 | benjamin.peterson | 2008-12-05 04:05:29 +0100 (Fri, 05 Dec 2008) | 1 line

  fix Sphinx warnings
................
  r67550 | georg.brandl | 2008-12-05 08:32:39 +0100 (Fri, 05 Dec 2008) | 2 lines

  Update build URL.
................
  r67585 | georg.brandl | 2008-12-05 16:54:46 +0100 (Fri, 05 Dec 2008) | 10 lines

  Blocked revisions 67583 via svnmerge

  ........
    r67583 | georg.brandl | 2008-12-05 16:52:20 +0100 (Fri, 05 Dec 2008) | 4 lines

    Move __import__ to the bottom of the functions list.
    It doesn't make sense for such a fundamental document to have
    the most obscure function listed at the top.
  ........
................
  r67603 | mark.dickinson | 2008-12-05 23:23:16 +0100 (Fri, 05 Dec 2008) | 9 lines

  Blocked revisions 67601 via svnmerge

  ........
    r67601 | mark.dickinson | 2008-12-05 21:55:28 +0000 (Fri, 05 Dec 2008) | 3 lines

    Issue #4445: save 3 bytes (on average, on a typical machine) per
    string allocation.
  ........
................
  r67607 | raymond.hettinger | 2008-12-06 12:44:00 +0100 (Sat, 06 Dec 2008) | 1 line

  Issue 1163367: Clarify super() docs.  Also, fix-up the markup and XXX comment.
................
  r67610 | mark.dickinson | 2008-12-06 16:33:31 +0100 (Sat, 06 Dec 2008) | 3 lines

  Issue #4445: save 3 bytes of memory (on average) per bytes allocation.
  (This is a forward port of r67601).
................
  r67611 | jeffrey.yasskin | 2008-12-06 18:09:27 +0100 (Sat, 06 Dec 2008) | 11 lines

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

  ........
    r67494 | jeffrey.yasskin | 2008-12-02 22:46:45 -0800 (Tue, 02 Dec 2008) | 5 lines

    Speed up Python (according to pybench and 2to3-on-itself) by 1-2% by caching
    whether any thread has tracing turned on, which saves one load instruction in
    the fast_next_opcode path in PyEval_EvalFrameEx().  See issue 4477.
  ........
................
  r67620 | antoine.pitrou | 2008-12-06 22:32:58 +0100 (Sat, 06 Dec 2008) | 8 lines

  Blocked revisions 67619 via svnmerge

  ........
    r67619 | antoine.pitrou | 2008-12-06 22:29:24 +0100 (sam., 06 d?\195?\169c. 2008) | 1 line

    Issue #4509: bugs in bytearray with exports (buffer protocol)
  ........
................
  r67637 | georg.brandl | 2008-12-07 16:06:59 +0100 (Sun, 07 Dec 2008) | 24 lines

  Blocked revisions 67498,67521,67581,67584,67587 via svnmerge

  ........
    r67498 | raymond.hettinger | 2008-12-03 16:42:10 +0100 (Wed, 03 Dec 2008) | 1 line

    Backport r67478
  ........
    r67521 | christian.heimes | 2008-12-04 15:34:40 +0100 (Thu, 04 Dec 2008) | 1 line

    Bumped up 2.6 to 2.7
  ........
    r67581 | georg.brandl | 2008-12-05 16:42:03 +0100 (Fri, 05 Dec 2008) | 2 lines

    #3171: document that *slice are removed in 3k.
  ........
    r67584 | fred.drake | 2008-12-05 16:52:25 +0100 (Fri, 05 Dec 2008) | 2 lines

    bump version number
  ........
    r67587 | fred.drake | 2008-12-05 17:14:18 +0100 (Fri, 05 Dec 2008) | 2 lines

    be more specific, and parallel to the py3k branch
  ........
................
  r67640 | georg.brandl | 2008-12-07 16:15:46 +0100 (Sun, 07 Dec 2008) | 8 lines

  Blocked revisions 67614 via svnmerge

  ........
    r67614 | skip.montanaro | 2008-12-06 18:43:30 +0100 (Sat, 06 Dec 2008) | 2 lines

    issue 4483 - dbm build failures on systems with gdbm_compat lib.
  ........
................
  r67641 | georg.brandl | 2008-12-07 16:17:53 +0100 (Sun, 07 Dec 2008) | 2 lines

  Forward-port r67624 and r67627.
................
  r67642 | georg.brandl | 2008-12-07 16:30:06 +0100 (Sun, 07 Dec 2008) | 22 lines

  Merged revisions 67511,67536-67537,67543 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r67511 | vinay.sajip | 2008-12-04 00:22:58 +0100 (Thu, 04 Dec 2008) | 1 line

    Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
  ........
    r67536 | gregory.p.smith | 2008-12-04 21:21:09 +0100 (Thu, 04 Dec 2008) | 3 lines

    Adds a subprocess.check_call_output() function to return the output from a
    process on success or raise an exception on error.
  ........
    r67537 | vinay.sajip | 2008-12-04 21:32:18 +0100 (Thu, 04 Dec 2008) | 1 line

    Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time."
  ........
    r67543 | gregory.p.smith | 2008-12-05 03:27:01 +0100 (Fri, 05 Dec 2008) | 2 lines

    rename the new check_call_output to check_output.  its less ugly.
  ........
................

17 years agoIssue 1717: Finish de-documenting cmp(). Removal to follow.
Raymond Hettinger [Sun, 7 Dec 2008 01:48:34 +0000 (01:48 +0000)] 
Issue 1717: Finish de-documenting cmp(). Removal to follow.

17 years agoFix typo in whatsnew3.0
Raymond Hettinger [Sun, 7 Dec 2008 01:27:31 +0000 (01:27 +0000)] 
Fix typo in whatsnew3.0

17 years agoBackport r67607 for Issue 1163367: Clarify docs for super().
Raymond Hettinger [Sun, 7 Dec 2008 01:24:52 +0000 (01:24 +0000)] 
Backport r67607 for Issue 1163367:  Clarify docs for super().

17 years agoIssue 4570: Fix typo in the tutorial.
Raymond Hettinger [Sun, 7 Dec 2008 01:21:21 +0000 (01:21 +0000)] 
Issue 4570: Fix typo in the tutorial.

17 years agoMerged revisions 67618 via svnmerge from
Antoine Pitrou [Sun, 7 Dec 2008 00:07:58 +0000 (00:07 +0000)] 
Merged revisions 67618 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67618 | antoine.pitrou | 2008-12-06 22:27:53 +0100 (sam., 06 déc. 2008) | 1 line

  Issue #4509: bugs in bytearray with exports (buffer protocol)
........

17 years agoissue4483: _dbm build failures on systems with gdbm_compat lib.
Skip Montanaro [Sat, 6 Dec 2008 17:53:09 +0000 (17:53 +0000)] 
issue4483: _dbm build failures on systems with gdbm_compat lib.

17 years agoMerged revisions 67544 via svnmerge from
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 22:20:38 +0000 (22:20 +0000)] 
Merged revisions 67544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67544 | fred.drake | 2008-12-05 03:47:42 +0100 (ven., 05 déc. 2008) | 2 lines

  add missing import
........

17 years agoMerged revisions 67595 via svnmerge from
Mark Dickinson [Fri, 5 Dec 2008 20:53:19 +0000 (20:53 +0000)] 
Merged revisions 67595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67595 | mark.dickinson | 2008-12-05 18:10:46 +0000 (Fri, 05 Dec 2008) | 9 lines

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

  ........
    r67590 | mark.dickinson | 2008-12-05 17:59:46 +0000 (Fri, 05 Dec 2008) | 2 lines

    Issue #4461: Safety check in parsenumber (ast.c)
  ........
................

17 years agoMerged revisions 67588 via svnmerge from
Mark Dickinson [Fri, 5 Dec 2008 17:25:42 +0000 (17:25 +0000)] 
Merged revisions 67588 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67588 | mark.dickinson | 2008-12-05 17:14:29 +0000 (Fri, 05 Dec 2008) | 2 lines

  Issue 4497: silence compiler warnings on Windows.
........

17 years agoMerged revisions 67559 via svnmerge from
Christian Heimes [Fri, 5 Dec 2008 08:32:07 +0000 (08:32 +0000)] 
Merged revisions 67559 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67559 | christian.heimes | 2008-12-05 09:26:55 +0100 (Fri, 05 Dec 2008) | 1 line

  Fixed issue #4533: File read operation was dreadfully slow
........

17 years agoMerged revisions 67541 via svnmerge from
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:42:09 +0000 (01:42 +0000)] 
Merged revisions 67541 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67541 | amaury.forgeotdarc | 2008-12-05 02:40:43 +0100 (ven., 05 déc. 2008) | 5 lines

  #4542: On Windows, binascii.crc32 still accepted str as binary input.
  This fixes test_binascii.

  Will backport to 3.0
........

17 years agoMerged revisions 67539 via svnmerge from
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:07:15 +0000 (01:07 +0000)] 
Merged revisions 67539 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67539 | amaury.forgeotdarc | 2008-12-05 02:02:21 +0100 (ven., 05 déc. 2008) | 5 lines

  Issue #4537: webbrowser.UnixBrowser failed because this module defines an open()
  function which shadows the builtin.

  Will backport to 3.0
........

17 years agoMerged revisions 67534 via svnmerge from
Fred Drake [Thu, 4 Dec 2008 20:11:57 +0000 (20:11 +0000)] 
Merged revisions 67534 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r67534 | fred.drake | 2008-12-04 14:24:50 -0500 (Thu, 04 Dec 2008) | 11 lines

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

  ........
    r67528 | fred.drake | 2008-12-04 13:25:17 -0500 (Thu, 04 Dec 2008) | 4 lines

    Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
    support unusual filenames (such as those containing semi-colons) in
    Content-Disposition headers.
  ........
................

17 years agoMerged revisions 67522-67523 via svnmerge from
Fred Drake [Thu, 4 Dec 2008 15:55:40 +0000 (15:55 +0000)] 
Merged revisions 67522-67523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r67522 | andrew.kuchling | 2008-12-04 10:07:14 -0500 (Thu, 04 Dec 2008) | 1 line

  Wording change (flaunt -> disobey); markup fixes.  The largest edit is to the paragraph on relative imports; please review.  (Backport candidate)
........
  r67523 | fred.drake | 2008-12-04 10:28:51 -0500 (Thu, 04 Dec 2008) | 3 lines

  - fix markup error
  - remove silly emoticon
........

17 years agoUpdate upload location for stable 3.0 docs.
Georg Brandl [Thu, 4 Dec 2008 13:49:54 +0000 (13:49 +0000)] 
Update upload location for stable 3.0 docs.

17 years agopost release bump
Barry Warsaw [Thu, 4 Dec 2008 01:58:34 +0000 (01:58 +0000)] 
post release bump

17 years agoRe-tagging.
Barry Warsaw [Wed, 3 Dec 2008 17:29:25 +0000 (17:29 +0000)] 
Re-tagging.

17 years agoOops, one revision we forgot. v3.0
Barry Warsaw [Wed, 3 Dec 2008 17:29:10 +0000 (17:29 +0000)] 
Oops, one revision we forgot.

17 years agoTagging for 3.0 final.
Barry Warsaw [Wed, 3 Dec 2008 17:20:02 +0000 (17:20 +0000)] 
Tagging for 3.0 final.

17 years agoBumping to 3.0 final.
Barry Warsaw [Wed, 3 Dec 2008 17:15:13 +0000 (17:15 +0000)] 
Bumping to 3.0 final.

17 years agoInitialized merge tracking via "svnmerge" with revisions "1-67498" from
Christian Heimes [Wed, 3 Dec 2008 16:58:54 +0000 (16:58 +0000)] 
Initialized merge tracking via "svnmerge" with revisions "1-67498" from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

17 years agoRemoved merge tracking for "svnmerge" for
Christian Heimes [Wed, 3 Dec 2008 16:58:41 +0000 (16:58 +0000)] 
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/trunk

17 years agoCreating the Python 3.0 maintenance branch.
Barry Warsaw [Wed, 3 Dec 2008 16:25:53 +0000 (16:25 +0000)] 
Creating the Python 3.0 maintenance branch.

17 years agoRemove remark about NaN==NaN, I misunderstood that issue.
Guido van Rossum [Wed, 3 Dec 2008 15:24:50 +0000 (15:24 +0000)] 
Remove remark about NaN==NaN, I misunderstood that issue.

17 years agoMinor edits.
Raymond Hettinger [Wed, 3 Dec 2008 15:04:01 +0000 (15:04 +0000)] 
Minor edits.

17 years agoFixed a warning on whatsnew/3.0.rst
Christian Heimes [Wed, 3 Dec 2008 13:39:03 +0000 (13:39 +0000)] 
Fixed a warning on whatsnew/3.0.rst

17 years agoUse the :mod: role.
Georg Brandl [Wed, 3 Dec 2008 06:44:59 +0000 (06:44 +0000)] 
Use the :mod: role.

17 years agoSome textual tweaks, and fixed a few typos found by a spell checker.
Guido van Rossum [Wed, 3 Dec 2008 05:39:28 +0000 (05:39 +0000)] 
Some textual tweaks, and fixed a few typos found by a spell checker.

17 years agoFix bad markup.
Guido van Rossum [Wed, 3 Dec 2008 04:18:17 +0000 (04:18 +0000)] 
Fix bad markup.

17 years agoMore cleanup. Moved all Unicode and str/bytes info to the text/data
Guido van Rossum [Wed, 3 Dec 2008 04:15:35 +0000 (04:15 +0000)] 
More cleanup.  Moved all Unicode and str/bytes info to the text/data
subsection in common pitfalls, rather than spreading it out.  Made
this the last subsection of common pitfalls.  All XXX comments are now
gone.  I'm sure much is still missing, we'll have to clean that up
post 3.0.  At least all PEPs and all implemented items in PEP 3100
have at least one mention.

17 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 02:31:31 +0000 (02:31 +0000)] 
Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)

17 years agoAnother checkpoint -- some stuff I managed to do on the train.
Guido van Rossum [Wed, 3 Dec 2008 02:03:19 +0000 (02:03 +0000)] 
Another checkpoint -- some stuff I managed to do on the train.

17 years agoMerged revisions 67484 via svnmerge from
Christian Heimes [Wed, 3 Dec 2008 00:55:34 +0000 (00:55 +0000)] 
Merged revisions 67484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67484 | christian.heimes | 2008-12-03 01:53:18 +0100 (Wed, 03 Dec 2008) | 2 lines

  Issue #4025 again
  Converted a C99 style comment to a C89 style comment (found by MAL).
........

17 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 00:54:52 +0000 (00:54 +0000)] 
Another checkpoint.

17 years agointerators -> iterators (thanks Taggnostr)
Gregory P. Smith [Tue, 2 Dec 2008 23:52:53 +0000 (23:52 +0000)] 
interators -> iterators (thanks Taggnostr)

17 years agoFinished what I'm going to write about the standard library.
Guido van Rossum [Tue, 2 Dec 2008 23:46:46 +0000 (23:46 +0000)] 
Finished what I'm going to write about the standard library.

17 years agoFinished the "porting to 3.0" section. Had to add a label to
Guido van Rossum [Tue, 2 Dec 2008 22:58:36 +0000 (22:58 +0000)] 
Finished the "porting to 3.0" section.  Had to add a label to
howto/cporting.rst.

17 years agoAnother checkpoint. More XXXes added...
Guido van Rossum [Tue, 2 Dec 2008 22:34:15 +0000 (22:34 +0000)] 
Another checkpoint.  More XXXes added...

Also add some labels to 2.6.rst and howto/unicode.rst so I can refer
to them.  (Somehow a label named 'module-contextlib' couldn't be
referenced -- why???)

17 years agoIssue 3689: list_reverseiterator should support __length_hint__ instead of __len__.
Raymond Hettinger [Tue, 2 Dec 2008 21:33:45 +0000 (21:33 +0000)] 
Issue 3689:  list_reverseiterator should support __length_hint__ instead of __len__.

17 years agoBug #4495: Fix signed/unsigned warning (both namelen and tailen should be signed...
Raymond Hettinger [Tue, 2 Dec 2008 20:59:48 +0000 (20:59 +0000)] 
Bug #4495:  Fix signed/unsigned warning (both namelen and tailen should be signed, not just namelen).

17 years agoAnother checkpoint to switch machines.
Guido van Rossum [Tue, 2 Dec 2008 17:31:14 +0000 (17:31 +0000)] 
Another checkpoint to switch machines.

17 years agoAdd missing bracket.
Walter Dörwald [Tue, 2 Dec 2008 11:58:09 +0000 (11:58 +0000)] 
Add missing bracket.

17 years agoFix typo.
Walter Dörwald [Tue, 2 Dec 2008 11:55:30 +0000 (11:55 +0000)] 
Fix typo.

17 years agoIssue #4387: binascii now refuses to accept str as binary input.
Martin v. Löwis [Tue, 2 Dec 2008 06:00:15 +0000 (06:00 +0000)] 
Issue #4387: binascii now refuses to accept str as binary input.

17 years agoFix docutils parsing errors in Misc/NEWS.
Alexandre Vassalotti [Tue, 2 Dec 2008 03:34:24 +0000 (03:34 +0000)] 
Fix docutils parsing errors in Misc/NEWS.

17 years agofix markup
Benjamin Peterson [Tue, 2 Dec 2008 01:12:04 +0000 (01:12 +0000)] 
fix markup

17 years agoCheckpoint. Added some stuff. Mostly XXX notes for myself. :-)
Guido van Rossum [Tue, 2 Dec 2008 00:56:25 +0000 (00:56 +0000)] 
Checkpoint.  Added some stuff.  Mostly XXX notes for myself. :-)

17 years agoMerged revisions 67467 via svnmerge from
Georg Brandl [Mon, 1 Dec 2008 23:02:51 +0000 (23:02 +0000)] 
Merged revisions 67467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67467 | benjamin.peterson | 2008-12-01 13:52:51 +0100 (Mon, 01 Dec 2008) | 1 line

  let people using SVN Sphinx still build the docs
........

17 years agoAdd script forgotten in r67464.
Martin v. Löwis [Mon, 1 Dec 2008 04:44:45 +0000 (04:44 +0000)] 
Add script forgotten in r67464.

17 years agoIssue #4073: Add 2to3 support to build_scripts, refactor that support
Martin v. Löwis [Mon, 1 Dec 2008 04:38:52 +0000 (04:38 +0000)] 
Issue #4073: Add 2to3 support to build_scripts, refactor that support
in build_py.

17 years agoUpdate copyright for recent changes.
Raymond Hettinger [Sun, 30 Nov 2008 23:43:36 +0000 (23:43 +0000)] 
Update copyright for recent changes.

17 years agoMerged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424...
Benjamin Peterson [Sun, 30 Nov 2008 22:46:23 +0000 (22:46 +0000)] 
Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67348 | benjamin.peterson | 2008-11-22 20:09:41 -0600 (Sat, 22 Nov 2008) | 1 line

  raise a better error
........
  r67355 | georg.brandl | 2008-11-23 13:17:25 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4392: fix parameter name.
........
  r67359 | georg.brandl | 2008-11-23 15:57:30 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4399: fix typo.
........
  r67362 | gregory.p.smith | 2008-11-23 18:41:43 -0600 (Sun, 23 Nov 2008) | 2 lines

  Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
........
  r67364 | benjamin.peterson | 2008-11-23 19:16:29 -0600 (Sun, 23 Nov 2008) | 2 lines

  replace reference to debugger-hooks
........
  r67365 | benjamin.peterson | 2008-11-23 22:09:03 -0600 (Sun, 23 Nov 2008) | 1 line

  #4396 make the parser module correctly validate the with syntax
........
  r67367 | georg.brandl | 2008-11-24 10:16:07 -0600 (Mon, 24 Nov 2008) | 2 lines

  Fix typo.
........
  r67368 | georg.brandl | 2008-11-24 13:56:47 -0600 (Mon, 24 Nov 2008) | 2 lines

  #4404: make clear what "path" is.
........
  r67398 | benjamin.peterson | 2008-11-26 11:39:17 -0600 (Wed, 26 Nov 2008) | 1 line

  fix typo in sqlite3 docs
........
  r67423 | jesse.noller | 2008-11-28 12:59:35 -0600 (Fri, 28 Nov 2008) | 2 lines

  issue4238: bsd support for cpu_count
........
  r67424 | christian.heimes | 2008-11-28 13:33:33 -0600 (Fri, 28 Nov 2008) | 1 line

  Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
  r67432 | benjamin.peterson | 2008-11-28 17:18:46 -0600 (Fri, 28 Nov 2008) | 1 line

  SVN format 9 is the same it seems
........
  r67440 | jeremy.hylton | 2008-11-28 17:42:59 -0600 (Fri, 28 Nov 2008) | 4 lines

  Move definition int sval into branch of ifdef where it is used.

  Otherwise, you get a warning about an undefined variable.
........
  r67441 | jeremy.hylton | 2008-11-28 18:09:16 -0600 (Fri, 28 Nov 2008) | 2 lines

  Reflow long lines.
........
  r67444 | amaury.forgeotdarc | 2008-11-28 20:03:32 -0600 (Fri, 28 Nov 2008) | 2 lines

  Fix a small typo in docstring
........
  r67445 | benjamin.peterson | 2008-11-29 21:07:33 -0600 (Sat, 29 Nov 2008) | 1 line

  StringIO.close() stops you from using the buffer, too
........
  r67454 | benjamin.peterson | 2008-11-30 08:43:23 -0600 (Sun, 30 Nov 2008) | 1 line

  note the version that works
........
  r67455 | martin.v.loewis | 2008-11-30 13:28:27 -0600 (Sun, 30 Nov 2008) | 1 line

  Issue #4365: Add crtassem.h constants to the msvcrt module.
........
  r67457 | christian.heimes | 2008-11-30 15:16:28 -0600 (Sun, 30 Nov 2008) | 1 line

  w# requires Py_ssize_t
........
  r67458 | benjamin.peterson | 2008-11-30 15:46:16 -0600 (Sun, 30 Nov 2008) | 1 line

  fix pyspecific extensions that were broken by Sphinx's grand renaming
........

17 years agoMerged revisions 67442 via svnmerge from
Benjamin Peterson [Sun, 30 Nov 2008 22:15:29 +0000 (22:15 +0000)] 
Merged revisions 67442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67442 | jeremy.hylton | 2008-11-28 19:09:35 -0600 (Fri, 28 Nov 2008) | 18 lines

  Send HTTP headers and message body in a single send() call.

  This change addresses part of issue 4336.

  Change endheaders() to take an optional message_body argument
  that is sent along with the headers.  Change xmlrpclib and
  httplib's other methods to use this new interface.

  It is more efficient to make a single send() call, which should
  get the entire client request into one packet (assuming it is
  smaller than the MTU) and will avoid the long pause for delayed
  ack following timeout.

  Also:
  - Add a comment about the buffer size for makefile().
  - Extract _set_content_length() method and fix whitespace issues there.
........

17 years agoMerged revisions 67449 via svnmerge from
Martin v. Löwis [Sun, 30 Nov 2008 11:12:00 +0000 (11:12 +0000)] 
Merged revisions 67449 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67449 | martin.v.loewis | 2008-11-30 12:08:26 +0100 (So, 30 Nov 2008) | 3 lines

  Issue #4389: Add icon to the uninstall entry in
  "add-and-remove-programs".
........

17 years agoIssue #4407: Fix source file that caused the compileall step in Windows
Martin v. Löwis [Sun, 30 Nov 2008 10:36:49 +0000 (10:36 +0000)] 
Issue #4407: Fix source file that caused the compileall step in Windows
installer to fail.

17 years agoBlocked revisions 67370 via svnmerge
Benjamin Peterson [Sun, 30 Nov 2008 03:23:13 +0000 (03:23 +0000)] 
Blocked revisions 67370 via svnmerge

........
  r67370 | jeremy.hylton | 2008-11-24 16:00:29 -0600 (Mon, 24 Nov 2008) | 8 lines

  Add unittests that verify documented behavior of public methods in Transport
  class.

  These methods can be overridden.  The tests verify that the overridden
  methods are called, and that changes to the connection have a visible
  effect on the request.
........

17 years agoFix more threading API related bugs: Thread.get_name() --> Thread.name.
Amaury Forgeot d'Arc [Sat, 29 Nov 2008 01:48:47 +0000 (01:48 +0000)] 
Fix more threading API related bugs: Thread.get_name() --> Thread.name.

Seen when setting RPCHandler.debugging=True

17 years ago#4455: IDLE failed to display the windows list when two windows have the same title.
Amaury Forgeot d'Arc [Fri, 28 Nov 2008 23:28:42 +0000 (23:28 +0000)] 
#4455: IDLE failed to display the windows list when two windows have the same title.

Windows objects cannot be compared, and it's better to have a consistent order;
so We add the window unique ID to the sort key.

Reviewed by Benjamin Peterson.

17 years agoMerged revisions 67428 via svnmerge from
Benjamin Peterson [Fri, 28 Nov 2008 23:01:28 +0000 (23:01 +0000)] 
Merged revisions 67428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r67428 | benjamin.peterson | 2008-11-28 16:12:14 -0600 (Fri, 28 Nov 2008) | 57 lines

  Merged revisions 67384,67386-67387,67389-67390,67392,67399-67400,67403-67405,67426 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r67384 | benjamin.peterson | 2008-11-25 16:13:31 -0600 (Tue, 25 Nov 2008) | 4 lines

    don't duplicate calls to start_tree()

    RefactoringTool.pre_order values now holds a list of the fixers while pre_order_mapping holds the dict.
  ........
    r67386 | benjamin.peterson | 2008-11-25 16:44:52 -0600 (Tue, 25 Nov 2008) | 1 line

    #4423 fix_imports was still replacing usage of a module if attributes were being used
  ........
    r67387 | benjamin.peterson | 2008-11-25 16:47:54 -0600 (Tue, 25 Nov 2008) | 1 line

    fix broken test
  ........
    r67389 | benjamin.peterson | 2008-11-25 17:13:17 -0600 (Tue, 25 Nov 2008) | 1 line

    remove compatibility code; we only cater to 2.5+
  ........
    r67390 | benjamin.peterson | 2008-11-25 22:03:36 -0600 (Tue, 25 Nov 2008) | 1 line

    fix #3994; the usage of changed imports was fixed in nested cases
  ........
    r67392 | benjamin.peterson | 2008-11-26 11:11:40 -0600 (Wed, 26 Nov 2008) | 1 line

    simpilfy and comment fix_imports
  ........
    r67399 | benjamin.peterson | 2008-11-26 11:47:03 -0600 (Wed, 26 Nov 2008) | 1 line

    remove more compatibility code
  ........
    r67400 | benjamin.peterson | 2008-11-26 12:07:41 -0600 (Wed, 26 Nov 2008) | 1 line

    set svn:ignore
  ........
    r67403 | benjamin.peterson | 2008-11-26 13:11:11 -0600 (Wed, 26 Nov 2008) | 1 line

    wrap import
  ........
    r67404 | benjamin.peterson | 2008-11-26 13:29:49 -0600 (Wed, 26 Nov 2008) | 1 line

    build the fix_imports pattern in compile_pattern, so MAPPING can be changed and reflected in the pattern
  ........
    r67405 | benjamin.peterson | 2008-11-26 14:01:24 -0600 (Wed, 26 Nov 2008) | 1 line

    stop ugly messages about runtime errors being from printed
  ........
    r67426 | benjamin.peterson | 2008-11-28 16:01:40 -0600 (Fri, 28 Nov 2008) | 5 lines

    don't replace a module name if it is in the middle of a attribute lookup

    This fix also stops module names from being replaced if they are not in an attribute lookup.
  ........
................

17 years agoBlocked revisions 67349,67353,67396,67407,67411 via svnmerge
Benjamin Peterson [Fri, 28 Nov 2008 20:57:28 +0000 (20:57 +0000)] 
Blocked revisions 67349,67353,67396,67407,67411 via svnmerge

........
  r67349 | matthias.klose | 2008-11-23 07:37:03 -0600 (Sun, 23 Nov 2008) | 3 lines

   - Modules/Setup.dist: Mention _functools in section "Modules that should
     always be present (non UNIX dependent)"
........
  r67353 | matthias.klose | 2008-11-23 07:54:42 -0600 (Sun, 23 Nov 2008) | 2 lines

  - Fix typo in last checkin
........
  r67396 | matthias.klose | 2008-11-26 11:32:49 -0600 (Wed, 26 Nov 2008) | 2 lines

  - Modules/Setup.dist: Mention _elementtree and _pickle.
........
  r67407 | matthias.klose | 2008-11-27 01:45:25 -0600 (Thu, 27 Nov 2008) | 2 lines

  - Modules/Setup.dist: Update pyexpat
........
  r67411 | matthias.klose | 2008-11-27 04:14:22 -0600 (Thu, 27 Nov 2008) | 2 lines

  - Modules/Setup.dist: Update _elementtree, add _bisect, datetime
........

17 years agoFix mp example, remove fix_logger call
Jesse Noller [Fri, 28 Nov 2008 18:47:24 +0000 (18:47 +0000)] 
Fix mp example, remove fix_logger call

17 years agoMerge r67419 to py3k, mp doc fixes
Jesse Noller [Fri, 28 Nov 2008 18:46:19 +0000 (18:46 +0000)] 
Merge r67419 to py3k, mp doc fixes

17 years agoForgot to update Misc/NEWS
Christian Heimes [Fri, 28 Nov 2008 11:24:16 +0000 (11:24 +0000)] 
Forgot to update Misc/NEWS

17 years ago2to3 run of multiprocessing examples.
Christian Heimes [Fri, 28 Nov 2008 11:23:26 +0000 (11:23 +0000)] 
2to3 run of multiprocessing examples.
mp_benchmarks, mp_newtypes and mp_distribution are still broken but the others are working properly. We should include the examples in our unit test suite ...

17 years agoMerged revisions 67414 via svnmerge from
Christian Heimes [Fri, 28 Nov 2008 11:05:17 +0000 (11:05 +0000)] 
Merged revisions 67414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67414 | christian.heimes | 2008-11-28 12:02:32 +0100 (Fri, 28 Nov 2008) | 1 line

  Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
........

17 years ago- Modules/Setup.dist: Add _bisect
Matthias Klose [Thu, 27 Nov 2008 09:53:28 +0000 (09:53 +0000)] 
- Modules/Setup.dist: Add _bisect

17 years ago- Modules/Setup.dist: add datetime, update _elementtree
Matthias Klose [Thu, 27 Nov 2008 09:51:39 +0000 (09:51 +0000)] 
- Modules/Setup.dist: add datetime, update _elementtree

17 years ago- Modules/Setup.dist: Update pyexpat
Matthias Klose [Thu, 27 Nov 2008 07:43:44 +0000 (07:43 +0000)] 
- Modules/Setup.dist: Update pyexpat

17 years agoRemove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Thomas Heller [Wed, 26 Nov 2008 18:40:58 +0000 (18:40 +0000)] 
Remove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Fixes issue #4433; reviewed by Benjamin Peterson.

17 years ago- Modules/Setup.dist: Fix typo in last checkin
Matthias Klose [Wed, 26 Nov 2008 18:28:07 +0000 (18:28 +0000)] 
- Modules/Setup.dist: Fix typo in last checkin

17 years ago- Modules/Setup.dist: Mention _elementtree and _pickle.
Matthias Klose [Wed, 26 Nov 2008 17:23:18 +0000 (17:23 +0000)] 
- Modules/Setup.dist: Mention _elementtree and _pickle.

17 years ago- Fix build failure of _cursesmodule.c building with -D_FORTIFY_SOURCE=2.
Matthias Klose [Wed, 26 Nov 2008 17:22:04 +0000 (17:22 +0000)] 
- Fix build failure of _cursesmodule.c building with -D_FORTIFY_SOURCE=2.

17 years ago- fix build failure in Modules/fpectlmodule.c (not built by default)
Matthias Klose [Wed, 26 Nov 2008 17:18:22 +0000 (17:18 +0000)] 
- fix build failure in Modules/fpectlmodule.c (not built by default)

17 years agoPrevent UnicodeDecodeErrors in ctypes with non-ascii error messages.
Thomas Heller [Wed, 26 Nov 2008 08:45:36 +0000 (08:45 +0000)] 
Prevent UnicodeDecodeErrors in ctypes with non-ascii error messages.
Fixes issue #4429.

Reviewed by Amaury Forgeot d'Arc.