]> granicus.if.org Git - python/log
python
16 years agoFix a bunch of UnboundLocalErrors when the tests fail.
Neal Norwitz [Tue, 25 Mar 2008 04:17:38 +0000 (04:17 +0000)]
Fix a bunch of UnboundLocalErrors when the tests fail.

16 years agoIssue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.
Amaury Forgeot d'Arc [Mon, 24 Mar 2008 21:04:10 +0000 (21:04 +0000)]
Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.

All buildbots compile with UCS2...

16 years agoAdded quick hack for bzr
Christian Heimes [Mon, 24 Mar 2008 19:58:17 +0000 (19:58 +0000)]
Added quick hack for bzr

16 years agoAdded quick hack for bzr
Christian Heimes [Mon, 24 Mar 2008 19:57:42 +0000 (19:57 +0000)]
Added quick hack for bzr

16 years agoConditionalize sys/time.h inclusion.
Martin v. Löwis [Mon, 24 Mar 2008 13:54:23 +0000 (13:54 +0000)]
Conditionalize sys/time.h inclusion.

16 years agoPatch #2240: Implement signal.setitimer and signal.getitimer.
Martin v. Löwis [Mon, 24 Mar 2008 13:31:16 +0000 (13:31 +0000)]
Patch #2240: Implement signal.setitimer and signal.getitimer.

16 years agoInstall 2to3 script.
Martin v. Löwis [Mon, 24 Mar 2008 12:57:53 +0000 (12:57 +0000)]
Install 2to3 script.

16 years ago#1700821: add a note to audioop docs about signedness of sample formats.
Georg Brandl [Mon, 24 Mar 2008 09:34:34 +0000 (09:34 +0000)]
#1700821: add a note to audioop docs about signedness of sample formats.

16 years agoIssue 2460: Make Ellipsis objects copyable.
Raymond Hettinger [Mon, 24 Mar 2008 08:17:39 +0000 (08:17 +0000)]
Issue 2460: Make Ellipsis objects copyable.

16 years agoTighten documentation for Random.triangular.
Raymond Hettinger [Mon, 24 Mar 2008 06:07:49 +0000 (06:07 +0000)]
Tighten documentation for Random.triangular.

16 years agoMerged revisions 61724-61824 via svnmerge from
Martin v. Löwis [Mon, 24 Mar 2008 00:46:53 +0000 (00:46 +0000)]
Merged revisions 61724-61824 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r61730 | martin.v.loewis | 2008-03-22 02:20:58 +0100 (Sa, 22 Mär 2008) | 2 lines

  More explicit relative imports.
........
  r61755 | david.wolever | 2008-03-22 21:33:52 +0100 (Sa, 22 Mär 2008) | 1 line

  Fixing #2446 -- 2to3 now translates 'import foo' to 'from . import foo'
........
  r61824 | david.wolever | 2008-03-24 01:30:24 +0100 (Mo, 24 Mär 2008) | 3 lines

  Fixed a bug where 'from itertools import izip' would return 'from itertools import'
........

16 years agoHave the binascii module use zlib's optimized crc32() function when available
Gregory P. Smith [Mon, 24 Mar 2008 00:08:01 +0000 (00:08 +0000)]
Have the binascii module use zlib's optimized crc32() function when available
to reduce our code size (1k data table and tiny bit of code).  It falls back
to its own without zlib.

16 years agoprevent a warning from the struct module when data size >= 2**32.
Gregory P. Smith [Sun, 23 Mar 2008 23:45:12 +0000 (23:45 +0000)]
prevent a warning from the struct module when data size >= 2**32.

16 years agoA bugfix for r61813, it would fail if the data size was >=2**32.
Gregory P. Smith [Sun, 23 Mar 2008 23:43:02 +0000 (23:43 +0000)]
A bugfix for r61813, it would fail if the data size was >=2**32.

16 years agoreplace calls to get the initial values with the raw constants.
Gregory P. Smith [Sun, 23 Mar 2008 22:14:38 +0000 (22:14 +0000)]
replace calls to get the initial values with the raw constants.

