summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-253-3/+11
|
* #9018: os.path.normcase() now raises a TypeError if the argument is not str ↵Ezio Melotti2010-06-255-8/+24
| | | | 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
|
* Merged revisions 82126-82127 via svnmerge fromThomas Heller2010-06-212-0/+61
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82126 | thomas.heller | 2010-06-21 16:00:24 +0200 (Mo, 21 Jun 2010) | 1 line Fix #8959 by reverting revision 80761. ........ r82127 | thomas.heller | 2010-06-21 17:01:18 +0200 (Mo, 21 Jun 2010) | 2 lines Add tests for problems reported in issue 8959. ........
* Merged revisions 82130 via svnmerge fromBenjamin Peterson2010-06-211-3/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82130 | benjamin.peterson | 2010-06-21 10:27:46 -0500 (Mon, 21 Jun 2010) | 1 line fix finding visual studio 2008 on 64 bit #8854 ........
* Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.Alexander Belopolsky2010-06-211-23/+19
|
* Move over to assertIs.Brett Cannon2010-06-211-2/+2
|
* 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-182-5/+3
| | | | | | | | | | | | | | | | | | | | 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-182-8/+20
| | | | | regression making datetime subclass' strptime return datetime rather than subclass instances. Fixed this bug and a few typos.
* Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 ↵Senthil Kumaran2010-06-181-2/+10
| | | | Unauthorized error page
* Issue #8203: Fix IDLE Credits dialog: view_file() uses its encoding argument.Victor Stinner2010-06-171-5/+1
|
* Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky2010-06-172-8/+79
|
* 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-172-1/+21
| | | | | | | | | | | | | | | | | 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-162-7/+2
| | | | | mode raises unicode errors. The encoder only supports "strict" and "replace" error handlers, the decoder only supports "strict" and "ignore" error handlers.
* Merged revisions 81675 via svnmerge fromR. David Murray2010-06-162-1/+19
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. ........
* Fix for buildbot failure in r81999.Ronald Oussoren2010-06-151-0/+2
|
* Minor changes to the choice of assert methodsAlexander Belopolsky2010-06-151-26/+26
|
* Fix for issue #8577: without this patch test_distutilsRonald Oussoren2010-06-152-4/+5
| | | | | | will fail when builddir != srcdir (that is, when you run configure in a directory that is not the top of the source tree).
* 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.
* Undo r81988 code change leaving added test.Alexander Belopolsky2010-06-141-3/+8
|
* Issue 6280: Tests and simpler implementation for calendar.timegmAlexander Belopolsky2010-06-142-10/+13
|
* 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. ........
* Fix mild type confusion in decimal module docstring.Mark Dickinson2010-06-121-1/+2
|
* Issue #8973: Add __all__ to struct module, so that help(struct) correctlyMark Dickinson2010-06-121-0/+11
| | | | displays information for the struct.Struct class.
* Merged revisions 80578 via svnmerge fromNick Coghlan2010-06-122-3/+74
| | | | | | | | | | 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) ........
* Calling __import__ as a method technically works, but really should be wrappedBrett Cannon2010-06-121-1/+1
| | | | | in a staticmethod. This is important for when __import__ is set to a function defined in Python instead of C.
* 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-112-14/+16
| | | | filenames and enable os.fsencode().
* Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.Victor Stinner2010-06-111-3/+4
| | | | Note: file system encoding cannot be None anymore (since r81190, issue #8610).
* Issue #8965: Write more tests for sys.getfilesystemencoding()Victor Stinner2010-06-111-11/+24
|