summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 75333 via svnmerge fromSenthil Kumaran2009-10-111-0/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment ........
* Fix for Issue7026. Making it self.env.unsetSenthil Kumaran2009-10-051-1/+1
|
* Merged revisions 75236 via svnmerge fromMark Dickinson2009-10-041-0/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75236 | mark.dickinson | 2009-10-04 19:38:39 +0100 (Sun, 04 Oct 2009) | 4 lines Issue #7042: Fix test_signal failure on OS X 10.6 64-bit builds (and also, with luck, on the x86 FreeBSD buildbot), by making sure that some user time is used in test_itimer_virtual. ........
* #7052: remove nonexisting NullHandler from logging.__all__.Georg Brandl2009-10-041-0/+1
|
* Issue #7019: An attempt to unmarshal bad long data could produceMark Dickinson2009-10-031-0/+5
| | | | unnormalized PyLong objects; make it raise ValueError instead.
* Merged revisions 75143 via svnmerge fromPhilip Jenvey2009-09-291-0/+26
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence through the shell. also document the correct subprocess replacement for this case patch from Jean-Paul Calderone and Jani Hakala ........
* Merged revisions 75134 via svnmerge fromAntoine Pitrou2009-09-291-1/+16
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75134 | antoine.pitrou | 2009-09-29 19:48:18 +0200 (mar., 29 sept. 2009) | 4 lines Issue #6790: Make it possible again to pass an `array.array` to `httplib.HTTPConnection.send`. Patch by Kirk McDonald. ........
* Merged revisions 75123 via svnmerge fromPhilip Jenvey2009-09-291-0/+38
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75123 | philip.jenvey | 2009-09-28 21:32:44 -0700 (Mon, 28 Sep 2009) | 4 lines #6990: clear threading.local's key only after its thread state is removed: fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals ........
* Merged revisions 75111 via svnmerge fromR. David Murray2009-09-281-8/+18
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75111 | r.david.murray | 2009-09-28 12:57:45 -0400 (Mon, 28 Sep 2009) | 5 lines Prevent test_bad_address failure when a domain in the dns search path implements a '*' default rule. Also update comment with a more complete explanation of the difficulties inherent in the test. ........
* Merged revisions 75070 via svnmerge fromEzio Melotti2009-09-261-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line #7000: document "sep" in capwords. Add a few tests ........
* Merged revisions 74943 via svnmerge fromGeorg Brandl2009-09-191-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74943 | georg.brandl | 2009-09-19 09:35:07 +0200 (Sa, 19 Sep 2009) | 1 line #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple. ........
* Merged revisions 74873 via svnmerge fromGeorg Brandl2009-09-171-7/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line #6844 followup: the warning when setting Exception.message was removed, do not test for it. ........
* Merged revisions 74869 via svnmerge fromGeorg Brandl2009-09-171-0/+12
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74869 | georg.brandl | 2009-09-17 13:28:09 +0200 (Do, 17 Sep 2009) | 4 lines Issue #6922: Fix an infinite loop when trying to decode an invalid UTF-32 stream with a non-raising error handler like "replace" or "ignore". ........
* Merged revisions 74845 via svnmerge fromGeorg Brandl2009-09-161-0/+39
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74845 | georg.brandl | 2009-09-16 22:30:09 +0200 (Mi, 16 Sep 2009) | 5 lines #6844: do not emit DeprecationWarnings on access if Exception.message has been set by the user. This works by always setting it in __dict__, except when it's implicitly set in __init__. ........
* Merged revisions 74841 via svnmerge fromThomas Wouters2009-09-161-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines Fix issue #1590864, multiple threads and fork() can cause deadlocks, by acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change. ........
* Merged revisions 74708 via svnmerge fromMark Dickinson2009-09-081-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines #Issue 6795: Fix infinite recursion in long(Decimal('nan')); change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext. ........
* Merged revisions 74704 via svnmerge fromMark Dickinson2009-09-071-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74704 | mark.dickinson | 2009-09-07 17:17:41 +0100 (Mon, 07 Sep 2009) | 3 lines Issue #6850: Fix bug in Decimal._parse_format_specifier for formats with no type specifier. ........
* Merged revisions 74672 via svnmerge fromRonald Oussoren2009-09-061-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74672 | ronald.oussoren | 2009-09-06 12:00:26 +0200 (Sun, 06 Sep 2009) | 1 line Fix build issues on OSX 10.6 (issue 6802) ........
* Merged revisions 74673 via svnmerge fromMark Dickinson2009-09-061-0/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74673 | mark.dickinson | 2009-09-06 11:03:31 +0100 (Sun, 06 Sep 2009) | 3 lines Issue #6846: bytearray.pop was returning ints in the range [-128, 128) instead of [0, 256). Thanks Hagen Fürstenau for the report and fix. ........
* Merged revisions 74564 via svnmerge fromMark Dickinson2009-08-281-0/+16
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines Issue #6794: Fix handling of NaNs in Decimal.compare_total and Decimal.compare_total_mag. ........
* Fixing Issue6557. urllib.urlopen will quote the space character within urls.Senthil Kumaran2009-08-151-0/+12
|
* Merged revisions 74457 via svnmerge fromBenjamin Peterson2009-08-151-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line #6707 fix a crash with dir() on an uninitialized module ........
* Backport of r74429. Not merged/blocked as svnmerge.py is giving me an error andBrett Cannon2009-08-131-1/+20
| | | | I don't want to accidentally check in busted svnmerge metadata.
* Issue 6637: defaultdict.copy() failed with an empty factory.Raymond Hettinger2009-08-041-0/+7
|
* Merged revisions 74291 via svnmerge fromFrank Wierzbicki2009-08-021-0/+116
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines Adding tests derived from the Jython project. These are primarily tests of 'single' statements with partial sentences (so they test things like "try:" in interactive mode). Others tests hit areas that previously failed in Jython. A couple still fail in Jython, mainly due to the difficulty of parsing partial sentences (but should be fixed by Jython 2.6). ........
* Merged revisions 74281 via svnmerge fromMark Dickinson2009-08-021-3/+9
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines Issue #6595: Allow Decimal constructor to accept non-European decimal digits, as recommended by the specification. (Backport of r74279 from py3k.) ........
* Issue 6573: Fix set.union() for cases where self is in the argument chain.Raymond Hettinger2009-07-271-0/+4
|
* Remove unittest.SkipTest from backport of test for issue 6542.R. David Murray2009-07-271-2/+3
|
* Backporting the changes made in revision 72880 as fix for Issue1424152.Senthil Kumaran2009-07-261-0/+15
|
* Merged revisions 74189 via svnmerge fromAmaury Forgeot d'Arc2009-07-231-0/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines #6553: crash in cPickle.load(), when given a StringIO with incomplete data. Will backport to 2.6, 3.x already fixed a similar issue with issue4298. ........
* Merged revisions 74175 via svnmerge fromR. David Murray2009-07-221-1/+12
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74175 | r.david.murray | 2009-07-22 13:22:58 -0400 (Wed, 22 Jul 2009) | 4 lines Backport of fix for issue 6542: make sure test_os.TestInvalidFD.test_closerange does not close any valid file descriptors. ........
* Merged revisions 74167 via svnmerge fromGeorg Brandl2009-07-221-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line Issue #6540: Fixed crash for bytearray.translate() with invalid parameters. ........
* Merged revisions 73708,73738 via svnmerge fromR. David Murray2009-07-211-1/+68
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes ........ r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines Make punctuation prettier and break up run-on sentence. ........
* Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-191-2/+6
| | | | auth handlers. Fixed tests to reflect the same.
* assertRaises can't be used as a context manager in 2.6.Hirokazu Yamamoto2009-07-191-2/+1
|
* Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge fromR. David Murray2009-07-191-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines Issue 6070: when creating a compiled file, after copying the mode bits, on posix zap the execute bit in case it was set on the .py file, since the compiled files are not directly executable on posix. Patch by Marco N. ........ r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines Update issue 6070 patch to match the patch that was actually tested on Windows. ........ r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines Conditionalize test cleanup code to eliminate traceback, which will hopefully reveal the real problem. ........ r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines Make test work with -O. ........ r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines Specify umask in execute bit test to get consistent results and make sure we test resetting all three execute bits. ........ r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines Curdir needs to be in the path for the test to work on all buildbots. (I copied this from another import test, but currently this will fail if TESTFN ends up in /tmp...see issue 2609). ........
* Merged revisions 74040,74042 via svnmerge fromHirokazu Yamamoto2009-07-171-0/+13
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line Issue #6415: Fixed warnings.warn sagfault on bad formatted string. ........ r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line NEWS about r74040. ........
* Move initialising unittest.TestProgram.testRunner into runTests. Issue 6418.Michael Foord2009-07-131-10/+2
|
* Merged revisions 73952 via svnmerge fromAmaury Forgeot d'Arc2009-07-111-2/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines #2622 Import errors in email.message, from a py2app standalone application. Patch by Mads Kiilerich, Reviewed by Barry Warsaw. ........
* Merged revisions 73907-73908 via svnmerge fromR. David Murray2009-07-091-1/+1
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see if the test gives useful failure info on Solaris buildbot. ........ r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames cleanup. If this fix works, it means that Solaris is unique among our platforms in what happens when shutil.rmtree is called on the current working directory (ie: it doesn't work on Solaris, but it does everywhere else). ........
* Merged revisions 73776 via svnmerge fromBenjamin Peterson2009-07-021-6/+29
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73776 | benjamin.peterson | 2009-07-02 13:16:45 -0500 (Thu, 02 Jul 2009) | 1 line when print() gets unicode arguments, sep and end should be unicode by default #4618 ........
* Merged revisions 73774 via svnmerge fromBenjamin Peterson2009-07-021-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73774 | benjamin.peterson | 2009-07-02 12:06:17 -0500 (Thu, 02 Jul 2009) | 1 line only order comparisons are removed in py3k #6119 ........
* Merged revisions 69846 via svnmerge fromJesus Cea2009-07-027-10/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
* Merged revisions 73529 via svnmerge fromR. David Murray2009-06-231-0/+43
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73529 | r.david.murray | 2009-06-23 14:02:46 -0400 (Tue, 23 Jun 2009) | 4 lines Fix issue 5230 by having pydoc's safeimport check to see if the import error was thrown from itself in order to decide if the module can't be found. Thanks to Lucas Prado Melo for collaborating on the fix and tests. ........
* Merged revisions 73451 via svnmerge fromMark Dickinson2009-06-161-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73451 | mark.dickinson | 2009-06-16 21:31:12 +0100 (Tue, 16 Jun 2009) | 1 line Acknowledge the role of the MPFR library in creating cmath_testcases.txt ........
* Restore default testRunner argument in unittest.main to None. Issue 6177.Michael Foord2009-06-021-1/+12
|
* Merged revisions 73114 via svnmerge fromAmaury Forgeot d'Arc2009-06-011-0/+17
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73114 | amaury.forgeotdarc | 2009-06-01 22:53:18 +0200 (lun., 01 juin 2009) | 3 lines #4547: When debugging a very large function, it was not always possible to update the lineno attribute of the current frame. ........
* Merged revisions 73077 via svnmerge fromR. David Murray2009-05-311-0/+28
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73077 | r.david.murray | 2009-05-31 15:15:57 -0400 (Sun, 31 May 2009) | 4 lines Issue 3848: document the fact that epoll register raises an IOError if an fd is registered twice, and add some additional epoll tests. Patch by Christian Heimes. ........
* Merged revisions 73064-73065 via svnmerge fromAntoine Pitrou2009-05-302-0/+21
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73064 | antoine.pitrou | 2009-05-30 23:27:00 +0200 (sam., 30 mai 2009) | 4 lines Issue #5330: C functions called with keyword arguments were not reported by the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau. ........ r73065 | antoine.pitrou | 2009-05-30 23:39:25 +0200 (sam., 30 mai 2009) | 3 lines The test for #5330 wasn't correct. ........
* Merged revisions 73022 via svnmerge fromR. David Murray2009-05-291-14/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73022 | r.david.murray | 2009-05-29 13:31:05 -0400 (Fri, 29 May 2009) | 2 lines Refactor test parameterization to resolve update timing problem. ........