16 years agoFix gzip to deal with CRC's being signed values in Python 2.x properly and to
Gregory P. Smith [Sun, 23 Mar 2008 21:04:43 +0000 (21:04 +0000)]
Fix gzip to deal with CRC's being signed values in Python 2.x properly and to
read 32bit values as unsigned to start with rather than applying signedness
fixups allover the place afterwards.

This hopefully fixes the test_tarfile failure on the alpha/tru64 buildbot.

16 years agoRevert r61779 - It undid correct code and caused test_zlib to fail on all
Gregory P. Smith [Sun, 23 Mar 2008 20:31:23 +0000 (20:31 +0000)]
Revert r61779 - It undid correct code and caused test_zlib to fail on all
platforms with a 64-bit long.

The Alpha/Tru64 test problem is a problem in either tarfile or test_tarfile,
not zlib.

crc32 and adler32 return 32-bit values.  by using a long thats larger than
32-bits in these functions they were prevented from wrapping around to their
signed 32-bit value that we want them to return in python 2.x.

16 years agoAdopt Nick's suggestion for useful default arguments.
Raymond Hettinger [Sun, 23 Mar 2008 19:37:53 +0000 (19:37 +0000)]
Adopt Nick's suggestion for useful default arguments.
Clean-up floating point issues by adding true division and float constants.

16 years agoIssue 1681432: Add triangular distribution the random module.
Raymond Hettinger [Sun, 23 Mar 2008 13:32:32 +0000 (13:32 +0000)]
Issue 1681432:  Add triangular distribution the random module.

16 years ago#1477: ur'\U0010FFFF' raised in narrow unicode builds.
Amaury Forgeot d'Arc [Sun, 23 Mar 2008 09:55:29 +0000 (09:55 +0000)]
#1477: ur'\U0010FFFF' raised in narrow unicode builds.
Corrected the raw-unicode-escape codec to use UTF-16 surrogates in
this case, just like the unicode-escape codec.

16 years agoMake the doctests presentation-friendlier.
Georg Brandl [Sun, 23 Mar 2008 08:05:30 +0000 (08:05 +0000)]
Make the doctests presentation-friendlier.

16 years agoRemove compiler warnings (on Alpha at least) about using chars as
Neal Norwitz [Sun, 23 Mar 2008 06:19:57 +0000 (06:19 +0000)]
Remove compiler warnings (on Alpha at least) about using chars as
array subscripts.  Using chars are dangerous b/c they are signed
on some platforms and unsigned on others.

16 years agoTry to prevent the alarm going off early in tearDown
Neal Norwitz [Sun, 23 Mar 2008 06:16:04 +0000 (06:16 +0000)]
Try to prevent the alarm going off early in tearDown

16 years agoMove itertools before future_builtins since the latter depends on the former.
Neal Norwitz [Sun, 23 Mar 2008 06:13:25 +0000 (06:13 +0000)]
Move itertools before future_builtins since the latter depends on the former.
From a clean build importing future_builtins would fail since itertools
wasn't built yet.

16 years agoSuppress failure (to avoid a flaky test) if we cannot connect to svn.python.org
Neal Norwitz [Sun, 23 Mar 2008 05:47:20 +0000 (05:47 +0000)]
Suppress failure (to avoid a flaky test) if we cannot connect to svn.python.org

16 years agoFix test_tarfile failures on Alpha (Tru64). The problem was caused in r61449
Neal Norwitz [Sun, 23 Mar 2008 05:08:37 +0000 (05:08 +0000)]
Fix test_tarfile failures on Alpha (Tru64).  The problem was caused in r61449
which made the return value signed.  On the Alpha that also lost data
since sizeof(int) != sizeof(long) and apparently adler32/crc32 return
64 bits of data.  This change keeps the signedness and continues to store the
data in a long rather than an int as was the case before r61449.

16 years agoSkip the epoll test if epoll() does not work
Neal Norwitz [Sun, 23 Mar 2008 04:43:09 +0000 (04:43 +0000)]
Skip the epoll test if epoll() does not work

16 years agoSpeed up the test by avoiding socket timeouts.
Neal Norwitz [Sun, 23 Mar 2008 04:08:30 +0000 (04:08 +0000)]
Speed up the test by avoiding socket timeouts.

16 years agoTry to make this test a little more robust and not fail with:
Neal Norwitz [Sun, 23 Mar 2008 03:43:33 +0000 (03:43 +0000)]
Try to make this test a little more robust and not fail with:
  timeout (10.0025) is more than 2 seconds more than expected (0.001)

