1. 07 Jan, 2008 3 commits
  2. 06 Jan, 2008 11 commits
    • Georg Brandl's avatar
      Missed one because of indirection. · 5dfe0def
      Georg Brandl authored
      5dfe0def
    • Georg Brandl's avatar
      The final occurrences of exception slicing. · 50da60cc
      Georg Brandl authored
      50da60cc
    • Georg Brandl's avatar
      Fix more exception slicing. · d11b68ab
      Georg Brandl authored
      d11b68ab
    • Georg Brandl's avatar
      Fix exception slicing. · 7357c23e
      Georg Brandl authored
      7357c23e
    • Georg Brandl's avatar
      Use consistent note numbers. · 74f36691
      Georg Brandl authored
      74f36691
    • Georg Brandl's avatar
      a6fa2728
    • Christian Heimes's avatar
      Merged revisions 59774-59783 via svnmerge from · 7f044315
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59774 | georg.brandl | 2008-01-06 16:41:50 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1501: document that 0**0 == 1.
      ........
        r59775 | georg.brandl | 2008-01-06 16:48:20 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #759525: document that dir() doesn't return metaclass attrs when given a class as arg.
      ........
        r59776 | georg.brandl | 2008-01-06 16:55:26 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1615275: clarify return object types of different tempfile factories.
      ........
        r59777 | georg.brandl | 2008-01-06 17:01:26 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1727024: document that Popen.returncode is set by Popen.poll/wait.
      ........
        r59778 | georg.brandl | 2008-01-06 17:04:56 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1686390: add example for csv.Sniffer use.
      ........
        r59779 | georg.brandl | 2008-01-06 17:12:39 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1559684: document that shutil.copy* doesn't copy all metadata on Posix and Windows too.
      ........
        r59780 | georg.brandl | 2008-01-06 17:17:56 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1582: document __reversed__, patch by Mark Russell.
      ........
        r59781 | georg.brandl | 2008-01-06 17:22:56 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1499: Document compile() exceptions.
      ........
        r59782 | georg.brandl | 2008-01-06 17:49:50 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1325: Add docs and tests for zipimporter.archive and zipimporter.prefix.
      ........
      7f044315
    • Christian Heimes's avatar
      Merged revisions 59703-59773 via svnmerge from · faf2f63f
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59704 | christian.heimes | 2008-01-04 04:15:05 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Moved include "Python.h" in front of other imports to silence a warning.
      ........
        r59706 | raymond.hettinger | 2008-01-04 04:22:53 +0100 (Fri, 04 Jan 2008) | 10 lines
      
        Minor fix-ups to named tuples:
      
        * Make the _replace() method respect subclassing.
      
        * Using property() to make _fields read-only wasn't a good idea.
          It caused len(Point._fields) to fail.
      
        * Add note to _cast() about length checking and alternative with the star-operator.
      ........
        r59707 | jeffrey.yasskin | 2008-01-04 09:01:23 +0100 (Fri, 04 Jan 2008) | 3 lines
      
        Make math.{floor,ceil}({int,long}) return float again for backwards
        compatibility after r59671 made them return integral types.
      ........
        r59709 | christian.heimes | 2008-01-04 14:21:07 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint.
      ........
        r59712 | lars.gustaebel | 2008-01-04 15:00:33 +0100 (Fri, 04 Jan 2008) | 5 lines
      
        Issue #1735: TarFile.extractall() now correctly sets
        directory permissions and times.
      
        (will backport to 2.5)
      ........
        r59714 | andrew.kuchling | 2008-01-04 15:47:17 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Update links to bug/patch tracker
      ........
        r59716 | christian.heimes | 2008-01-04 16:23:30 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
      ........
        r59717 | christian.heimes | 2008-01-04 16:29:00 +0100 (Fri, 04 Jan 2008) | 1 line
      
        And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro!
      ........
        r59719 | christian.heimes | 2008-01-04 16:34:06 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Reverted last transaction. It's the wrong branch.
      ........
        r59721 | christian.heimes | 2008-01-04 16:48:06 +0100 (Fri, 04 Jan 2008) | 1 line
      
        socket.ioctl is only available on Windows
      ........
        r59722 | andrew.kuchling | 2008-01-04 19:24:41 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Fix markup
      ........
        r59723 | andrew.kuchling | 2008-01-04 19:25:05 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Fix markup
      ........
        r59725 | guido.van.rossum | 2008-01-05 01:59:59 +0100 (Sat, 05 Jan 2008) | 3 lines
      
        Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000
        and adds errors for -0x.
      ........
        r59726 | guido.van.rossum | 2008-01-05 02:21:57 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py.
      ........
        r59727 | raymond.hettinger | 2008-01-05 02:35:43 +0100 (Sat, 05 Jan 2008) | 1 line
      
        Improve namedtuple's _cast() method with a docstring, new name, and error-checking.
      ........
        r59728 | raymond.hettinger | 2008-01-05 03:17:24 +0100 (Sat, 05 Jan 2008) | 1 line
      
        Add error-checking to namedtuple's _replace() method.
      ........
        r59730 | fred.drake | 2008-01-05 05:38:38 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        clean up a comment
      ........
        r59731 | jeffrey.yasskin | 2008-01-05 09:47:13 +0100 (Sat, 05 Jan 2008) | 11 lines
      
        Continue rolling back pep-3141 changes that changed behavior from 2.5. This
        round included:
         * Revert round to its 2.6 behavior (half away from 0).
         * Because round, floor, and ceil always return float again, it's no
           longer necessary to have them delegate to __xxx___, so I've ripped
           that out of their implementations and the Real ABC. This also helps
           in implementing types that work in both 2.6 and 3.0: you return int
           from the __xxx__ methods, and let it get enabled by the version
           upgrade.
         * Make pow(-1, .5) raise a ValueError again.
      ........
        r59736 | andrew.kuchling | 2008-01-05 16:13:49 +0100 (Sat, 05 Jan 2008) | 1 line
      
        Fix comment typo
      ........
        r59738 | thomas.heller | 2008-01-05 18:15:44 +0100 (Sat, 05 Jan 2008) | 1 line
      
        Add myself.
      ........
        r59739 | georg.brandl | 2008-01-05 18:49:17 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Fix C++-style comment.
      ........
        r59742 | georg.brandl | 2008-01-05 20:28:16 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Remove with_statement future imports from 2.6 docs.
      ........
        r59743 | georg.brandl | 2008-01-05 20:29:45 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Simplify index entries; fix #1712.
      ........
        r59744 | georg.brandl | 2008-01-05 20:44:22 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst.
      ........
        r59749 | georg.brandl | 2008-01-05 21:29:13 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Revert socket.rst to unix-eol.
      ........
        r59750 | georg.brandl | 2008-01-05 21:33:46 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Set native svn:eol-style property for text files.
      ........
        r59752 | georg.brandl | 2008-01-05 21:46:29 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        #1719: capitalization error in "UuidCreate".
      ........
        r59753 | georg.brandl | 2008-01-05 22:02:25 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Repair markup.
      ........
        r59754 | georg.brandl | 2008-01-05 22:10:50 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Use markup.
      ........
        r59757 | christian.heimes | 2008-01-05 22:35:52 +0100 (Sat, 05 Jan 2008) | 1 line
      
        Final adjustments for #1601
      ........
        r59758 | guido.van.rossum | 2008-01-05 23:19:06 +0100 (Sat, 05 Jan 2008) | 3 lines
      
        Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'.
        Fix by John Nagle.
      ........
        r59759 | guido.van.rossum | 2008-01-05 23:20:01 +0100 (Sat, 05 Jan 2008) | 2 lines
      
        Add John Nagle (of issue #1637).
      ........
        r59765 | raymond.hettinger | 2008-01-06 10:02:24 +0100 (Sun, 06 Jan 2008) | 1 line
      
        Small code simplification.  Forgot that classmethods can be called from intances.
      ........
        r59766 | martin.v.loewis | 2008-01-06 11:09:48 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        Use vcbuild for VS 2009.
      ........
        r59767 | martin.v.loewis | 2008-01-06 12:03:43 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        Package using VS 2008.
      ........
        r59768 | martin.v.loewis | 2008-01-06 12:13:16 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        Don't try to package msvcr90 for the moment.
      ........
        r59769 | georg.brandl | 2008-01-06 15:17:36 +0100 (Sun, 06 Jan 2008) | 4 lines
      
        #1696393: don't check for '.' and '..' in ntpath.walk since
        they aren't returned from os.listdir anymore.
        Reported by Michael Haggerty.
      ........
        r59770 | georg.brandl | 2008-01-06 15:27:15 +0100 (Sun, 06 Jan 2008) | 3 lines
      
        #1742: don't raise exception on os.path.relpath("a", "a"), but return os.curdir.
        Reported by Jesse Towner.
      ........
        r59771 | georg.brandl | 2008-01-06 15:33:52 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1591: Clarify docstring of Popen3.
      ........
        r59772 | georg.brandl | 2008-01-06 16:30:34 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1680: fix context manager example function name.
      ........
        r59773 | georg.brandl | 2008-01-06 16:34:57 +0100 (Sun, 06 Jan 2008) | 2 lines
      
        #1755097: document default values for [].sort() and sorted().
      ........
      faf2f63f
    • Guido van Rossum's avatar
      e239b007
    • Alexandre Vassalotti's avatar
    • Guido van Rossum's avatar
      Issue #1393: object_richcompare() returns NotImplemented instead of · ab078ddb
      Guido van Rossum authored
       False if the objects aren't equal, to give the other side a chance.
      ab078ddb
  3. 05 Jan, 2008 10 commits
  4. 04 Jan, 2008 8 commits
    • Christian Heimes's avatar
      And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro! · 4c3eda3a
      Christian Heimes authored
      (This time, it's the correct branch :)
      4c3eda3a
    • Christian Heimes's avatar
      Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful... · c36625b0
      Christian Heimes authored
      Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
      c36625b0
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Fixed test_long · 1aa7b30b
      Christian Heimes authored
      1aa7b30b
    • Christian Heimes's avatar
      Merged revisions 59696-59702 via svnmerge from · 3f419afa
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59696 | amaury.forgeotdarc | 2008-01-04 03:04:15 +0100 (Fri, 04 Jan 2008) | 11 lines
      
        Partial port of r59682 from py3k.
      
        On Windows, when import fails to load a dll module, the message says
        "error code 193" instead of a more informative text.
      
        It turns out that FormatMessage needs additional parameters for some error codes.
        For example: 193 means "%1 is not a valid Win32 application".
        Since it is impossible to know which parameter to pass, we use
        FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
        than the number.
      ........
        r59698 | andrew.kuchling | 2008-01-04 03:26:00 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Typo fix
      ........
        r59699 | andrew.kuchling | 2008-01-04 03:31:40 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Add math items; other edits
      ........
        r59700 | christian.heimes | 2008-01-04 03:46:19 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Fixed refleak tests for _struct changes
      ........
        r59701 | christian.heimes | 2008-01-04 03:54:42 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Added _struct._clearcache() for regression tests
      ........
      3f419afa
    • Christian Heimes's avatar
      Merged revisions 59680-59695 via svnmerge from · a34706f1
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59686 | guido.van.rossum | 2008-01-04 00:54:04 +0100 (Fri, 04 Jan 2008) | 2 lines
      
        Bug #1301: fixed a bad assert in _tkinter.
      ........
        r59687 | raymond.hettinger | 2008-01-04 01:01:15 +0100 (Fri, 04 Jan 2008) | 3 lines
      
        Finish-up the struct module optimizations started at the Iceland NFS sprint.
      ........
        r59688 | christian.heimes | 2008-01-04 01:04:52 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Fixed #1687: plistlib.py restricts <integer> to Python int when writing
      ........
        r59689 | christian.heimes | 2008-01-04 01:37:34 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Bug #1481296: Fixed long(float('nan'))!=0L.
      ........
        r59691 | andrew.kuchling | 2008-01-04 02:15:50 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Markup fixes; grammar tweaks
      ........
        r59692 | andrew.kuchling | 2008-01-04 02:16:12 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Add items
      ........
        r59694 | christian.heimes | 2008-01-04 02:48:50 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Fixed math.copysign() on Windows
      ........
        r59695 | christian.heimes | 2008-01-04 03:03:25 +0100 (Fri, 04 Jan 2008) | 1 line
      
        Filled in some XXX comments
      ........
      a34706f1
    • Amaury Forgeot d'Arc's avatar
      NEWS entry for r59682. · bccd63c3
      Amaury Forgeot d'Arc authored
      bccd63c3
    • Christian Heimes's avatar
      Fixed unichr() -> chr() · 2e1d0f00
      Christian Heimes authored
      2e1d0f00
  5. 03 Jan, 2008 3 commits
    • Amaury Forgeot d'Arc's avatar
      On Windows, when import fails to load a dll module, the message says · d6179e12
      Amaury Forgeot d'Arc authored
      "error code 193" instead of a more informative text.
      
      It turns out that FormatMessage needs additional parameters for some error codes.
      For example: 193 means "%1 is not a valid Win32 application".
      Since it is impossible to know which parameter to pass, we use
      FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
      than the number.
      
      Also use the Unicode version of the API, to deal with accented letters.
      d6179e12
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Merged revisions 59666-59679 via svnmerge from · 072c0f1b
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59666 | christian.heimes | 2008-01-02 19:28:32 +0100 (Wed, 02 Jan 2008) | 1 line
      
        Made vs9to8 Unix compatible
      ........
        r59669 | guido.van.rossum | 2008-01-02 20:00:46 +0100 (Wed, 02 Jan 2008) | 2 lines
      
        Patch #1696.  Don't attempt to close None in dry-run mode.
      ........
        r59671 | jeffrey.yasskin | 2008-01-03 03:21:52 +0100 (Thu, 03 Jan 2008) | 6 lines
      
        Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just
        the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361,
        r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new
        documentation. The only significant difference is that round(x) returns a float
        to preserve backward-compatibility. See http://bugs.python.org/issue1689.
      ........
        r59672 | christian.heimes | 2008-01-03 16:41:30 +0100 (Thu, 03 Jan 2008) | 1 line
      
        Issue #1726: Remove Python/atof.c from PCBuild/pythoncore.vcproj
      ........
        r59675 | guido.van.rossum | 2008-01-03 20:12:44 +0100 (Thu, 03 Jan 2008) | 4 lines
      
        Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
        Regular Expression inline flags not handled correctly for some unicode
        characters.  (Forward port from 2.5.2.)
      ........
        r59676 | christian.heimes | 2008-01-03 21:23:15 +0100 (Thu, 03 Jan 2008) | 1 line
      
        Added math.isinf() and math.isnan()
      ........
        r59677 | christian.heimes | 2008-01-03 22:14:48 +0100 (Thu, 03 Jan 2008) | 1 line
      
        Some build bots don't compile mathmodule. There is an issue with the long definition of pi and euler
      ........
        r59678 | christian.heimes | 2008-01-03 23:16:32 +0100 (Thu, 03 Jan 2008) | 2 lines
      
        Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
        Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
      ........
        r59679 | christian.heimes | 2008-01-03 23:32:26 +0100 (Thu, 03 Jan 2008) | 1 line
      
        Added copysign(x, y) function to the math module
      ........
      072c0f1b
  6. 02 Jan, 2008 5 commits
    • Guido van Rossum's avatar
      Show in the sys.version string (bot not elsewhere) that this is more · 1c9f4373
      Guido van Rossum authored
      than the 3.0a2 release.
      1c9f4373
    • Christian Heimes's avatar
      Merged revisions 59642-59665 via svnmerge from · 57dddfbb
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59653 | martin.v.loewis | 2008-01-01 22:05:17 +0100 (Tue, 01 Jan 2008) | 3 lines
      
        Return results from Python callbacks to Tcl as Tcl objects.
        Fixes Tk issue #1851526
      ........
        r59654 | martin.v.loewis | 2008-01-01 22:08:18 +0100 (Tue, 01 Jan 2008) | 4 lines
      
        Always convert Text.index result to string.
        This improves compatibility with Tcl 8.5, which would
        otherwise return textindex objects.
      ........
        r59655 | martin.v.loewis | 2008-01-01 22:09:07 +0100 (Tue, 01 Jan 2008) | 2 lines
      
        News item for r59653.
      ........
        r59656 | martin.v.loewis | 2008-01-02 00:00:00 +0100 (Wed, 02 Jan 2008) | 1 line
      
        Don't link with Tix; Tix is loaded dynamically by Tcl.
      ........
        r59657 | martin.v.loewis | 2008-01-02 00:00:48 +0100 (Wed, 02 Jan 2008) | 1 line
      
        Use Visual Studio 2009 on the build slaves.
      ........
        r59658 | martin.v.loewis | 2008-01-02 00:36:24 +0100 (Wed, 02 Jan 2008) | 1 line
      
        Test in PCbuild directory.
      ........
        r59661 | kurt.kaiser | 2008-01-02 05:11:28 +0100 (Wed, 02 Jan 2008) | 6 lines
      
        Issue1177
        r58207 and r58247 patch logic is reversed.  I noticed this when I
        tried to use urllib to retrieve a file which required auth.
      
        Fix that and add a test for 401 error to verify.
      ........
        r59662 | kurt.kaiser | 2008-01-02 06:23:38 +0100 (Wed, 02 Jan 2008) | 2 lines
      
        Change docstrings to comments so test output will display normally.
      ........
        r59665 | christian.heimes | 2008-01-02 18:43:40 +0100 (Wed, 02 Jan 2008) | 5 lines
      
        Removed PCbuild8/ directory and added a new build directory for VS 2005
        based on the VS 2008 build directory to PC/VS8.0. The script
        PCbuild/vs8to9.py was added to sync changes from PCbuild to PC/VS8.0.
      
        Kristjan, the initial creator of the PCbuild8 directory is fine with the replacement. I've moved the new version of the VS 2005 build directory next to the other legacy build directories. The new sync script is based on the work of wreck and syncs changes in the project, property and solution files.
      ........
      57dddfbb
    • Christian Heimes's avatar
      Fixed merge accident · ba3febcb
      Christian Heimes authored
      ba3febcb
    • Guido van Rossum's avatar
      7c086c00
    • Guido van Rossum's avatar
      Fix issue #1707. When raw_input() was removed, it was incorrectly replaced · 83210b9e
      Guido van Rossum authored
      with sys.stdin.readline().  I wonder how many other places are affected
      by the same bug?
      83210b9e