summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r82089. Commit was intended for a branch.Jean-Paul Calderone2010-06-197-474/+7
|
* merge forward from the python 2.x branchJean-Paul Calderone2010-06-197-7/+474
|
* Issue #8939: Improve arg.rstVictor Stinner2010-06-181-5/+5
| | | | | | * Add :ctype: to Py_BEGIN_ALLOW_THREADS and int * "s" and "s#" formats of Py_BuildValue(): specify that the Python object type is str in the description
* 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-183-10/+22
| | | | | regression making datetime subclass' strptime return datetime rather than subclass instances. Fixed this bug and a few typos.
* Added a new line at the end of the file.Alexander Belopolsky2010-06-181-1/+1
|
* Fixed a typo in a comment.Alexander Belopolsky2010-06-181-1/+1
|
* Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 ↵Senthil Kumaran2010-06-182-2/+14
| | | | Unauthorized error page
* Issue #6543: Mention the author of the patch, Amaury Forgeot d'ArcVictor Stinner2010-06-171-1/+2
|
* Issue #6543: Write the traceback in the terminal encoding instead of utf-8.Victor Stinner2010-06-176-57/+70
| | | | | | Fix the encoding of the modules filename. Reindent also traceback.h, just because I hate tabs :-)
* Issue #8203: Fix IDLE Credits dialog: view_file() uses its encoding argument.Victor Stinner2010-06-172-5/+3
|
* Typo repair.Barry Warsaw2010-06-171-4/+4
|
* Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky2010-06-175-74/+101
|
* Add note about changes to the `round` function between 2.x and 3.x.Mark Dickinson2010-06-171-0/+9
|
* Merged revisions 82047 via svnmerge fromSenthil Kumaran2010-06-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82047 | senthil.kumaran | 2010-06-17 22:08:34 +0530 (Thu, 17 Jun 2010) | 3 lines Fix Issue4452 - Incorrect docstring of os.setpgrp ........
* 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-173-27/+16
| | | | | | | 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-173-1/+24
| | | | | | | | | | | | | | | | | 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: Oops, I forgot the author of the patch: Mark HammondVictor Stinner2010-06-161-1/+1
|
* Issue #850997: mbcs encoding (Windows only) handles errors argument: strictVictor Stinner2010-06-165-45/+149
| | | | | mode raises unicode errors. The encoder only supports "strict" and "replace" error handlers, the decoder only supports "strict" and "ignore" error handlers.
* Issue #9012: Add _time.c and _time.h to the Visual Studio project fileVictor Stinner2010-06-161-0/+8
| | | | Add these new files, added by r82034, to the pythoncore project.
* Issue #9012: "Separate compilation of time and datetime modules."Alexander Belopolsky2010-06-164-28/+33
| | | | | | | Segregated code shared between time and datetime modules into Modules/_time.c. Added a new header file, Modules/_time.h, which will be used instead of Include/timefuncs.h for declarations shared between time and datetime modules.
* Merged revisions 82026 via svnmerge fromSenthil Kumaran2010-06-161-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines Addressing RDM's review comments on the doc change. ........
* Merged revisions 82018 via svnmerge fromSenthil Kumaran2010-06-161-1/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82018 | senthil.kumaran | 2010-06-16 20:25:31 +0530 (Wed, 16 Jun 2010) | 3 lines Fix Issue8937 - SimpleHTTPServer should contain usage example ........
* Remove versionadded accidentally introduced by r82008.R. David Murray2010-06-161-4/+0
|
* Blocked revisions 81571,81678 via svnmergeR. David Murray2010-06-160-0/+0
| | | | | | | | | | | | | | | | | | | | I'm going to merge 81678 by hand. ........ r81571 | victor.stinner | 2010-05-27 18:29:48 -0400 (Thu, 27 May 2010) | 3 lines Issue #8835: test_support.transient_internet() catchs gaierror(EAI_NONAME) and gaierror(EAI_NODATA) ........ r81678 | r.david.murray | 2010-06-03 16:19:25 -0400 (Thu, 03 Jun 2010) | 7 lines #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD. FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because there's no easy way to conditionally include a context manager in a with statement. As a side benefit, instead of a stack of context managers there's now only one. ........
* Merged revisions 81675 via svnmerge fromR. David Murray2010-06-163-1/+22
| | | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 81634 via svnmerge fromR. David Murray2010-06-151-6/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines #7583: clarify discussion of hard tab expansion in doctests. ........
* Fix for buildbot failure in r81999.Ronald Oussoren2010-06-151-0/+2
|
* Issue 5094: minor documentation fixesAlexander Belopolsky2010-06-152-25/+25
|
* Minor changes to the choice of assert methodsAlexander Belopolsky2010-06-151-26/+26
|
* Further refinements to the C file API.Antoine Pitrou2010-06-151-10/+14
|
* Fixes to the PyFile_FromFd() doc, by Renato Cunha.Antoine Pitrou2010-06-151-4/+5
|
* 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).
* Merged revisions 81992 via svnmerge fromMark Dickinson2010-06-151-30/+33
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines Issue #8469: Further clarifications and improvements to struct module documentation. Thanks Mads Kiilerich. ........
* 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-145-26/+483
| | | | implementing ``datetime.tzinfo`` interface.
* getargs.c: remove last reference to "t#" formatVictor Stinner2010-06-131-1/+0
| | | | "t#" format was removed from convertitem() (convertsimple) but not skipitem().
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-135-5/+317
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81971 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81971 | mark.dickinson | 2010-06-13 13:01:34 +0100 (Sun, 13 Jun 2010) | 1 line Ezio Melotti was missing from Misc/ACKS. ........
* Merged revisions 81969 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81969 | mark.dickinson | 2010-06-13 12:07:00 +0100 (Sun, 13 Jun 2010) | 1 line Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews. ........
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-135-6/+67
| | | | | | | | | | | | 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. ........
* Remove unnecessary brackets from docstring optional arguments.Mark Dickinson2010-06-131-2/+2
|
* Issue #8973: Expanded Struct.__doc__.Alexander Belopolsky2010-06-121-1/+5
|
* Blocked revisions 81957 via svnmergeMark Dickinson2010-06-120-0/+0
| | | | | | | | | | | ........ r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines Issue #8469: Add standard sizes to table in struct documentation; additional clarifications and documentation tweaks. Backport of revisions 81955-81956 from py3k. ........
* Issue #8469: Reorder struct module sections for clarity; other minor tweaks.Mark Dickinson2010-06-121-75/+79
|
* Issue #8469: add standard sizes to struct docs table.Mark Dickinson2010-06-121-40/+40
|
* Merged revisions 81953 via svnmerge fromBenjamin Peterson2010-06-120-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81953 | benjamin.peterson | 2010-06-12 12:47:06 -0500 (Sat, 12 Jun 2010) | 1 line fix warning with ucs4 ........