I'm assuming this problem is caused by DNS lookup.  This change
does a DNS lookup of the hostname before trying to connect, so the time
is not included.

16 years agoSimplify demo code.
Raymond Hettinger [Sun, 23 Mar 2008 00:55:46 +0000 (00:55 +0000)]
Simplify demo code.

16 years agoEnable doctest running for several other documents.
Georg Brandl [Sat, 22 Mar 2008 22:04:10 +0000 (22:04 +0000)]
Enable doctest running for several other documents.
We have now over 640 doctests that are run with "make doctest".

16 years agoEnable doctests in functions.rst. Already found two errors :)
Georg Brandl [Sat, 22 Mar 2008 21:38:33 +0000 (21:38 +0000)]
Enable doctests in functions.rst.  Already found two errors :)

16 years agoTest doctests in operator docs.
Georg Brandl [Sat, 22 Mar 2008 21:26:44 +0000 (21:26 +0000)]
Test doctests in operator docs.

16 years agoTest doctests in datetime docs.
Georg Brandl [Sat, 22 Mar 2008 21:21:57 +0000 (21:21 +0000)]
Test doctests in datetime docs.

16 years agoMake collections' doctests executable.
Georg Brandl [Sat, 22 Mar 2008 21:06:20 +0000 (21:06 +0000)]
Make collections' doctests executable.

(The <BLANKLINE>s will be stripped from presentation output.)

16 years agoFix-up syntax problems.
Georg Brandl [Sat, 22 Mar 2008 20:08:43 +0000 (20:08 +0000)]
Fix-up syntax problems.

16 years agoNo need to specify explicit "doctest_block" anymore.
Georg Brandl [Sat, 22 Mar 2008 13:07:06 +0000 (13:07 +0000)]
No need to specify explicit "doctest_block" anymore.

16 years agoMake more doctests in pprint docs testable.
Georg Brandl [Sat, 22 Mar 2008 12:59:37 +0000 (12:59 +0000)]
Make more doctests in pprint docs testable.

16 years agoMake doctests in re docs usable with sphinx' doctest.
Georg Brandl [Sat, 22 Mar 2008 12:04:26 +0000 (12:04 +0000)]
Make doctests in re docs usable with sphinx' doctest.

16 years agoTest decimal.rst doctests as far as possible with sphinx doctest.
Georg Brandl [Sat, 22 Mar 2008 11:47:10 +0000 (11:47 +0000)]
Test decimal.rst doctests as far as possible with sphinx doctest.

16 years agoFixup this HOWTO's doctest blocks so that they can be run with sphinx' doctest builder.
Georg Brandl [Sat, 22 Mar 2008 11:00:48 +0000 (11:00 +0000)]
Fixup this HOWTO's doctest blocks so that they can be run with sphinx' doctest builder.

16 years agoAllow giving source names on the cmdline.
Georg Brandl [Sat, 22 Mar 2008 10:58:38 +0000 (10:58 +0000)]
Allow giving source names on the cmdline.

16 years agoActivate the Sphinx doctest extension and convert howto/functional to use it.
Georg Brandl [Sat, 22 Mar 2008 10:56:23 +0000 (10:56 +0000)]
Activate the Sphinx doctest extension and convert howto/functional to use it.

16 years ago#1918: document that weak references *to* an object are
Georg Brandl [Sat, 22 Mar 2008 10:07:29 +0000 (10:07 +0000)]
#1918: document that weak references *to* an object are
cleared before the object's __del__ is called, to ensure that the weak
reference callback (if any) finds the object healthy.

16 years agoAdded warning for the removal of 'hotshot' in Py3k.
Alexandre Vassalotti [Sat, 22 Mar 2008 04:08:44 +0000 (04:08 +0000)]
Added warning for the removal of 'hotshot' in Py3k.

16 years agoSmall fix that complicated the test actually when that
Facundo Batista [Sat, 22 Mar 2008 02:45:37 +0000 (02:45 +0000)]
Small fix that complicated the test actually when that
test failed.

16 years agoInstall lib2to3.
Martin v. Löwis [Sat, 22 Mar 2008 00:02:41 +0000 (00:02 +0000)]
Install lib2to3.

