Mark Dickinson
2fcd8c9703
Fix another typo in math_sum comment
2008-06-20 15:26:19 +00:00
Mark Dickinson
d303578a66
Fix outdated count of the number of new math module functions.
2008-06-20 15:17:41 +00:00
Mark Dickinson
1ec2fcd16e
Issue #3004 : Minor fix to slice.indices(). slice(-10).indices(9) now
...
returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10)
returns (9, 9, -1) instead of (9, 10, -1).
2008-06-20 14:53:43 +00:00
Andrew M. Kuchling
7b2e2df740
Various items
2008-06-20 11:39:54 +00:00
Raymond Hettinger
e3ae655edf
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
2008-06-20 04:18:15 +00:00
Benjamin Peterson
e0f124495b
add multiprocessing to the Makefile
2008-06-20 02:47:03 +00:00
Andrew M. Kuchling
5f198bee4e
Fix comment typos
2008-06-20 02:11:42 +00:00
Andrew M. Kuchling
d6b1eaf428
Various items
2008-06-20 02:05:57 +00:00
Vinay Sajip
8dc20fd7ed
Updated with fix for #3136 .
2008-06-19 22:41:08 +00:00
Vinay Sajip
5f7b97d987
Bug #3136 : fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
...
Thanks to Leandro Lucarella for the patch.
2008-06-19 22:40:17 +00:00
Benjamin Peterson
6f5a2b52ae
skip test_macostools when UCS4 is enabled
2008-06-19 21:39:06 +00:00
Amaury Forgeot d'Arc
9b69ed9d67
In test_site, correctly escape backslashes in path names.
...
This allows the test to pass when the username begins with a lowercase 't'...
2008-06-19 21:17:12 +00:00
Andrew M. Kuchling
8e5cd75b73
Put threading in front of thread
2008-06-19 20:33:31 +00:00
Amaury Forgeot d'Arc
8f40f0635b
test_macos can be skipped on non-mac platforms.
2008-06-19 19:57:39 +00:00
Andrew M. Kuchling
be504f1795
Remove some standalone material from the introduction; various markup and typo fixes
2008-06-19 19:48:42 +00:00
Andrew M. Kuchling
3d8f8c1d62
Only include update_lines_cols() function when it's actually going to be used
2008-06-19 14:02:30 +00:00
Barry Warsaw
060792cdc3
Post release changes
2008-06-19 02:31:54 +00:00
Barry Warsaw
78ad2c05ae
Tagging for 2.6b1
2008-06-19 01:48:40 +00:00
Barry Warsaw
b5d174037f
Bumping to 2.6b1
2008-06-19 01:48:07 +00:00
Benjamin Peterson
da9c9be159
Fix test_socket_ssl the easy way and remove it per #1489
2008-06-18 22:59:32 +00:00
Amaury Forgeot d'Arc
d574633894
Typo in a directory name. Should help the AMD64 buildbots
2008-06-18 21:33:58 +00:00
Amaury Forgeot d'Arc
7248fd833c
The ssl certificate at https://sf.net is not valid.
...
Switch to https://sourceforge.net
2008-06-18 21:18:27 +00:00
Jesse Noller
a3b6baaaab
Remove test_listener_client to remove possible race condition in the multiprocessing tests
2008-06-18 16:34:50 +00:00
Jesse Noller
18623825d2
Attempt RLock creation prior to test execution on Linux, if it raises the OSError in issue 3111, skip the test suite
2008-06-18 13:29:52 +00:00
Georg Brandl
5da652e374
Add versionadded tags to new math functions.
2008-06-18 09:28:22 +00:00
Mark Dickinson
f88f739012
Typo fix
2008-06-18 09:20:17 +00:00
Raymond Hettinger
2281da42b0
Fix double decref.
2008-06-18 00:56:57 +00:00
Amaury Forgeot d'Arc
09fc075c1c
Fix the previous fix
2008-06-17 23:14:19 +00:00
Amaury Forgeot d'Arc
19fc7f6635
On windows, lib2to3 should accept / and \ in the fixer_dir argument
...
Needed to let the tests pass
2008-06-17 23:09:19 +00:00
Benjamin Peterson
aa4e47a04d
add needed import
2008-06-17 23:01:59 +00:00
Benjamin Peterson
ed77f2e143
skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a chroot problem in the buildbot env.
2008-06-17 22:40:44 +00:00
Mark Dickinson
fb1c4b98e9
Issue 3118: make test_math pass on Ubuntu/ia64. exp(-745.0) was raising
...
OverflowError incorrectly on this platform, presumably as a result of
the libm setting errno = ERANGE for this call.
2008-06-17 21:16:55 +00:00
Guido van Rossum
21a45e1bea
Roll back Raymond's -r64098 while we think of something better.
...
(See issue 3056 -- we're close to a resolution but need unittests.)
2008-06-17 17:38:02 +00:00
Vinay Sajip
9828b7ea08
Updated with fix for #3126 .
2008-06-17 11:04:02 +00:00
Vinay Sajip
8f96b8ec43
Bug #3126 : StreamHandler and FileHandler check before calling "flush" and "close" that the stream object has these, using hasattr (thanks to bobf for the patch).
2008-06-17 11:02:14 +00:00
Georg Brandl
5c15aba870
Split the HTML index.
2008-06-17 09:01:35 +00:00
Robert Schuppenies
59f3ade862
Issue 3048: Fixed sys.sizeof test fails with wide unicode.
2008-06-17 08:42:15 +00:00
Georg Brandl
d0ba07327a
Add Jesse Noller to the developers list.
2008-06-16 21:00:47 +00:00
Benjamin Peterson
da3a1b1200
reduce the test_multiprocessing load to ones that shouldn't hang. These will be reenabled gradually as we find the problems.
2008-06-16 20:52:48 +00:00
Benjamin Peterson
b8bfdf5200
fix Tools/scripts/2to3 as the result of a merge error
2008-06-16 20:18:18 +00:00
Amaury Forgeot d'Arc
a8919fe631
Issue 3110: Crash with weakref subclass,
...
seen after a "import multiprocessing.reduction"
An instance of a weakref subclass can have attributes.
If such a weakref holds the only strong reference to the object,
deleting the weakref will delete the object. In this case,
the callback must not be called, because the ref object is being deleted!
2008-06-16 19:12:42 +00:00
Raymond Hettinger
305480c9dc
Issue 3116: fix quadratic behavior in marshal.dumps().
2008-06-16 01:42:40 +00:00
Georg Brandl
a161f6070b
Forward-port new test from r64300.
2008-06-15 19:54:36 +00:00
Benjamin Peterson
e607823af5
Merged revisions 63661,63666,63695,63711,63729,63769,63790,63880,63886 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r63661 | georg.brandl | 2008-05-26 05:26:20 -0500 (Mon, 26 May 2008) | 2 lines
Add import fixes for dbm package.
........
r63666 | georg.brandl | 2008-05-26 05:49:09 -0500 (Mon, 26 May 2008) | 2 lines
Add xmlrpc package fixes.
........
r63695 | georg.brandl | 2008-05-26 10:14:33 -0500 (Mon, 26 May 2008) | 2 lines
Add fixer entries for http package.
........
r63711 | benjamin.peterson | 2008-05-26 13:43:51 -0500 (Mon, 26 May 2008) | 2 lines
add import mapping for test.test_support -> test.support
........
r63729 | benjamin.peterson | 2008-05-26 16:31:03 -0500 (Mon, 26 May 2008) | 2 lines
mapping for commands module -> subprocess
........
r63769 | brett.cannon | 2008-05-29 00:13:13 -0500 (Thu, 29 May 2008) | 1 line
Fixer for UserString.UserString over to the collections module.
........
r63790 | brett.cannon | 2008-05-29 14:13:51 -0500 (Thu, 29 May 2008) | 4 lines
Add a fixer for UserList.
Closes issue #2878 . Thanks to Quentin Gallet-Gilles for the patch.
........
r63880 | collin.winter | 2008-06-01 18:09:38 -0500 (Sun, 01 Jun 2008) | 6 lines
Move lib2to3/fixes/{basefix,util}.py down to lib2to3/.
This is step 1 of turning lib2to3/ into a general-purpose refactoring
library, reusable by other projects.
........
r63886 | collin.winter | 2008-06-01 22:15:01 -0500 (Sun, 01 Jun 2008) | 5 lines
Allow refactoring tools to specify a directory for fixer modules.
This is step 2 of turning lib2to3/ into a general-purpose refactoring
library, reusable by other projects. Step 1: r63880.
........
2008-06-15 02:31:05 +00:00
Gregory P. Smith
a0205d0a46
silence the test when it is skipped on some platforms. should fix a
...
buildbot.
2008-06-14 17:34:09 +00:00
Martin v. Löwis
fd82f2e86a
Disable UAC by default.
2008-06-14 14:24:47 +00:00
Martin v. Löwis
945c632dff
Set eol-style to CRLF for all batch files.
2008-06-14 11:51:54 +00:00
Martin v. Löwis
6807120c64
Avoid rebuilding tcl/tk.
...
Merge x86 changes into AMD64.
2008-06-14 11:50:59 +00:00
Amaury Forgeot d'Arc
8c3bc862fa
Since python2.6 must run on Windows 2000,
...
explicitely disable the use of Windows XP themes when compiling tk.
This is also consistent with the WINVER=0x0500 option.
2008-06-14 09:44:41 +00:00
Amaury Forgeot d'Arc
d25cdc370d
on windows, r64214 broke compilation with some recent SDKs,
...
because IPPROTO_IPV6 may be an enumeration member...
2008-06-14 08:36:07 +00:00