summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 82356 via svnmerge fromMark Dickinson2010-06-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82356 | mark.dickinson | 2010-06-29 08:37:25 +0100 (Tue, 29 Jun 2010) | 1 line Spelling. ........
* Merged revisions 82332 via svnmerge fromBenjamin Peterson2010-06-281-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82332 | benjamin.peterson | 2010-06-28 10:41:06 -0500 (Mon, 28 Jun 2010) | 1 line fix skipping condition ........
* Merged revisions 82330 via svnmerge fromBenjamin Peterson2010-06-281-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82330 | benjamin.peterson | 2010-06-28 10:36:40 -0500 (Mon, 28 Jun 2010) | 1 line testcapi tests are definitely cpython only ........
* Merged revisions 82303 via svnmerge fromBenjamin Peterson2010-06-271-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82303 | benjamin.peterson | 2010-06-27 17:40:26 -0500 (Sun, 27 Jun 2010) | 1 line mark tracking tests as implementation details ........
* Merged revisions 81499,81506 via svnmerge fromBenjamin Peterson2010-06-272-4/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81499 | georg.brandl | 2010-05-24 16:29:07 -0500 (Mon, 24 May 2010) | 1 line #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) ........ r81506 | benjamin.peterson | 2010-05-24 17:04:53 -0500 (Mon, 24 May 2010) | 1 line set svn:eol-style ........
* Merged revisions 81380 via svnmerge fromBenjamin Peterson2010-06-271-0/+11
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81380 | brett.cannon | 2010-05-20 13:37:55 -0500 (Thu, 20 May 2010) | 8 lines Turned out that if you used explicit relative import syntax (e.g. from .os import sep) and it failed, import would still try the implicit relative import semantics of an absolute import (from os import sep). That's not right, so when level is negative, only do explicit relative import semantics. Fixes issue #7902. Thanks to Meador Inge for the patch. ........
* Merged revisions 81465-81466,81468,81679,81735,81760,81868,82183 via ↵Benjamin Peterson2010-06-272-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81465 | georg.brandl | 2010-05-22 06:29:19 -0500 (Sat, 22 May 2010) | 2 lines Issue #3924: Ignore cookies with invalid "version" field in cookielib. ........ r81466 | georg.brandl | 2010-05-22 06:31:16 -0500 (Sat, 22 May 2010) | 1 line Underscore the name of an internal utility function. ........ r81468 | georg.brandl | 2010-05-22 06:43:25 -0500 (Sat, 22 May 2010) | 1 line #8635: document enumerate() start parameter in docstring. ........ r81679 | benjamin.peterson | 2010-06-03 16:21:03 -0500 (Thu, 03 Jun 2010) | 1 line use a set for membership testing ........ r81735 | michael.foord | 2010-06-05 06:46:59 -0500 (Sat, 05 Jun 2010) | 1 line Extract error message truncating into a method (unittest.TestCase._truncateMessage). ........ r81760 | michael.foord | 2010-06-05 14:38:42 -0500 (Sat, 05 Jun 2010) | 1 line Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported as a skip rather than an error. ........ r81868 | benjamin.peterson | 2010-06-09 14:45:04 -0500 (Wed, 09 Jun 2010) | 1 line fix code formatting ........ r82183 | benjamin.peterson | 2010-06-23 15:29:26 -0500 (Wed, 23 Jun 2010) | 1 line cpython only gc tests ........
* Merged revisions 80712,81651 via svnmerge fromBenjamin Peterson2010-06-271-0/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80712 | vinay.sajip | 2010-05-03 10:11:53 -0500 (Mon, 03 May 2010) | 1 line Issue #8576: logging updated to remove usage of find_unused_port(). ........ r81651 | vinay.sajip | 2010-06-02 05:05:31 -0500 (Wed, 02 Jun 2010) | 1 line Logging: improved error reporting for BaseConfigurator.resolve(). ........
* Merged revisions 82242 via svnmerge fromR. David Murray2010-06-261-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82242 | r.david.murray | 2010-06-25 23:27:32 -0400 (Fri, 25 Jun 2010) | 2 lines Fix indentation in recently added test. ........
* Merged revisions 82233 via svnmerge fromR. David Murray2010-06-261-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82233 | r.david.murray | 2010-06-25 20:06:44 -0400 (Fri, 25 Jun 2010) | 2 lines #4640: add a test to optparse that proves issue is invalid. ........
* fix typosBenjamin Peterson2010-06-251-2/+2
|
* Merged revisions 82229 via svnmerge fromBenjamin Peterson2010-06-251-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82229 | benjamin.peterson | 2010-06-25 17:58:47 -0500 (Fri, 25 Jun 2010) | 1 line mark implementation detail as such ........
* Merged revisions 82225 via svnmerge fromBenjamin Peterson2010-06-251-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82225 | benjamin.peterson | 2010-06-25 15:34:01 -0500 (Fri, 25 Jun 2010) | 1 line mark implementation detail as such ........
* only take into account positional arguments count in related error messagesBenjamin Peterson2010-06-252-2/+10
|
* #9018: os.path.normcase() now raises a TypeError if the argument is not str ↵Ezio Melotti2010-06-251-8/+12
| | | | or bytes.
* Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, useVictor Stinner2010-06-251-0/+10
| | | | "w*" format instead. Add tests for "w*" format.
* PyArg_Parse*() functions: factorize code for s/z and u/Z formatsVictor Stinner2010-06-241-1/+1
|
* Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytesVictor Stinner2010-06-241-1/+1
| | | | objects, as described in the documentation.
* Merged revisions 82189 via svnmerge fromBenjamin Peterson2010-06-241-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82189 | benjamin.peterson | 2010-06-23 19:12:40 -0500 (Wed, 23 Jun 2010) | 1 line prevent assignment to set literals ........
* Added more test casesAlexander Belopolsky2010-06-231-1/+13
|
* Test future pickle protocols. Thanks Antoine Pitrou for suggestion.Alexander Belopolsky2010-06-231-2/+3
|
* Issue #9051: Instances of timezone class can now be pickled.Alexander Belopolsky2010-06-231-14/+19
|
* Merged revisions 82167 via svnmerge fromBenjamin Peterson2010-06-221-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82167 | benjamin.peterson | 2010-06-22 15:32:02 -0500 (Tue, 22 Jun 2010) | 1 line mark ref counting as impl detail ........
* Merged revisions 82165 via svnmerge fromBenjamin Peterson2010-06-221-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82165 | benjamin.peterson | 2010-06-22 15:26:20 -0500 (Tue, 22 Jun 2010) | 1 line must force gc here ........
* Added more test casesAlexander Belopolsky2010-06-221-0/+25
|
* Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.Alexander Belopolsky2010-06-211-23/+19
|
* Merged revisions 82117 via svnmerge fromMark Dickinson2010-06-202-102/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82117 | mark.dickinson | 2010-06-20 19:50:19 +0100 (Sun, 20 Jun 2010) | 1 line Merge test_strtod and test_float string-to-float conversion tests. ........
* Revert r82089. Commit was intended for a branch.Jean-Paul Calderone2010-06-191-203/+2
|
* merge forward from the python 2.x branchJean-Paul Calderone2010-06-191-2/+203
|
* Merged revisions 82075 via svnmerge fromJean-Paul Calderone2010-06-181-2/+0
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82075 | jean-paul.calderone | 2010-06-18 16:00:17 -0400 (Fri, 18 Jun 2010) | 12 lines Revert r60115 This revision introduced quoting for strings containing | based on a misunderstanding of the commonly used quoting rules used on Windows. | is interpreted by cmd.exe, not by the MS C runtime argv initializer. It only needs to be quoted if it is part of an argument passed through cmd.exe. See issue1300, issue7839, and issue8972. ........
* Issue #6641: Original commit for this issue, r82053, introduced aAlexander Belopolsky2010-06-181-3/+16
| | | | | regression making datetime subclass' strptime return datetime rather than subclass instances. Fixed this bug and a few typos.
* Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky2010-06-171-2/+34
|
* Don't use os.normcase when the result we are expecting is None.R. David Murray2010-06-171-1/+1
| | | | | This worked fine on linux but fails on Windows. That may or may not be a but in normcase.
* Issue #9011: Remove buggy and unnecessary ST->AST compilation codeMark Dickinson2010-06-171-1/+11
| | | | | | | dealing with unary minus applied to a constant. The removed code was mutating the ST, causing a second compilation to fail. (The peephole optimizer already takes care of optimizing this case, so there's no lost optimization opportunity here.)
* Merged revisions 82039 via svnmerge fromR. David Murray2010-06-171-0/+15
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82039 | r.david.murray | 2010-06-16 21:36:52 -0400 (Wed, 16 Jun 2010) | 10 lines #8720: fix inspect regression by teaching getsourcefile about linecache. The fix for issue 4050 caused a regression: before that fix, source lines in the linecache would eventually be found by inspect. After the fix inspect reports an error earlier, and the source isn't found. The fix for the fix is to have getsourcefile look in the linecache for the file and return the psuedo-filename if the source is there, just as it already returns it if there is a PEP 302 loader. ........
* Issue #850997: mbcs encoding (Windows only) handles errors argument: strictVictor Stinner2010-06-161-6/+1
| | | | | mode raises unicode errors. The encoder only supports "strict" and "replace" error handlers, the decoder only supports "strict" and "ignore" error handlers.
* Minor changes to the choice of assert methodsAlexander Belopolsky2010-06-151-26/+26
|
* Switch the __import__ state check from using __builtins__ to builtins to beBrett Cannon2010-06-141-8/+3
| | | | | | nicer to other VMs. Thanks to Philip Jenvey for the pointer.
* Issue 6280: Tests and simpler implementation for calendar.timegmAlexander Belopolsky2010-06-141-2/+10
|
* Issue #5094: The ``datetime`` module now has a simple concrete classAlexander Belopolsky2010-06-141-13/+108
| | | | implementing ``datetime.tzinfo`` interface.
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-131-1/+129
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-132-0/+47
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines Issue #8986: erfc was raising OverflowError on Linux for arguments in the (approximate) range (-27.3, 30.0), as a result of an escaped errno value. ........
* Merged revisions 80578 via svnmerge fromNick Coghlan2010-06-121-0/+71
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80578 | nick.coghlan | 2010-04-29 00:29:06 +1000 (Thu, 29 Apr 2010) | 1 line Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) ........
* When dealing with __import__ for detecting a global state change made by aBrett Cannon2010-06-121-2/+8
| | | | | | test, make sure to check if __builtins__ is a dict or not. Discovered when running importlib.test.regrtest.
* Issue #8969: On Windows, use mbcs codec in strict mode to encode and decodeVictor Stinner2010-06-111-5/+4
| | | | filenames and enable os.fsencode().
* Issue #8965: Write more tests for sys.getfilesystemencoding()Victor Stinner2010-06-111-11/+24
|
* Issue #8965: Add a regression test to test_sys with LANG=CVictor Stinner2010-06-111-2/+13
|
* Merged revisions 81907 via svnmerge fromAntoine Pitrou2010-06-111-0/+25
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000). ........
* Fix more undefined-behaviour inducing overflow checks in struct module.Mark Dickinson2010-06-111-0/+2
|
* Avoid possible undefined behaviour from signed overflow.Mark Dickinson2010-06-111-0/+5
|