summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Bumping to 2.6 final.Barry Warsaw2008-10-012-2/+2
|
* fix for issue 3862: test_array fails FreeBSD 7 amd64Andrew MacIntyre2008-10-011-4/+5
| | | | | | | | | 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.
* Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs whenGregory P. Smith2008-09-301-0/+6
| | | | | | | 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.
* fix security issue 2: imageop's poor validation of arguments could result in ↵Benjamin Peterson2008-09-301-2/+63
| | | | | | | segfaults patch by Victor Stinner reviewed by myself and Brett
* issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick ↵Jesse Noller2008-09-303-0/+22
| | | | Coghlan, Damien Miller
* Issue #3965: Allow repeated calls to turtle.Screen, by making it aMartin v. Löwis2008-09-291-28/+31
| | | | | | true singleton object. Reviewed by Gregor Lingl.
* Fix issue #3547 for MingW, update comments.Thomas Heller2008-09-291-2/+3
|
* fix for release blocker 3910, 2.6 regression in socket.ssl methodBill Janssen2008-09-292-3/+28
|
* The _lsprof module could crash the interpreter if it was given an externalBrett Cannon2008-09-291-1/+15
| | | | | | | | 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.
* merge in the fix for test_ftplib on some bots [reviewed by Georg]Benjamin Peterson2008-09-281-0/+5
|
* backport r66656 so people using -Qnew aren't affectedBenjamin Peterson2008-09-271-1/+1
|
* enable refactor testsBenjamin Peterson2008-09-271-2/+2
|
* Merged revisions 66511,66548-66549,66644,66646-66652 via svnmerge fromBenjamin Peterson2008-09-2712-40/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ........
* give ftplib a real test suiteBenjamin Peterson2008-09-271-36/+425
| | | | | | | 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.)
* #3967: Correct a crash in count() and find() methods of string-like objects.Amaury Forgeot d'Arc2008-09-261-0/+16
| | | | | | | | For example: "".count("xxxx", sys.maxint, 0) Reviewed by Benjamin Peterson. Will port to 2.5 and 3.0.
* Fix namedtuple bug reported by Glenn Linderman. Template did not form ↵Raymond Hettinger2008-09-252-1/+6
| | | | correctly if the field names were input in Unicode.
* #3965: on Windows, open() crashes if the filename or the mode is invalid,Amaury Forgeot d'Arc2008-09-251-0/+10
| | | | | | and if the filename is a unicode string. Reviewed by Martin von Loewis.
* #3950 fix missing scale factors in turtle.pyBenjamin Peterson2008-09-241-1/+1
| | | | reviewers: Georg, Benjamin
* Fix issue #3547: ctypes is confused by bitfields of varying integer typesThomas Heller2008-09-241-0/+15
| | | | Reviewed by Fredrik Lundh and Skip Montanaro.
* backport the atexit test for r66563Benjamin Peterson2008-09-231-0/+13
|
* Bugfix for issue3885 and 'DB.verify()' crash.Jesus Cea2008-09-231-16/+36
| | | | Reviewed by Nick Coghlan.
* use the new threading properties for multiprocessing (reviewed by Jesse #3927)Benjamin Peterson2008-09-221-6/+0
|
* build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config filesAndrew MacIntyre2008-09-221-1/+1
| | | | | | | | 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
* #3879 fix a regression in urllib.getproxies_environmentBenjamin Peterson2008-09-212-3/+26
| | | | reviewers: Benjamin, Georg
* Issue #3925: Ignores shutil.rmtree error on cygwin too.Hirokazu Yamamoto2008-09-211-2/+2
| | | | Reviewed by Benjamin Peterson.
* Issue #3838: TarFile object assigned to self.tar should be closed explicitly.Hirokazu Yamamoto2008-09-211-0/+1
| | | | Reviewed by Lars Gustäbel.
* Bumping to 2.6rc2v2.6rc2Barry Warsaw2008-09-182-2/+2
|
* avoid putting unicode objects in the environment causingMark Hammond2008-09-181-3/+4
| | | | later test failures. As discussed on #python-dev
* On Windows, temporarily disable the bsddb test referenced in bug 3892.Mark Hammond2008-09-181-1/+13
| | | | | We do yell to stderr and the bug is marked as a blocker. Reviewed by barry in #python-dev.
* fix possible integer overflows in _hashopenssl #3886Benjamin Peterson2008-09-181-2/+16
|
* Merged revisions 66470 via svnmerge fromBenjamin Peterson2008-09-151-4/+2
| | | | | | | | | | 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 ........
* Merged revisions 66191,66418,66438,66445 via svnmerge fromBenjamin Peterson2008-09-136-11/+452
| | | | | | | | | | | | | | | | | | | | | | | | | 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 ........
* Bumping to 2.6rc1Barry Warsaw2008-09-122-2/+2
|
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵Nick Coghlan2008-09-118-64/+200
| | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
* Read unidata_version from unicodedata module.Martin v. Löwis2008-09-101-2/+9
| | | | | Delete old NormalizationTest.txt if it doesn't match unidata_version.
* Update to test Unicode 5.1.Martin v. Löwis2008-09-101-1/+1
|
* - Issue #3629: Fix sre "bytecode" validator for an end case.Guido van Rossum2008-09-101-0/+4
| | | | Reviewed by Amaury.
* Issue #3811: The Unicode database was updated to 5.1.Martin v. Löwis2008-09-101-2/+12
| | | | Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
* Fix #3634 invalid return value from _weakref.ref(Exception).__init__Benjamin Peterson2008-09-091-0/+8
| | | | Reviewers: Amaury, Antoine, Benjamin
* Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.Vinay Sajip2008-09-091-2/+2
|
* #3777: long(4.2) returned an int, and broke backward compatibility.Amaury Forgeot d'Arc2008-09-091-0/+4
| | | | | | | 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
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-0922-215/+191
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* Issue #3806: LockTests in test_imp should be skipped when thread is not ↵Hirokazu Yamamoto2008-09-081-4/+10
| | | | | | available. Reviewed by Benjamin Peterson.
* Issue #3804: Added test for Issue #2222.Hirokazu Yamamoto2008-09-081-0/+7
| | | | Reviewed by Benjamin Peterson.
* incorporate fixes from issue 3162; SSL doc patchBill Janssen2008-09-082-5/+160
|
* Issue 3801. Fixing a dumb error in the deprecated parse_qsl()Facundo Batista2008-09-082-1/+12
| | | | function. Tests added.
* undoing change that broke trunk. Need to find a better solution to this.Josiah Carlson2008-09-071-1/+1
|
* This fixes a small inconsistency between trunk and 3.0, closing bug 3764.Josiah Carlson2008-09-071-1/+1
|
* fix missing moduleBenjamin Peterson2008-09-061-1/+1
|
* Backport relevant part of r66274 (in issue #874900).Antoine Pitrou2008-09-061-2/+5
|