16 years agoMerged revisions 61602-61723 via svnmerge from
Martin v. Löwis [Sat, 22 Mar 2008 00:01:12 +0000 (00:01 +0000)]
Merged revisions 61602-61723 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r61626 | david.wolever | 2008-03-19 17:19:16 +0100 (Mi, 19 Mär 2008) | 1 line

  Added fixer for implicit local imports.  See #2414.
........
  r61628 | david.wolever | 2008-03-19 17:57:43 +0100 (Mi, 19 Mär 2008) | 1 line

  Added a class for tests which should not run if a particular import is found.
........
  r61629 | collin.winter | 2008-03-19 17:58:19 +0100 (Mi, 19 Mär 2008) | 1 line

  Two more relative import fixes in pgen2.
........
  r61635 | david.wolever | 2008-03-19 20:16:03 +0100 (Mi, 19 Mär 2008) | 1 line

  Fixed print fixer so it will do the Right Thing when it encounters __future__.print_function.  2to3 gets upset, though, so the tests have been commented out.
........
  r61637 | david.wolever | 2008-03-19 21:37:17 +0100 (Mi, 19 Mär 2008) | 3 lines

  Added a fixer for itertools imports (from itertools import imap, ifilterfalse --> from itertools import filterfalse)
........
  r61645 | david.wolever | 2008-03-19 23:22:35 +0100 (Mi, 19 Mär 2008) | 1 line

  SVN is happier when you add the files you create... -_-'
........
  r61654 | david.wolever | 2008-03-20 01:09:56 +0100 (Do, 20 Mär 2008) | 1 line

  Added an explicit sort order to fixers -- fixes problems like #2427
........
  r61664 | david.wolever | 2008-03-20 04:32:40 +0100 (Do, 20 Mär 2008) | 3 lines

  Fixes #2428 -- comments are no longer eatten by __future__ fixer.
........
  r61673 | david.wolever | 2008-03-20 17:22:40 +0100 (Do, 20 Mär 2008) | 1 line

  Added 2to3 node pretty-printer
........
  r61679 | david.wolever | 2008-03-20 20:50:42 +0100 (Do, 20 Mär 2008) | 1 line

  Made node printing a little bit prettier
........
  r61723 | martin.v.loewis | 2008-03-22 00:59:27 +0100 (Sa, 22 Mär 2008) | 2 lines

  Fix whitespace.
........

16 years agoApplied patch #1657 epoll and kqueue wrappers for the select module
Christian Heimes [Fri, 21 Mar 2008 23:49:44 +0000 (23:49 +0000)]
Applied patch #1657 epoll and kqueue wrappers for the select module
The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help.
TODO: Finish documentation documentation

16 years agoAdd missing versionadded tag.
Georg Brandl [Fri, 21 Mar 2008 21:05:03 +0000 (21:05 +0000)]
Add missing versionadded tag.

16 years agoReplace hack in regrtest.py with use of sys.py3kwarning.
Steven Bethard [Fri, 21 Mar 2008 21:01:18 +0000 (21:01 +0000)]
Replace hack in regrtest.py with use of sys.py3kwarning.

16 years agoUpdate doc ACKS.
Georg Brandl [Fri, 21 Mar 2008 20:55:51 +0000 (20:55 +0000)]
Update doc ACKS.

16 years ago#2160: document PyImport_GetImporter.
Georg Brandl [Fri, 21 Mar 2008 20:55:20 +0000 (20:55 +0000)]
#2160: document PyImport_GetImporter.

16 years ago#2348: add py3k warning for file.softspace.
Georg Brandl [Fri, 21 Mar 2008 20:38:24 +0000 (20:38 +0000)]
#2348: add py3k warning for file.softspace.

16 years ago#2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack Diederich.
Georg Brandl [Fri, 21 Mar 2008 20:21:46 +0000 (20:21 +0000)]
#2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack Diederich.

16 years ago#2358: add py3k warning to sys.exc_clear().
Georg Brandl [Fri, 21 Mar 2008 20:11:46 +0000 (20:11 +0000)]
#2358: add py3k warning to sys.exc_clear().

