1. 07 Apr, 2008 4 commits
    • Martin v. Löwis's avatar
      Bug #2565: The repr() of type objects now calls them 'class', · 8ac64c88
      Martin v. Löwis authored
      not 'type' - whether they are builtin types or not.
      8ac64c88
    • Martin v. Löwis's avatar
      Merged revisions 62199 via svnmerge from · 33e43393
      Martin v. Löwis authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62199 | martin.v.loewis | 2008-04-07 05:08:28 +0200 (Mo, 07 Apr 2008) | 2 lines
      
        Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.
      ........
      33e43393
    • Martin v. Löwis's avatar
      Merged revisions 62177-62178,62180-62193 via svnmerge from · b649482a
      Martin v. Löwis authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62177 | skip.montanaro | 2008-04-05 21:47:47 +0200 (Sa, 05 Apr 2008) | 2 lines
      
        Declare inittimezone static.
      ........
        r62180 | mark.hammond | 2008-04-06 03:42:06 +0200 (So, 06 Apr 2008) | 4 lines
      
        From issue 1753245 - better _winreg support for x64.
        Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey,
        KEY_WOW64_64KEY and KEY_WOW64_32KEY.
      ........
        r62187 | skip.montanaro | 2008-04-06 19:05:57 +0200 (So, 06 Apr 2008) | 1 line
      
        type
      ........
        r62193 | trent.nelson | 2008-04-06 22:51:23 +0200 (So, 06 Apr 2008) | 1 line
      
        Don't run kill_python as part of the build process.  Change the buildbots so they have to call it explicitly instead.
      ........
      b649482a
    • Thomas Wouters's avatar
      Merged revisions 62179 via svnmerge from · 3a0e2237
      Thomas Wouters authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62179 | thomas.wouters | 2008-04-06 01:39:15 +0200 (Sun, 06 Apr 2008) | 10 lines
      
      
        Fix test_distutils to not fail when running 'make test' from a Python build
        directory that is not the source directory (ie, one created using
        '/path/to/source/configure'.) Leaves this test very slightly degraded in
        that particular case, compared to the build-in-sourcedir case, but that case
        isn't a particularly strong test either: neither test the actual path that
        will be used after installing. There isn't a particularly good way to test
        this, and a poor test beats a failing test.
      ........
      3a0e2237
  2. 06 Apr, 2008 4 commits
  3. 05 Apr, 2008 8 commits
    • Martin v. Löwis's avatar
      Change command line processing API to use wchar_t. · 157ee125
      Martin v. Löwis authored
      Fixes #2128.
      157ee125
    • Martin v. Löwis's avatar
      Remove baseName argument from Tkapp_New, as it apparently · 8464b336
      Martin v. Löwis authored
      isn't used anymore.
      8464b336
    • Martin v. Löwis's avatar
      Merged revisions... · abbd27d9
      Martin v. Löwis authored
      Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62174 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62167 | martin.v.loewis | 2008-04-05 17:45:25 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Extend sizes of various fields, to support the CRT90 merge module.
      ........
        r62168 | martin.v.loewis | 2008-04-05 17:48:36 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Add two features to distinguish between private and SxS CRT.
      ........
        r62169 | martin.v.loewis | 2008-04-05 17:50:58 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Add script to merge msvcr90.
      ........
        r62170 | andrew.kuchling | 2008-04-05 17:57:46 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Markup fixes; write PEP 3118 section
      ........
        r62173 | georg.brandl | 2008-04-05 19:45:58 +0200 (Sa, 05 Apr 2008) | 2 lines
      
        Mention that the tuple returned by __reduce__ is pickled as normal.
      ........
        r62174 | andrew.kuchling | 2008-04-05 20:15:30 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Write PEP 3119 section
      ........
      abbd27d9
    • Georg Brandl's avatar
      ceil and floor return ints in 3k. · 99efbf87
      Georg Brandl authored
      99efbf87
    • Benjamin Peterson's avatar
    • Benjamin Peterson's avatar
      Reverted r62128 on Guido's orders · 801efd9a
      Benjamin Peterson authored
      801efd9a
    • Neal Norwitz's avatar
      Change \u which is causing a syntax error. I'm not sure if that should be, but · d18d69e4
      Neal Norwitz authored
      at least this should let the build get farther on amd64 machines.
      d18d69e4
    • Neal Norwitz's avatar
      Merged revisions... · 86203ee0
      Neal Norwitz authored
      Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62127-62128,62130,62132,62134-62137,62139-62142,62144,62146-62148,62150-62152,62155-62161 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62127 | trent.nelson | 2008-04-03 08:39:17 -0700 (Thu, 03 Apr 2008) | 1 line
      
        Remove the building of Berkeley DB step; _bsddb44.vcproj takes care of this for us now.
      ........
        r62136 | amaury.forgeotdarc | 2008-04-03 16:07:55 -0700 (Thu, 03 Apr 2008) | 9 lines
      
        #1733757: the interpreter would hang on shutdown, if the function set by sys.settrace
        calls threading.currentThread.
      
        The correction somewhat improves the code, but it was close.
        Many thanks to the "with" construct, which turns python code into C calls.
      
        I wonder if it is not better to sys.settrace(None) just after
        running the __main__ module and before finalization.
      ........
        r62141 | jeffrey.yasskin | 2008-04-03 21:51:19 -0700 (Thu, 03 Apr 2008) | 5 lines
      
        Doh! os.read() raises an OSError, not an IOError when it's interrupted.
      
        And fix some flakiness in test_itimer_prof, which could detect that the timer
        had reached 0 before the signal arrived announcing that fact.
      ........
        r62142 | fred.drake | 2008-04-03 22:41:30 -0700 (Thu, 03 Apr 2008) | 4 lines
      
        - Issue #2385: distutils.core.run_script() makes __file__ available, so the
          controlled environment will more closely mirror the typical script
          environment.  This supports setup.py scripts that refer to data files.
      ........
        r62147 | fred.drake | 2008-04-04 04:31:14 -0700 (Fri, 04 Apr 2008) | 6 lines
      
        my previous change did what I said it should not: it changed the current
        directory to the directory in which the setup.py script lived (which made
        __file__ wrong)
      
        fixed, with test that the script is run in the current directory of the caller
      ........
        r62148 | fred.drake | 2008-04-04 04:38:51 -0700 (Fri, 04 Apr 2008) | 2 lines
      
        stupid, stupid, stupid!
      ........
        r62150 | jeffrey.yasskin | 2008-04-04 09:48:19 -0700 (Fri, 04 Apr 2008) | 2 lines
      
        Oops again. EINTR is in errno, not signal.
      ........
        r62158 | andrew.kuchling | 2008-04-04 19:42:20 -0700 (Fri, 04 Apr 2008) | 1 line
      
        Minor edits
      ........
        r62159 | andrew.kuchling | 2008-04-04 19:47:07 -0700 (Fri, 04 Apr 2008) | 1 line
      
        Markup fix; explain what interval timers do; typo fix
      ........
        r62160 | andrew.kuchling | 2008-04-04 20:38:39 -0700 (Fri, 04 Apr 2008) | 1 line
      
        Various edits
      ........
        r62161 | neal.norwitz | 2008-04-04 21:26:31 -0700 (Fri, 04 Apr 2008) | 9 lines
      
        Prevent test_sqlite from hanging on older versions of sqlite.
        The problem is that when trying to do the second insert, sqlite seems to sleep
        for a very long time.  Here is the output from strace:
      
          read(6, "SQLite format 3\0\4\0\1\1\0@  \0\0\0\1\0\0\0\0"..., 1024) = 1024
          nanosleep({4294, 966296000},  <unfinished ...>
      
        I don't know which version this was fixed in, but 3.2.1 definitely fails.
      ........
      86203ee0
  4. 04 Apr, 2008 6 commits
  5. 03 Apr, 2008 6 commits
    • Trent Nelson's avatar
      Merged revisions 62129,62131,62133 via svnmerge from · e7be2782
      Trent Nelson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62129 | trent.nelson | 2008-04-03 19:27:06 +0100 (Thu, 03 Apr 2008) | 16 lines
      
        Reimplement kill_python.  The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path.  The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'.  The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks.  In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete.  Tested on both Win32 and x64.
      
        Change set (included to improve usefulness of svnmerge log entry):
        M      PCbuild\pythoncore.vcproj
        M      PCbuild\pcbuild.sln
        M      PCbuild\release.vsprops
        A      PCbuild\kill_python.vcproj
        M      PCbuild\debug.vsprops
        A      PCbuild\kill_python.c
        D      Tools\buildbot\kill_python.bat
        D      Tools\buildbot\kill_python.mak
        M      Tools\buildbot\build.bat
        D      Tools\buildbot\Makefile
        M      Tools\buildbot\build-amd64.bat
        M      Tools\buildbot\buildmsi.bat
        D      Tools\buildbot\kill_python.c
      ........
        r62131 | trent.nelson | 2008-04-03 19:48:53 +0100 (Thu, 03 Apr 2008) | 1 line
      
        Add the correct OutputFile values for debug builds.  Fixes r62129's commit.
      ........
        r62133 | trent.nelson | 2008-04-03 21:00:08 +0100 (Thu, 03 Apr 2008) | 1 line
      
        Make kill_python a little more forgiving if it can't obtain a snapshot of module information for a given python[_d].exe process.  Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments.
      ........
      e7be2782
    • Trent Nelson's avatar
      Unblock revision 62129. · 4045588b
      Trent Nelson authored
      4045588b
    • Benjamin Peterson's avatar
      Blocked revisions 62123,62126 via svnmerge · 59c9e979
      Benjamin Peterson authored
      ........
        r62123 | barry.warsaw | 2008-04-02 23:10:02 -0500 (Wed, 02 Apr 2008) | 2 lines
      
        Updating for 2.6a2
      ........
        r62126 | barry.warsaw | 2008-04-02 23:14:19 -0500 (Wed, 02 Apr 2008) | 1 line
      
        Post tag version tweak
      ........
      59c9e979
    • Trent Nelson's avatar
      [XXX: this is a temporary block, given the addition/deletion of new files I'll... · b982f8b0
      Trent Nelson authored
      [XXX: this is a temporary block, given the addition/deletion of new files I'll unblock and merge it to py3k myself once I've observed trunk buildbots' behaviour.]
      
      Blocked revisions 62129 via svnmerge
      
      ........
        r62129 | trent.nelson | 2008-04-03 19:27:06 +0100 (Thu, 03 Apr 2008) | 16 lines
      
        Reimplement kill_python.  The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path.  The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'.  The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks.  In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete.  Tested on both Win32 and x64.
      
        Change set (included to improve usefulness of svnmerge log entry):
        M      PCbuild\pythoncore.vcproj
        M      PCbuild\pcbuild.sln
        M      PCbuild\release.vsprops
        A      PCbuild\kill_python.vcproj
        M      PCbuild\debug.vsprops
        A      PCbuild\kill_python.c
        D      Tools\buildbot\kill_python.bat
        D      Tools\buildbot\kill_python.mak
        M      Tools\buildbot\build.bat
        D      Tools\buildbot\Makefile
        M      Tools\buildbot\build-amd64.bat
        M      Tools\buildbot\buildmsi.bat
        D      Tools\buildbot\kill_python.c
      ........
      b982f8b0
    • Benjamin Peterson's avatar
      b7f85160
    • Barry Warsaw's avatar
      Post tag version tweak · 53a32956
      Barry Warsaw authored
      53a32956
  6. 02 Apr, 2008 9 commits
    • Barry Warsaw's avatar
      Tagging 3.0a4. · 99744ad6
      Barry Warsaw authored
      99744ad6
    • Barry Warsaw's avatar
      4a38a7ed
    • Barry Warsaw's avatar
      release.py wants to rename the spec file. · 3fe7e247
      Barry Warsaw authored
      3fe7e247
    • Benjamin Peterson's avatar
      44df4008
    • Benjamin Peterson's avatar
      Merged revisions 62090-62091,62096,62100,62102,62110-62114 via svnmerge from · 4a7d4a13
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62090 | brett.cannon | 2008-04-01 07:37:43 -0500 (Tue, 01 Apr 2008) | 3 lines
      
        Generalize test.test_support.test_stdout() with a base context manager so that
        it is easy to capture stderr if desired.
      ........
        r62091 | brett.cannon | 2008-04-01 07:46:02 -0500 (Tue, 01 Apr 2008) | 3 lines
      
        Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot
        of effort to do so.
      ........
        r62096 | amaury.forgeotdarc | 2008-04-01 17:52:48 -0500 (Tue, 01 Apr 2008) | 4 lines
      
        Newly enabled test appears to leak:
        it registers the same codec on each iteration.
        Do it only once at load time.
      ........
        r62100 | amaury.forgeotdarc | 2008-04-01 19:55:04 -0500 (Tue, 01 Apr 2008) | 4 lines
      
        A DocTestSuite cannot run multiple times: it clears its globals dictionary after the first run.
      
        Rebuild the DocTestSuite on each iteration.
      ........
        r62102 | jeffrey.yasskin | 2008-04-01 23:07:44 -0500 (Tue, 01 Apr 2008) | 3 lines
      
        Try to make test_signal less flaky.  I still see some flakiness in
        test_itimer_prof.
      ........
        r62110 | vinay.sajip | 2008-04-02 16:09:27 -0500 (Wed, 02 Apr 2008) | 1 line
      
        Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.
      ........
        r62111 | vinay.sajip | 2008-04-02 16:10:23 -0500 (Wed, 02 Apr 2008) | 1 line
      
        Added updates with respect to recent changes to TimedRotatingFileHandler.
      ........
        r62112 | vinay.sajip | 2008-04-02 16:17:25 -0500 (Wed, 02 Apr 2008) | 1 line
      
        Added updates with respect to recent changes to TimedRotatingFileHandler.
      ........
        r62113 | amaury.forgeotdarc | 2008-04-02 16:18:46 -0500 (Wed, 02 Apr 2008) | 2 lines
      
        Remove debug prints; the buildbot now passes the tests
      ........
        r62114 | benjamin.peterson | 2008-04-02 16:20:35 -0500 (Wed, 02 Apr 2008) | 2 lines
      
        Suggested proposed changes to Python be considered on some mailing lists first
      ........
      4a7d4a13
    • Benjamin Peterson's avatar
      Blocked revisions 62097 via svnmerge · 44029fb5
      Benjamin Peterson authored
      ........
        r62097 | guido.van.rossum | 2008-04-01 18:57:36 -0500 (Tue, 01 Apr 2008) | 3 lines
      
        Remove the advertising clause from the BSD license in timing.h.
        I have the email trail to prove that George Neville-Neil approved this.
      ........
      44029fb5
    • Trent Nelson's avatar
      Merged revisions 62105 via svnmerge from · 4ec9c1bb
      Trent Nelson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62105 | trent.nelson | 2008-04-02 16:01:00 +0100 (Wed, 02 Apr 2008) | 1 line
      
        Update information pertaining to building external components, as well as notes on x64 builds.  This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL.  Watch this space for further improvements.
      ........
      4ec9c1bb
    • Neal Norwitz's avatar
      Blocked revisions 62103 via svnmerge · 4800b06b
      Neal Norwitz authored
      ........
        r62103 | neal.norwitz | 2008-04-01 22:54:27 -0700 (Tue, 01 Apr 2008) | 3 lines
      
        Apply same patch from 3k branch to try and prevent this test from hanging
        on various platforms, most recently the Alpha Tru64.
      ........
      4800b06b
    • Benjamin Peterson's avatar
      Blocked revisions 62095,62099 via svnmerge · bb5977df
      Benjamin Peterson authored
      ........
        r62095 | amaury.forgeotdarc | 2008-04-01 17:37:33 -0500 (Tue, 01 Apr 2008) | 5 lines
      
        Fix and enable a skipped test:
        with python 2.6, enumerating bytes yields 1-char strings, not numbers.
      
        Don't merge this into the py3k branch.
      ........
        r62099 | amaury.forgeotdarc | 2008-04-01 19:25:14 -0500 (Tue, 01 Apr 2008) | 14 lines
      
        Correct the apparent refleak in test_io:
        When cls is an ABCMeta, every call to isinstance(x, cls)
        records type(x) in the cls._abc_cache of cls_abc_negative_cache.
        So we clear these caches at the end of the test.
      
        inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?)
        isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion.
        So I used a hack to determine whether a class is an ABCMeta.
      
        The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does.
        But classic classes are not weak referenceable...
      
        Of course, this change should not be merged into the py3k branch.
      ........
      bb5977df
  7. 01 Apr, 2008 3 commits