Steven Bethard
d290b04ee3
Replace hack in regrtest.py with use of sys.py3kwarning.
2008-03-21 21:01:18 +00:00
Georg Brandl
c326801ffc
Update doc ACKS.
2008-03-21 20:55:51 +00:00
Georg Brandl
4ab9febdde
#2160 : document PyImport_GetImporter.
2008-03-21 20:55:20 +00:00
Georg Brandl
65bb42dc1b
#2348 : add py3k warning for file.softspace.
2008-03-21 20:38:24 +00:00
Georg Brandl
07e5681fd3
#2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack Diederich.
2008-03-21 20:21:46 +00:00
Georg Brandl
5a44424c5e
#2358 : add py3k warning to sys.exc_clear().
2008-03-21 20:11:46 +00:00
Georg Brandl
77354cf5ef
Issue #2432 : give DictReader the dialect and line_num attributes
...
advertised in the docs.
2008-03-21 20:01:51 +00:00
Georg Brandl
331243270d
#2136 : allow single quotes in realm spec.
2008-03-21 19:54:00 +00:00
Georg Brandl
d346475a0c
Add docs for print_function and future_builtins. Fixes #2442 .
2008-03-21 19:37:57 +00:00
Georg Brandl
3fbe20c01e
Add docs for __func__ and __self__ on methods.
2008-03-21 19:20:21 +00:00
Georg Brandl
06291185e1
Fix a code block in __future__ docs.
2008-03-21 19:14:38 +00:00
Jeffrey Yasskin
510eab5965
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.
2008-03-21 18:48:04 +00:00
Jeffrey Yasskin
413f588a36
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.
2008-03-21 18:25:06 +00:00
Georg Brandl
859043c053
Fix markup.
2008-03-21 17:19:29 +00:00
Georg Brandl
9c6c47bf4b
Mark the descitems in the tutorial as "noindex" so that :meth: cross-refs don't link to them.
2008-03-21 14:32:33 +00:00
Jeffrey Yasskin
6cda88ea11
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.
2008-03-21 05:51:37 +00:00
Jeffrey Yasskin
cf26f5419e
Speed up test_signal from ~24s to 4s by avoiding nearly all of the sleep calls.
2008-03-21 05:02:44 +00:00
Eric Smith
816a168053
Comment how 'from __future__ import print_function' operates in 3.0.
2008-03-20 23:56:08 +00:00
Eric Smith
33dd094fd0
Fixed PEP name.
2008-03-20 23:04:04 +00:00
Andrew M. Kuchling
9cf2f5de68
Add lots of items
2008-03-20 22:49:26 +00:00
Marc-André Lemburg
4e0c72bbf0
Clarfiy the availability of the extended support for win32_ver() in Py2.6.
2008-03-20 18:58:14 +00:00
Marc-André Lemburg
a1867750f6
Add news items for platform module changes.
2008-03-20 18:08:00 +00:00
Marc-André Lemburg
53c7a60379
Add documentation for updated Windows support in win32_ver().
...
Add documentation for linux_distribution() API.
2008-03-20 17:55:31 +00:00
Marc-André Lemburg
dbd61a2bff
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.
2008-03-20 17:31:36 +00:00
Brett Cannon
fa6a8b3aaa
Gave Jerry Seutter svn access for general Python development.
2008-03-20 16:13:48 +00:00
Georg Brandl
402b270799
#2383 : remove obsolete XXX comment in stat.py.
2008-03-20 07:25:55 +00:00
Gregory P. Smith
6af3db8632
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.
2008-03-20 05:41:53 +00:00
Sean Reifscheider
45ea86c124
Issue 2188: Documentation hint about disabling proxy detection.
2008-03-20 03:20:48 +00:00
Trent Nelson
00b53ea1b8
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).
2008-03-20 00:58:44 +00:00
Sean Reifscheider
68fa8e6c45
Forgot to add NEWS item about smtplib SSL readline hang fix.
2008-03-20 00:50:07 +00:00
Sean Reifscheider
ac2ed1e0ac
Issue #2143 : Fix embedded readline() hang on SSL socket EOF.
2008-03-20 00:46:50 +00:00
Gregory P. Smith
a5cfcad0e3
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.
2008-03-19 23:03:25 +00:00
Brett Cannon
48581c5f08
Make sure that the warnings filter is not reset or changed beyond the current
...
running test file.
Closes issue2407. Thanks Jerry Seutter.
2008-03-19 23:01:17 +00:00
Trent Nelson
a0ce6b6b71
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.
2008-03-19 22:51:42 +00:00
Raymond Hettinger
c71d2a9afd
Remove unnecessary traceback save/restore pair.
2008-03-19 22:47:48 +00:00
Trent Nelson
27f60a65e8
Comment out tcltk/tcltk64 removal.
2008-03-19 22:41:10 +00:00
Gregory P. Smith
f15cde3732
Improve the error message when the CRCs don't match.
2008-03-19 22:23:51 +00:00
Trent Nelson
e7abf20ce7
Force a clean of the tcltk/tcltk64 directories now that we've completely changed the tcl/tk build environment.
2008-03-19 21:51:16 +00:00
Trent Nelson
611c86b7d1
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.
2008-03-19 21:11:55 +00:00
Raymond Hettinger
0ccfe5f2a0
Remove itertools warnings I had added before the 2-to-3 handled the migration.
2008-03-19 18:01:58 +00:00
Raymond Hettinger
10dca6e282
The filter() function does support a None argument in Py3.0.
2008-03-19 17:58:59 +00:00
Raymond Hettinger
05387861ea
Issue 2354: Fix-up compare warning. Patch contributed by Jeff Balogh.
2008-03-19 17:45:19 +00:00
Brett Cannon
977eb021f3
Use sys.py3kwarning instead of trying to trigger a Py3k-related warning.
2008-03-19 17:37:43 +00:00
Brett Cannon
7919d98d56
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.
2008-03-19 16:50:13 +00:00
Thomas Heller
12b580b2c6
Checkout sqlite-source when it is not there.
2008-03-19 16:10:57 +00:00
Eric Smith
8ff4963594
Trivial typo.
2008-03-19 12:15:10 +00:00
Eric Smith
e504445972
Use test.test_support.captured_stdout instead of a custom contextmanager.
...
Thanks Nick Coghlan.
2008-03-19 12:09:55 +00:00
Trent Nelson
4f4738f015
Lets have another try at getting the Windows buildbots in a consistent state before rebuilding using the new process.
2008-03-19 09:23:08 +00:00
Trent Nelson
4fbaacaa12
Fix the tcl-8.4.18.1 path and make sure we cd into the right directory when building tcl/tk.
2008-03-19 08:06:03 +00:00
Georg Brandl
97e863eaf8
Another one.
2008-03-19 07:57:57 +00:00