16 years agoIssue #2432: give DictReader the dialect and line_num attributes
Georg Brandl [Fri, 21 Mar 2008 20:01:51 +0000 (20:01 +0000)]
Issue #2432: give DictReader the dialect and line_num attributes
advertised in the docs.

16 years ago#2136: allow single quotes in realm spec.
Georg Brandl [Fri, 21 Mar 2008 19:54:00 +0000 (19:54 +0000)]
#2136: allow single quotes in realm spec.

16 years agoAdd docs for print_function and future_builtins. Fixes #2442.
Georg Brandl [Fri, 21 Mar 2008 19:37:57 +0000 (19:37 +0000)]
Add docs for print_function and future_builtins. Fixes #2442.

16 years agoAdd docs for __func__ and __self__ on methods.
Georg Brandl [Fri, 21 Mar 2008 19:20:21 +0000 (19:20 +0000)]
Add docs for __func__ and __self__ on methods.

16 years agoFix a code block in __future__ docs.
Georg Brandl [Fri, 21 Mar 2008 19:14:38 +0000 (19:14 +0000)]
Fix a code block in __future__ docs.

16 years agoSpeed test_threading up from 14s to .5s, and avoid a deadlock on certain
Jeffrey Yasskin [Fri, 21 Mar 2008 18:48:04 +0000 (18:48 +0000)]
Speed test_threading up from 14s to .5s, and avoid a deadlock on certain
failures. The test for enumerate-after-join is now a little less rigorous, but
the bug it references says the error happened in the first couple iterations,
so 100 iterations should still be enough.

cProfile was useful for identifying the slow tests here.

16 years agoTry to fix test_signal on FreeBSD. I'm assuming that os.kill is failing to
Jeffrey Yasskin [Fri, 21 Mar 2008 18:25:06 +0000 (18:25 +0000)]
Try to fix test_signal on FreeBSD. I'm assuming that os.kill is failing to
raise a signal, but switching to subprocess makes the code cleaner anyway.

16 years agoFix markup.
Georg Brandl [Fri, 21 Mar 2008 17:19:29 +0000 (17:19 +0000)]
Fix markup.

16 years agoMark the descitems in the tutorial as "noindex" so that :meth: cross-refs don't link...
Georg Brandl [Fri, 21 Mar 2008 14:32:33 +0000 (14:32 +0000)]
Mark the descitems in the tutorial as "noindex" so that :meth: cross-refs don't link to them.

16 years agoTry to fix test_signal breakages on Linux due to r61687. It appears that at
Jeffrey Yasskin [Fri, 21 Mar 2008 05:51:37 +0000 (05:51 +0000)]
Try to fix test_signal breakages on Linux due to r61687. It appears that at
least two of the linux build bots aren't leaving zombie processes around for
os.waitpid to wait for, causing ECHILD errors. This would be a symptom of a bug
somewhere, but probably not in signal itself.

16 years agoSpeed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls.
Jeffrey Yasskin [Fri, 21 Mar 2008 05:02:44 +0000 (05:02 +0000)]
Speed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls.

16 years agoComment how 'from __future__ import print_function' operates in 3.0.
Eric Smith [Thu, 20 Mar 2008 23:56:08 +0000 (23:56 +0000)]
Comment how 'from __future__ import print_function' operates in 3.0.

16 years agoFixed PEP name.
Eric Smith [Thu, 20 Mar 2008 23:04:04 +0000 (23:04 +0000)]
Fixed PEP name.

16 years agoAdd lots of items
Andrew M. Kuchling [Thu, 20 Mar 2008 22:49:26 +0000 (22:49 +0000)]
Add lots of items

16 years agoClarfiy the availability of the extended support for win32_ver() in Py2.6.
Marc-André Lemburg [Thu, 20 Mar 2008 18:58:14 +0000 (18:58 +0000)]
Clarfiy the availability of the extended support for win32_ver() in Py2.6.

16 years agoAdd news items for platform module changes.
Marc-André Lemburg [Thu, 20 Mar 2008 18:08:00 +0000 (18:08 +0000)]
Add news items for platform module changes.

16 years agoAdd documentation for updated Windows support in win32_ver().
Marc-André Lemburg [Thu, 20 Mar 2008 17:55:31 +0000 (17:55 +0000)]
Add documentation for updated Windows support in win32_ver().

