Benjamin Peterson
c3b21bd1cd
update pydoc-topics here, too
2008-10-02 22:26:15 +00:00
Barry Warsaw
afa1436958
Bumping to 2.6 final.
2008-10-01 21:46:40 +00:00
Andrew MacIntyre
bf24401a1f
fix for issue 3862: test_array fails FreeBSD 7 amd64
...
FreeBSD 7's underlying malloc() is behaves differently to earlier versions
and seriously overcommits available memory on amd64. This may affect
other 64bit platforms in some circumstances, so the scale of the
problematic test is wound back.
Patch by Mark Dickinson, reviewed by Martin von Loewis.
2008-10-01 03:25:25 +00:00
Gregory P. Smith
0806749e63
Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs when
...
calling fork() from a child thread. This disables that unit test (with a note
printed to stderr) on those platforms.
A caveat about buggy platforms is added to the os.fork documentation.
2008-09-30 20:41:13 +00:00
Benjamin Peterson
8d77d448a5
fix security issue 2: imageop's poor validation of arguments could result in segfaults
...
patch by Victor Stinner
reviewed by myself and Brett
2008-09-30 01:31:49 +00:00
Jesse Noller
37040cdace
issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller
2008-09-30 00:15:45 +00:00
Martin v. Löwis
e563aa4383
Issue #3965 : Allow repeated calls to turtle.Screen, by making it a
...
true singleton object.
Reviewed by Gregor Lingl.
2008-09-29 22:09:07 +00:00
Thomas Heller
e144873071
Fix issue #3547 for MingW, update comments.
2008-09-29 19:56:24 +00:00
Bill Janssen
eb257ac97d
fix for release blocker 3910, 2.6 regression in socket.ssl method
2008-09-29 18:56:38 +00:00
Brett Cannon
b2d61bde28
The _lsprof module could crash the interpreter if it was given an external
...
timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.
Fixes issue 3895.
Code review by Benjamin Peterson.
2008-09-29 03:41:21 +00:00
Benjamin Peterson
e14267bbad
merge in the fix for test_ftplib on some bots [reviewed by Georg]
2008-09-28 20:57:21 +00:00
Benjamin Peterson
dee0b175f6
backport r66656 so people using -Qnew aren't affected
2008-09-27 22:08:12 +00:00
Benjamin Peterson
003d7463dd
enable refactor tests
2008-09-27 21:12:20 +00:00
Benjamin Peterson
08be29193e
Merged revisions 66511,66548-66549,66644,66646-66652 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66511 | benjamin.peterson | 2008-09-18 21:49:27 -0500 (Thu, 18 Sep 2008) | 1 line
remove a useless if __name__ == '__main__'
........
r66548 | benjamin.peterson | 2008-09-21 21:14:14 -0500 (Sun, 21 Sep 2008) | 1 line
avoid the perils of mutable default arguments
........
r66549 | benjamin.peterson | 2008-09-21 21:26:11 -0500 (Sun, 21 Sep 2008) | 1 line
some places in RefactoringTool should raise an error instead of logging it
........
r66644 | benjamin.peterson | 2008-09-27 10:45:10 -0500 (Sat, 27 Sep 2008) | 1 line
fix doctest refactoring
........
r66646 | benjamin.peterson | 2008-09-27 11:40:13 -0500 (Sat, 27 Sep 2008) | 1 line
don't print to stdout when 2to3 is used as a library
........
r66647 | benjamin.peterson | 2008-09-27 12:28:28 -0500 (Sat, 27 Sep 2008) | 1 line
let fixer modules and classes have different prefixes
........
r66648 | benjamin.peterson | 2008-09-27 14:02:13 -0500 (Sat, 27 Sep 2008) | 1 line
raise errors when 2to3 is used as a library
........
r66649 | benjamin.peterson | 2008-09-27 14:03:38 -0500 (Sat, 27 Sep 2008) | 1 line
fix docstring
........
r66650 | benjamin.peterson | 2008-09-27 14:22:21 -0500 (Sat, 27 Sep 2008) | 1 line
make use of enumerate
........
r66651 | benjamin.peterson | 2008-09-27 14:24:13 -0500 (Sat, 27 Sep 2008) | 1 line
revert last revision; it breaks things
........
r66652 | benjamin.peterson | 2008-09-27 16:03:06 -0500 (Sat, 27 Sep 2008) | 1 line
add tests for lib2to3.refactor
........
2008-09-27 21:09:10 +00:00
Benjamin Peterson
3c0c483af4
give ftplib a real test suite
...
A asyncore based mock ftp server is used to test the protocol.
This is all thanks to Giampaolo Rodola #3939
(Barry gave me permission to do this before final on IRC.)
2008-09-27 02:49:54 +00:00
Amaury Forgeot d'Arc
fc5ea39289
#3967 : Correct a crash in count() and find() methods of string-like objects.
...
For example:
"".count("xxxx", sys.maxint, 0)
Reviewed by Benjamin Peterson.
Will port to 2.5 and 3.0.
2008-09-26 22:34:08 +00:00
Raymond Hettinger
6ee7bc04f7
Fix namedtuple bug reported by Glenn Linderman. Template did not form correctly if the field names were input in Unicode.
2008-09-25 23:31:52 +00:00
Amaury Forgeot d'Arc
17617a07d1
#3965 : on Windows, open() crashes if the filename or the mode is invalid,
...
and if the filename is a unicode string.
Reviewed by Martin von Loewis.
2008-09-25 20:52:56 +00:00
Benjamin Peterson
52d52f185a
#3950 fix missing scale factors in turtle.py
...
reviewers: Georg, Benjamin
2008-09-24 22:11:59 +00:00
Thomas Heller
a85c95d5e8
Fix issue #3547 : ctypes is confused by bitfields of varying integer types
...
Reviewed by Fredrik Lundh and Skip Montanaro.
2008-09-24 18:26:05 +00:00
Benjamin Peterson
a74d675fac
backport the atexit test for r66563
2008-09-23 20:43:09 +00:00
Jesus Cea
5cd5f12a48
Bugfix for issue3885 and 'DB.verify()' crash.
...
Reviewed by Nick Coghlan.
2008-09-23 18:54:08 +00:00
Benjamin Peterson
ffb3cca39b
use the new threading properties for multiprocessing (reviewed by Jesse #3927 )
2008-09-22 21:11:43 +00:00
Andrew MacIntyre
41c56b5ea1
build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
...
Part of source_os2emx.patch in issue 3868:
Include/pystrcmp.h: OS/2 has same C APIs as Windows
Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test
Reviewed by Amaury Forgeot d'Arc
2008-09-22 14:23:45 +00:00
Benjamin Peterson
2c7470d951
#3879 fix a regression in urllib.getproxies_environment
...
reviewers: Benjamin, Georg
2008-09-21 21:27:51 +00:00
Hirokazu Yamamoto
1672e10dc2
Issue #3925 : Ignores shutil.rmtree error on cygwin too.
...
Reviewed by Benjamin Peterson.
2008-09-21 20:48:41 +00:00
Hirokazu Yamamoto
56d380de1d
Issue #3838 : TarFile object assigned to self.tar should be closed explicitly.
...
Reviewed by Lars Gustäbel.
2008-09-21 11:44:23 +00:00
Barry Warsaw
6af16190f6
Bumping to 2.6rc2
2008-09-18 04:33:43 +00:00
Mark Hammond
900155fa42
avoid putting unicode objects in the environment causing
...
later test failures. As discussed on #python-dev
2008-09-18 03:51:46 +00:00
Mark Hammond
9f381ec50b
On Windows, temporarily disable the bsddb test referenced in bug 3892.
...
We do yell to stderr and the bug is marked as a blocker.
Reviewed by barry in #python-dev.
2008-09-18 02:47:35 +00:00
Benjamin Peterson
8c2b7dc463
fix possible integer overflows in _hashopenssl #3886
2008-09-18 01:22:16 +00:00
Benjamin Peterson
c237f8e0ce
Merged revisions 66470 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66470 | benjamin.peterson | 2008-09-15 18:29:43 -0500 (Mon, 15 Sep 2008) | 1 line
don't use os.linesep for newlines; it breaks tests on windows
........
2008-09-15 23:55:01 +00:00
Benjamin Peterson
d51e07f989
Merged revisions 66191,66418,66438,66445 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66191 | benjamin.peterson | 2008-09-03 17:00:52 -0500 (Wed, 03 Sep 2008) | 1 line
update the Grammar file after recent syntax changes
........
r66418 | benjamin.peterson | 2008-09-12 18:49:48 -0500 (Fri, 12 Sep 2008) | 1 line
a trival fix to get a few more print corner cases #2899
........
r66438 | benjamin.peterson | 2008-09-12 21:32:30 -0500 (Fri, 12 Sep 2008) | 5 lines
add Jack Diederich's fixer for metaclass syntax #2366
my contribution to this was adding a few tests and fixing a few bugs
I also reviewed it (Jack is a committer)
........
r66445 | benjamin.peterson | 2008-09-13 10:50:00 -0500 (Sat, 13 Sep 2008) | 1 line
add a few more tests concerning int literals and weird spacing
........
2008-09-13 17:43:19 +00:00
Barry Warsaw
1e62aec3ed
Bumping to 2.6rc1
2008-09-12 23:25:57 +00:00
Nick Coghlan
d2e0938362
Issue #3781 : Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
2008-09-11 12:11:06 +00:00
Martin v. Löwis
4dd3a50ca4
Read unidata_version from unicodedata module.
...
Delete old NormalizationTest.txt if it doesn't match
unidata_version.
2008-09-10 19:16:35 +00:00
Martin v. Löwis
6d5ec2474d
Update to test Unicode 5.1.
2008-09-10 18:43:49 +00:00
Guido van Rossum
e3c4fd9cc0
- Issue #3629 : Fix sre "bytecode" validator for an end case.
...
Reviewed by Amaury.
2008-09-10 14:27:00 +00:00
Martin v. Löwis
24329ba176
Issue #3811 : The Unicode database was updated to 5.1.
...
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
2008-09-10 13:38:12 +00:00
Benjamin Peterson
97179b0f58
Fix #3634 invalid return value from _weakref.ref(Exception).__init__
...
Reviewers: Amaury, Antoine, Benjamin
2008-09-09 20:55:01 +00:00
Vinay Sajip
844f741039
Issue #3809 : Fixed spurious 'test.blah' file left behind by test_logging.
2008-09-09 13:42:08 +00:00
Amaury Forgeot d'Arc
d3ffb8974f
#3777 : long(4.2) returned an int, and broke backward compatibility.
...
the __long__ slot is allowed to return either int or long, but the behaviour of
float objects should not change between 2.5 and 2.6.
Reviewed by Benjamin Peterson
2008-09-09 07:24:30 +00:00
Brett Cannon
672237dc6c
warnings.catch_warnings() now returns a list or None instead of the custom
...
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
2008-09-09 00:49:16 +00:00
Hirokazu Yamamoto
631be01252
Issue #3806 : LockTests in test_imp should be skipped when thread is not available.
...
Reviewed by Benjamin Peterson.
2008-09-08 23:38:42 +00:00
Hirokazu Yamamoto
74ce88fd67
Issue #3804 : Added test for Issue #2222 .
...
Reviewed by Benjamin Peterson.
2008-09-08 23:03:47 +00:00
Bill Janssen
61c001a939
incorporate fixes from issue 3162; SSL doc patch
2008-09-08 16:37:24 +00:00
Facundo Batista
ace0bcf669
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
...
function. Tests added.
2008-09-08 00:20:28 +00:00
Josiah Carlson
b7a841ca40
undoing change that broke trunk. Need to find a better solution to this.
2008-09-07 04:37:10 +00:00
Josiah Carlson
1680b8c16c
This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
2008-09-07 03:53:58 +00:00
Benjamin Peterson
a853a89dc3
fix missing module
2008-09-06 23:19:15 +00:00