summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* convert test_audioop to unittest. Thanks to Giampaolo Rodola.Benjamin Peterson2008-06-281-264/+147
|
* make sure we close the active channels when eof is received on themBill Janssen2008-06-281-0/+1
|
* various SSL fixes; issues 1251, 3162, 3212Bill Janssen2008-06-283-289/+350
|
* Remove trailing 'L's from numerator and denominator in theMark Dickinson2008-06-272-1/+5
| | | | repr() of a Fraction instance.
* Merged revisions 64368-64369 via svnmerge fromTrent Nelson2008-06-271-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade ........ r64368 | trent.nelson | 2008-06-17 23:13:44 -0500 (Tue, 17 Jun 2008) | 1 line Initial commit of work pertaining to switching the Windows build from Berkeley DB 4.4.20 to 4.7.25. Note that I've deprecated the standalone '_bsddb44.vcproj' in lieu of adding the sources in a separate folder to the _bsddb project. This was a conscious decision and actually makes everything far more easier to manage. With this approach, entire test suite passed straight off the bat. Well, almost -- the timeout in bsddb/test/test_replication.py needed bumping up a little -- 2 seconds was too short. 10 seconds seems to be fine for me, but I'll make sure Jesus verifies. More documentation to come once I've been able to test out this approach on the buildbots (hence keeping the changes in a separate branch for now). ........ r64369 | trent.nelson | 2008-06-17 23:19:12 -0500 (Tue, 17 Jun 2008) | 1 line Bump Berkeley DB version from 4.4.20 to 4.7.25. ........
* warnings.warn_explicit() did not have the proper TypeErrors in place to preventBrett Cannon2008-06-272-0/+16
| | | | | | | | bus errors or SystemError being raised. As a side effect of fixing this, a bad DECREF that could be triggered when 'message' and 'category' were both None was fixed. Closes issue 3211. Thanks JP Calderone for the bug report.
* fix isSet in _exposedBenjamin Peterson2008-06-261-2/+1
|
* use the new APIBenjamin Peterson2008-06-261-1/+1
|
* Corrected inconsistencies in sizeof tests and addressed issue pointedRobert Schuppenies2008-06-261-12/+12
| | | | out by Jean Brouwers.
* Reverting the patch from #3165, as it broke otherFacundo Batista2008-06-251-10/+22
| | | | | | | | | behaviours. I left the original test commented out (note that that test came from #2702, which seems to have a problem in FreeBSD and Windows, but not in Linux). I included a new test, to watch over the now-broken behaviour, I took it from #3179.
* get rid of 2.6/3.0 switch statements in multiprocessingBenjamin Peterson2008-06-252-23/+6
|
* use byte literals in multiprocessingBenjamin Peterson2008-06-251-8/+3
|
* Issue 3147: Fixed SizeofTest failure for LLP64 systems.Robert Schuppenies2008-06-251-71/+60
|
* remove bytes alias in multiprocessingBenjamin Peterson2008-06-252-14/+0
|
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-242-28/+1
|
* Issue 3189: Py3k DeprecationWarning in difflibRaymond Hettinger2008-06-241-4/+4
|
* Fixed formatting with thousands separator and padding. Resolves issue 3140.Eric Smith2008-06-241-0/+8
|
* Issue 3161: Missing import and test.Raymond Hettinger2008-06-232-0/+16
|
* Fixing the problem stated in issue 2702 with the patch submittedFacundo Batista2008-06-221-2/+18
| | | | | in the issue 3165. Now cPickle does not fails with uncontrolled behaviour when pickling into a very deep nested structure.
* Just returning nothing instead of rising TestSkipped, becauseFacundo Batista2008-06-221-1/+5
| | | | it makes the test fail in the trunk.loewis-sun buildbot.
* Trying to see if the problem in Martin's buildot is atFacundo Batista2008-06-221-1/+4
| | | | directory creation time...
* Trying to see if the @ in a path is causing the issue in theFacundo Batista2008-06-221-1/+1
| | | | shutil.rmtree() in the trunk.loewis-sun buildbot.
* Issue #2722. Now the char buffer to support the path string hasFacundo Batista2008-06-221-0/+33
| | | | | not fixed length, it mallocs memory if needed. As a result, we don't have a maximum for the getcwd() method.
* Now a from submitted via POST that also has a query stringFacundo Batista2008-06-212-0/+99
| | | | | | will contain both FieldStorage and MiniFieldStorage items. Fixes #1817.
* Fixed issue #2888. Now the behaviour of pprint when working with nestedFacundo Batista2008-06-212-1/+12
| | | | structures follows the common sense (and works like in 2.5 and 3.0).
* Docstring correctionAndrew M. Kuchling2008-06-211-1/+1
|
* Use repr() for bad input strings; this makes the empty string or binary ↵Andrew M. Kuchling2008-06-212-10/+10
| | | | characters more visible
* Issue 3008: hex/oct/bin can show floats exactly.Raymond Hettinger2008-06-211-0/+27
|
* Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) nowMark Dickinson2008-06-201-0/+14
| | | | | 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).
* Make bin() implementation parallel oct() and hex() so that int/long ↵Raymond Hettinger2008-06-201-1/+1
| | | | subclasses can override or so that other classes can support.
* Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an ↵Vinay Sajip2008-06-191-4/+4
| | | | | | optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved. Thanks to Leandro Lucarella for the patch.
* skip test_macostools when UCS4 is enabledBenjamin Peterson2008-06-192-0/+6
|
* In test_site, correctly escape backslashes in path names.Amaury Forgeot d'Arc2008-06-191-3/+3
| | | | This allows the test to pass when the username begins with a lowercase 't'...
* test_macos can be skipped on non-mac platforms.Amaury Forgeot d'Arc2008-06-191-1/+1
|
* Bumping to 2.6b1v2.6b1Barry Warsaw2008-06-192-2/+2
|
* Fix test_socket_ssl the easy way and remove it per #1489Benjamin Peterson2008-06-181-283/+0
|
* The ssl certificate at https://sf.net is not valid.Amaury Forgeot d'Arc2008-06-181-1/+1
| | | | Switch to https://sourceforge.net
* Remove test_listener_client to remove possible race condition in the ↵Jesse Noller2008-06-181-2/+2
| | | | multiprocessing tests
* Attempt RLock creation prior to test execution on Linux, if it raises the ↵Jesse Noller2008-06-181-3/+6
| | | | OSError in issue 3111, skip the test suite
* Fix the previous fixAmaury Forgeot d'Arc2008-06-171-1/+1
|
* On windows, lib2to3 should accept / and \ in the fixer_dir argumentAmaury Forgeot d'Arc2008-06-171-1/+3
| | | | Needed to let the tests pass
* add needed importBenjamin Peterson2008-06-171-0/+1
|
* skip test_multiprocessing when /dev/shm doesn't exist. This seems to be a ↵Benjamin Peterson2008-06-171-0/+3
| | | | chroot problem in the buildbot env.
* Roll back Raymond's -r64098 while we think of something better.Guido van Rossum2008-06-171-17/+50
| | | | (See issue 3056 -- we're close to a resolution but need unittests.)
* Bug #3126: StreamHandler and FileHandler check before calling "flush" and ↵Vinay Sajip2008-06-171-2/+3
| | | | "close" that the stream object has these, using hasattr (thanks to bobf for the patch).
* Issue 3048: Fixed sys.sizeof test fails with wide unicode.Robert Schuppenies2008-06-171-2/+1
|
* reduce the test_multiprocessing load to ones that shouldn't hang. These will ↵Benjamin Peterson2008-06-161-19/+20
| | | | be reenabled gradually as we find the problems.
* Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc2008-06-161-1/+40
| | | | | | | | | 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!
* Forward-port new test from r64300.Georg Brandl2008-06-151-0/+1
|
* Merged revisions 63661,63666,63695,63711,63729,63769,63790,63880,63886 via ↵Benjamin Peterson2008-06-1546-157/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........