Add documentation for linux_distribution() API.

16 years agoIf Mark Hammonds win32 tools are not available, try to use the _winreg module
Marc-André Lemburg [Thu, 20 Mar 2008 17:31:36 +0000 (17:31 +0000)]
If Mark Hammonds win32 tools are not available, try to use the _winreg module
and sys.getwindowsversion() to get at the Windows version info.

For the machine and processor uname() values, use the environment variables
for these on Windows XP and later.

16 years agoGave Jerry Seutter svn access for general Python development.
Brett Cannon [Thu, 20 Mar 2008 16:13:48 +0000 (16:13 +0000)]
Gave Jerry Seutter svn access for general Python development.

16 years ago#2383: remove obsolete XXX comment in stat.py.
Georg Brandl [Thu, 20 Mar 2008 07:25:55 +0000 (07:25 +0000)]
#2383: remove obsolete XXX comment in stat.py.

16 years agoAttempt to fix the Solaris Sparc 10 buildbot. It was failing with an invalid
Gregory P. Smith [Thu, 20 Mar 2008 05:41:53 +0000 (05:41 +0000)]
Attempt to fix the Solaris Sparc 10 buildbot.  It was failing with an invalid
argument error on ioctl.  This was caused by the added test_fcntl ioctl test
that hard coded 0 as the fd to use.  Without a terminal, this fails on solaris.
(it passed from the command line on sol 10, both 32 and 64 bit)

Also, test_ioctl exists so I moved the test into there where it belongs.

16 years agoIssue 2188: Documentation hint about disabling proxy detection.
Sean Reifscheider [Thu, 20 Mar 2008 03:20:48 +0000 (03:20 +0000)]
Issue 2188: Documentation hint about disabling proxy detection.

16 years agoRevert r61650; the intent of this commit was to try and address alarm failures on...
Trent Nelson [Thu, 20 Mar 2008 00:58:44 +0000 (00:58 +0000)]
Revert r61650; the intent of this commit was to try and address alarm failures on some of the build slaves.  As Neal points out, it's called after test_main(), so it's not going to factor into the test when run via regrtest.py (and removes the original functionality that Jeffrey wanted that would kill the test if it took longer than 3 seconds to run when executing it directly during development).

16 years agoForgot to add NEWS item about smtplib SSL readline hang fix.
Sean Reifscheider [Thu, 20 Mar 2008 00:50:07 +0000 (00:50 +0000)]
Forgot to add NEWS item about smtplib SSL readline hang fix.

16 years agoIssue #2143: Fix embedded readline() hang on SSL socket EOF.
Sean Reifscheider [Thu, 20 Mar 2008 00:46:50 +0000 (00:46 +0000)]
Issue #2143: Fix embedded readline() hang on SSL socket EOF.

16 years agoPrevent ioctl op codes from being sign extended from int to unsigned long
Gregory P. Smith [Wed, 19 Mar 2008 23:03:25 +0000 (23:03 +0000)]
Prevent ioctl op codes from being sign extended from int to unsigned long
when used on platforms that actually define ioctl as taking an unsigned long.
(the BSDs and OS X / Darwin)

Adds a unittest for fcntl.ioctl that tests what happens with both positive and
negative numbers.

This was done because of issue1471 but I'm not able to reproduce -that- problem
in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit.

16 years agoMake sure that the warnings filter is not reset or changed beyond the current
Brett Cannon [Wed, 19 Mar 2008 23:01:17 +0000 (23:01 +0000)]
Make sure that the warnings filter is not reset or changed beyond the current
running test file.

Closes issue2407. Thanks Jerry Seutter.

16 years agoBump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if...
Trent Nelson [Wed, 19 Mar 2008 22:51:42 +0000 (22:51 +0000)]
Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if it fixes the alarm failures in this test experienced by some of the buildbots.

16 years agoRemove unnecessary traceback save/restore pair.
Raymond Hettinger [Wed, 19 Mar 2008 22:47:48 +0000 (22:47 +0000)]
Remove unnecessary traceback save/restore pair.

16 years agoComment out tcltk/tcltk64 removal.
Trent Nelson [Wed, 19 Mar 2008 22:41:10 +0000 (22:41 +0000)]
Comment out tcltk/tcltk64 removal.

