1. 05 Jan, 2008 10 commits
  2. 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! · 9c765392
      Christian Heimes authored
      (This time, it's the correct branch :)
      9c765392
    • Christian Heimes's avatar
      Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful... · b4bacca1
      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
      b4bacca1
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Fixed test_long · 3907cda5
      Christian Heimes authored
      3907cda5
    • Christian Heimes's avatar
      Merged revisions 59696-59702 via svnmerge from · 8ca8aa06
      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
      ........
      8ca8aa06
    • Christian Heimes's avatar
      Merged revisions 59680-59695 via svnmerge from · 3ae9a651
      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
      ........
      3ae9a651
    • Amaury Forgeot d'Arc's avatar
      NEWS entry for r59682. · 1daf8b21
      Amaury Forgeot d'Arc authored
      1daf8b21
    • Christian Heimes's avatar
      Fixed unichr() -> chr() · eabe38a8
      Christian Heimes authored
      eabe38a8
  3. 03 Jan, 2008 3 commits
    • Amaury Forgeot d'Arc's avatar
      On Windows, when import fails to load a dll module, the message says · a67e97a5
      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.
      a67e97a5
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Merged revisions 59666-59679 via svnmerge from · 97246976
      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
      ........
      97246976
  4. 02 Jan, 2008 5 commits
    • Guido van Rossum's avatar
      Show in the sys.version string (bot not elsewhere) that this is more · e4d63907
      Guido van Rossum authored
      than the 3.0a2 release.
      e4d63907
    • Christian Heimes's avatar
      Merged revisions 59642-59665 via svnmerge from · 7ddfdd89
      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.
      ........
      7ddfdd89
    • Christian Heimes's avatar
      Fixed merge accident · 142cb8d6
      Christian Heimes authored
      142cb8d6
    • Guido van Rossum's avatar
      ae05e3b4
    • Guido van Rossum's avatar
      Fix issue #1707. When raw_input() was removed, it was incorrectly replaced · 0d4ef19d
      Guido van Rossum authored
      with sys.stdin.readline().  I wonder how many other places are affected
      by the same bug?
      0d4ef19d
  5. 01 Jan, 2008 3 commits
    • Guido van Rossum's avatar
    • Christian Heimes's avatar
      Merged revisions 59628-59641 via svnmerge from · ec89478c
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59631 | christian.heimes | 2007-12-31 20:16:56 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fixed path
      ........
        r59632 | christian.heimes | 2007-12-31 20:20:57 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fixed path to _ssl.c in Windows make file
      ........
        r59633 | christian.heimes | 2007-12-31 20:23:22 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fixed path to _ssl.c in Windows make file, take two
      ........
        r59634 | christian.heimes | 2007-12-31 20:25:22 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fixed path to _ssl.c in Windows make file, take three ...
      ........
        r59635 | neal.norwitz | 2008-01-01 00:48:47 +0100 (Tue, 01 Jan 2008) | 1 line
      
        Fix refleak
      ........
        r59637 | guido.van.rossum | 2008-01-01 05:15:29 +0100 (Tue, 01 Jan 2008) | 5 lines
      
        Fix an odd error which would only occur close to new year's eve, due
        to use of datetime.datetime.now() instead of utcnow() for comparison.
        (I think the test can still fail if it's executed pretty much *at*
        new year's eve, but that's not worth fixing.)
      ........
        r59638 | christian.heimes | 2008-01-01 14:40:26 +0100 (Tue, 01 Jan 2008) | 1 line
      
        MSI uses back slashes as path separators
      ........
        r59639 | christian.heimes | 2008-01-01 14:52:57 +0100 (Tue, 01 Jan 2008) | 1 line
      
        Added new wininst files to msi.py and adjusted some paths
      ........
        r59640 | christian.heimes | 2008-01-01 14:58:16 +0100 (Tue, 01 Jan 2008) | 1 line
      
        The root of the project is two levels up from PC/VS7.1
      ........
        r59641 | christian.heimes | 2008-01-01 15:37:32 +0100 (Tue, 01 Jan 2008) | 1 line
      
        Added support for new Windows build dirs in PC/ to distutils.sysconfig
      ........
      ec89478c
    • Guido van Rossum's avatar
      Merge changes from 59576 from trunk to p3yk branch; these were skipped · e351e094
      Guido van Rossum authored
      in the regular merge.  Fixes issue #1693.
      e351e094
  6. 31 Dec, 2007 6 commits
    • Christian Heimes's avatar
      Removed doubledigit from Makefile · 026ab7bc
      Christian Heimes authored
      026ab7bc
    • Christian Heimes's avatar
      Fixed svn merge issues · c41dbb1a
      Christian Heimes authored
      c41dbb1a
    • Christian Heimes's avatar
      Merged revisions 59625-59627 via svnmerge from · 5fe8622e
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59627 | christian.heimes | 2007-12-31 17:17:13 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fixed include paths of PC/VS7.1
      ........
      5fe8622e
    • Christian Heimes's avatar
      Fixed svn:ignore · 875b8084
      Christian Heimes authored
      875b8084
    • Christian Heimes's avatar
      Merged revisions 59605-59624 via svnmerge from · bde1b969
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59606 | georg.brandl | 2007-12-29 11:57:00 +0100 (Sat, 29 Dec 2007) | 2 lines
      
        Some cleanup in the docs.
      ........
        r59611 | martin.v.loewis | 2007-12-29 19:49:21 +0100 (Sat, 29 Dec 2007) | 2 lines
      
        Bug #1699: Define _BSD_SOURCE only on OpenBSD.
      ........
        r59612 | raymond.hettinger | 2007-12-29 23:09:34 +0100 (Sat, 29 Dec 2007) | 1 line
      
        Simpler documentation for itertools.tee().  Should be backported.
      ........
        r59613 | raymond.hettinger | 2007-12-29 23:16:24 +0100 (Sat, 29 Dec 2007) | 1 line
      
        Improve docs for itertools.groupby().  The use of xrange(0) to create a unique object is less obvious than object().
      ........
        r59620 | christian.heimes | 2007-12-31 15:47:07 +0100 (Mon, 31 Dec 2007) | 3 lines
      
        Added wininst-9.0.exe executable for VS 2008
        Integrated bdist_wininst into PCBuild9 directory
      ........
        r59621 | christian.heimes | 2007-12-31 15:51:18 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Moved PCbuild directory to PC/VS7.1
      ........
        r59622 | christian.heimes | 2007-12-31 15:59:26 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fix paths for build bot
      ........
        r59623 | christian.heimes | 2007-12-31 16:02:41 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Fix paths for build bot, part 2
      ........
        r59624 | christian.heimes | 2007-12-31 16:18:55 +0100 (Mon, 31 Dec 2007) | 1 line
      
        Renamed PCBuild9 directory to PCBuild
      ........
      bde1b969
    • Christian Heimes's avatar
      Don't close sys.stdin with quit() if sys.stdin wraps fd 0. Otherwise it will... · cb0d8ce1
      Christian Heimes authored
      Don't close sys.stdin with quit() if sys.stdin wraps fd 0. Otherwise it will raise a warning: Lib/io.py:1221: RuntimeWarning: Trying to close unclosable fd
      cb0d8ce1
  7. 29 Dec, 2007 2 commits
  8. 28 Dec, 2007 3 commits
    • Christian Heimes's avatar
      Merged revisions 59595-59604 via svnmerge from · 9015f42c
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59596 | brett.cannon | 2007-12-24 20:58:25 +0100 (Mon, 24 Dec 2007) | 4 lines
      
        Fix the docstrings of time.localtime() and gmtime() for the tm_mday field.
      
        Will backport.
      ........
        r59598 | brett.cannon | 2007-12-25 00:43:30 +0100 (Tue, 25 Dec 2007) | 3 lines
      
        Make trailing whitespace explicit (including when it is an all-whitespace
        line).
      ........
        r59599 | brett.cannon | 2007-12-25 01:14:34 +0100 (Tue, 25 Dec 2007) | 7 lines
      
        Actually execute the tests for the getter/setter/deleter tests on properties.
        Also fix the test by having the test classes inherit from object.
      
        Are the getter/setter/deleter attributes supposed to be able to chain?  As of
        right now they can't as the property tries to call what the property returns,
        which is another property when they are chained.
      ........
        r59600 | brett.cannon | 2007-12-25 07:44:59 +0100 (Tue, 25 Dec 2007) | 2 lines
      
        Remove a straggling debugging print line.
      ........
        r59604 | kurt.kaiser | 2007-12-28 05:18:01 +0100 (Fri, 28 Dec 2007) | 2 lines
      
        Configure Dialog: improved layout for keybinding.  Patch 1457 Tal Einat.
      ........
      9015f42c
    • Kurt B. Kaiser's avatar
      25632efd
    • Alexandre Vassalotti's avatar
      Fix the reset() method of IncrementalNewlineDecoder to · c2dcfd69
      Alexandre Vassalotti authored
      also reset self.seennl.
      c2dcfd69