16 years agoImprove the error message when the CRCs don't match.
Gregory P. Smith [Wed, 19 Mar 2008 22:23:51 +0000 (22:23 +0000)]
Improve the error message when the CRCs don't match.

16 years agoForce a clean of the tcltk/tcltk64 directories now that we've completely changed...
Trent Nelson [Wed, 19 Mar 2008 21:51:16 +0000 (21:51 +0000)]
Force a clean of the tcltk/tcltk64 directories now that we've completely changed the tcl/tk build environment.

16 years agoFix the x64 Windows build environment used by the buildbots. %VS90COMNTOOLS%\vsvars3...
Trent Nelson [Wed, 19 Mar 2008 21:11:55 +0000 (21:11 +0000)]
Fix the x64 Windows build environment used by the buildbots.  %VS90COMNTOOLS%\vsvars32.bat is fine for 32-bit builds, but doesn't work for x64 builds, regardless of /MACHINE:AMD64 and /USECL:MS_OPTERON flags passed to cl.exe.  Launch the x86_64 cross compilation environment via '%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat x86_amd64'.  I don't have access to any systems *without* Visual Studio 2008 Professional installed (i.e. just Express Edition), so I can't test if x64 compilation works w/ VS Express at the moment.

Additionally, force a clean in our build.bat files before building, just whilst we're going through these build system updates.

And finally, add in the missing MACHINE=AMD64 option to our Tcl/Tk x64 build.

16 years agoRemove itertools warnings I had added before the 2-to-3 handled the migration.
Raymond Hettinger [Wed, 19 Mar 2008 18:01:58 +0000 (18:01 +0000)]
Remove itertools warnings I had added before the 2-to-3 handled the migration.

16 years agoThe filter() function does support a None argument in Py3.0.
Raymond Hettinger [Wed, 19 Mar 2008 17:58:59 +0000 (17:58 +0000)]
The filter() function does support a None argument in Py3.0.

16 years agoIssue 2354: Fix-up compare warning. Patch contributed by Jeff Balogh.
Raymond Hettinger [Wed, 19 Mar 2008 17:45:19 +0000 (17:45 +0000)]
Issue 2354: Fix-up compare warning.  Patch contributed by Jeff Balogh.

16 years agoUse sys.py3kwarning instead of trying to trigger a Py3k-related warning.
Brett Cannon [Wed, 19 Mar 2008 17:37:43 +0000 (17:37 +0000)]
Use sys.py3kwarning instead of trying to trigger a Py3k-related warning.

16 years agotest_nis would fail if test.test_support.verbose was true but NIS was not set
Brett Cannon [Wed, 19 Mar 2008 16:50:13 +0000 (16:50 +0000)]
test_nis would fail if test.test_support.verbose was true but NIS was not set
up on the machine.

Closes issue2411. Thanks Michael Bishop.

16 years agoCheckout sqlite-source when it is not there.
Thomas Heller [Wed, 19 Mar 2008 16:10:57 +0000 (16:10 +0000)]
Checkout sqlite-source when it is not there.

16 years agoTrivial typo.
Eric Smith [Wed, 19 Mar 2008 12:15:10 +0000 (12:15 +0000)]
Trivial typo.

16 years agoUse test.test_support.captured_stdout instead of a custom contextmanager.
Eric Smith [Wed, 19 Mar 2008 12:09:55 +0000 (12:09 +0000)]
Use test.test_support.captured_stdout instead of a custom contextmanager.
Thanks Nick Coghlan.

16 years agoLets have another try at getting the Windows buildbots in a consistent state before...
Trent Nelson [Wed, 19 Mar 2008 09:23:08 +0000 (09:23 +0000)]
Lets have another try at getting the Windows buildbots in a consistent state before rebuilding using the new process.

16 years agoFix the tcl-8.4.18.1 path and make sure we cd into the right directory when building...
Trent Nelson [Wed, 19 Mar 2008 08:06:03 +0000 (08:06 +0000)]
Fix the tcl-8.4.18.1 path and make sure we cd into the right directory when building tcl/tk.

16 years agoAnother one.
Georg Brandl [Wed, 19 Mar 2008 07:57:57 +0000 (07:57 +0000)]
Another one.