summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged revisions 83393,83396,83398,83405,83408 via svnmerge fromGeorg Brandl2010-08-016-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line #1690103: fix initial namespace for code run with trace.main(). ........ r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line #4810: document "--" option separator in timeit help. ........ r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line #8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case. ........ r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line #4943: do not try to include drive letters (and colons) when looking for a probably module name. ........ r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line #5551: symbolic links never can be mount points. Fixes the fix for #1713. ........
* Merged revisions 83417 via svnmerge fromGeorg Brandl2010-08-011-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83417 | georg.brandl | 2010-08-01 20:38:26 +0200 (So, 01 Aug 2010) | 1 line #5776: fix mistakes in python specfile. (Nobody probably uses it anyway.) ........
* Merged revisions 83395 via svnmerge fromGeorg Brandl2010-08-011-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line #8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character. ........
* Merged revisions 83411 via svnmerge fromAntoine Pitrou2010-08-012-0/+5
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83411 | antoine.pitrou | 2010-08-01 18:53:42 +0200 (dim., 01 août 2010) | 4 lines Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when re-initializing a buffered IO object by calling its `__init__` method. ........
* Merged revisions 83407 via svnmerge fromBrian Curtin2010-08-013-1/+18
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83407 | brian.curtin | 2010-08-01 10:26:26 -0500 (Sun, 01 Aug 2010) | 3 lines Fix #8105. Add validation to mmap.mmap so invalid file descriptors don't cause a crash on Windows. ........
* Merged revisions 83400 via svnmerge fromMark Dickinson2010-08-013-4/+24
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83400 | mark.dickinson | 2010-08-01 11:41:49 +0100 (Sun, 01 Aug 2010) | 7 lines Issue #9416: Fix some issues with complex formatting where the output with no type specifier failed to match the str output: - format(complex(-0.0, 2.0), '-') omitted the real part from the output, - format(complex(0.0, 2.0), '-') included a sign and parentheses. ........
* #8471: reset _SpoofOut.buf to an empty string when truncating; if Unicode ↵Georg Brandl2010-08-013-1/+33
| | | | had been output previously, it had been coerced to a Unicode string, potentially making subsequent prints behave differently or raise UnicodeErrors.
* Merged revisions 83380 via svnmerge fromR. David Murray2010-08-014-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83380 | r.david.murray | 2010-07-31 23:31:09 -0400 (Sat, 31 Jul 2010) | 17 lines #8620: Cmd no longer truncates last character if stdin ends without newline Cmd used to blindly chop off the last character of every input line. If the input reached EOF and there was no final new line, it would truncate the last character of the last command. This fix instead strips trailing \r\n from the input lines. While this is a small behavior change, it should not break any working code, since feeding a '\r\n' terminated file to Cmd would previously leave the \r's on the lines, resulting in failed command execution. I wrote the unit test in preparation for a PyOhio TeachMe session run by Catherine Devlin, and we can thank Catherine and the PyOhio session attendees for the fix. I've added Catherine to the Acks file for organizing and leading the TeachMe session, out of which we will hopefully get some new contributors. ........
* #1019882: if start() and stop() were not in the same stack frame, ↵Georg Brandl2010-07-313-1/+20
| | | | stats.load() would crash with IndexError.
* #9328: string format methods return strings.Georg Brandl2010-07-311-2/+2
|
* - Issue #7567: Don't call `setupterm' twice.Matthias Klose2010-07-302-1/+3
|
* Revert r83267, as it breaks a few doctests and generally leads to ugly ↵Georg Brandl2010-07-302-29/+2
| | | | truncated output.
* Merged revisions 83277 via svnmerge fromMark Dickinson2010-07-301-0/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83277 | mark.dickinson | 2010-07-30 14:13:02 +0100 (Fri, 30 Jul 2010) | 1 line Add note about surprising behaviour from round function. ........
* Update the floating-point section of the tutorial for the short float repr.Mark Dickinson2010-07-301-51/+56
|
* #7539: use _saferepr() for printing exceptions from pdb.Georg Brandl2010-07-302-2/+29
|
* Make sure all files are opened in binary mode.Skip Montanaro2010-07-301-3/+3
|
* Merged revisions 83239 via svnmerge fromMark Dickinson2010-07-292-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83239 | mark.dickinson | 2010-07-29 22:41:59 +0100 (Thu, 29 Jul 2010) | 2 lines Issue #9422: Fix memory leak when re-initializing a struct.Struct object. ........
* Fix for issue 9392: without this patch a framework build will not installRonald Oussoren2010-07-292-2/+10
| | | | 2to3-2.7, while a versioned copy is installed of other tools and a versioned copy of2to3 is installed by python 2.6, 3.1 and the 3.2 alpha.
* Merged revisions 83209 via svnmerge fromSenthil Kumaran2010-07-282-1/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83209 | senthil.kumaran | 2010-07-28 21:57:56 +0530 (Wed, 28 Jul 2010) | 3 lines Fix Issue6325 - robotparse to honor urls with query strings. ........
* Fix merge of r83140 again.Alexander Belopolsky2010-07-281-0/+789
|
* Adding this file lost historyAlexander Belopolsky2010-07-281-214/+0
|
* Redo r83142 merge manually. QOTD: svnmerge isn't really your best friendAlexander Belopolsky2010-07-283-2/+2
|
* Reverted r83142: add Lib/test/test_trace.py backAlexander Belopolsky2010-07-281-0/+214
|
* Reverted r83142: bad svnmergeAlexander Belopolsky2010-07-283-810/+20
|
* Issue #6213: Implement getstate() and setstate() methods of utf-8-sig andVictor Stinner2010-07-284-5/+28
| | | | utf-16 incremental encoders.
* Merged revisions 83183,83186 via svnmerge fromEzio Melotti2010-07-271-97/+96
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83183 | ezio.melotti | 2010-07-28 01:03:33 +0300 (Wed, 28 Jul 2010) | 1 line Use proper skips and assert* methods in test_asyncore. ........ r83186 | ezio.melotti | 2010-07-28 01:24:13 +0300 (Wed, 28 Jul 2010) | 1 line With skipUnless there is no need to add test classes conditionally. ........
* Blocked revisions 83188 via svnmergeAlexander Belopolsky2010-07-270-0/+0
| | | | | | | | | ........ r83188 | alexander.belopolsky | 2010-07-27 19:02:38 -0400 (Tue, 27 Jul 2010) | 3 lines Issue #9378: python -m pickle <pickle file> will now load and display the first object in the pickle file. ........
* Issue #7825: fix transient refleak in test_threadsignals.Florent Xicluna2010-07-271-1/+2
|
* Blocked revisions 83157,83177 via svnmergeAlexander Belopolsky2010-07-270-0/+0
| | | | | | | | | | | | ........ r83157 | alexander.belopolsky | 2010-07-25 22:36:41 -0400 (Sun, 25 Jul 2010) | 1 line Make python version of fromtimestamp behave more like C. ........ r83177 | alexander.belopolsky | 2010-07-27 10:16:32 -0400 (Tue, 27 Jul 2010) | 1 line Issue #9384: python -m tkinter will now display a simple demo applet. ........
* Blocked revisions 82759 via svnmergeGeorg Brandl2010-07-270-0/+0
| | | | | | | | ........ r82759 | georg.brandl | 2010-07-10 12:32:36 +0200 (Sa, 10 Jul 2010) | 1 line #3071: tell how many values were expected when unpacking too many. ........
* Merged revisions 82594,82599 via svnmerge fromGeorg Brandl2010-07-271-21/+35
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82594 | georg.brandl | 2010-07-05 22:13:41 +0200 (Mo, 05 Jul 2010) | 1 line Update Vec class constructor, remove indirection via function, use operator module. ........ r82599 | alexander.belopolsky | 2010-07-05 23:44:05 +0200 (Mo, 05 Jul 2010) | 1 line "Modernized" the demo a little. ........
* Blocked revisions 82526,82593 via svnmergeGeorg Brandl2010-07-270-0/+0
| | | | | | | | | | | | ........ r82526 | georg.brandl | 2010-07-04 09:25:18 +0200 (So, 04 Jul 2010) | 1 line Remove old and unsafe Dbm demo class. ........ r82593 | georg.brandl | 2010-07-05 22:13:06 +0200 (Mo, 05 Jul 2010) | 1 line Remove Dbm. ........
* Merged revisions 83163 via svnmerge fromAndrew M. Kuchling2010-07-261-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83163 | andrew.kuchling | 2010-07-26 09:08:58 -0400 (Mon, 26 Jul 2010) | 1 line Reword paragraph ........
* Merged revisions 83156 via svnmerge fromBrian Curtin2010-07-262-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83156 | brian.curtin | 2010-07-25 21:36:32 -0500 (Sun, 25 Jul 2010) | 2 lines Add note about #7113 and add Łukasz Langa to ACKS ........
* Fix #7113. Patch by Łukasz Langa.Brian Curtin2010-07-262-16/+60
| | | | | Changes include using a list of lines instead of patching together using string interpolation, and a multi-line value test cases.
* Merged revisions 83152 via svnmerge fromAndrew M. Kuchling2010-07-252-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83152 | andrew.kuchling | 2010-07-25 19:38:47 -0400 (Sun, 25 Jul 2010) | 1 line #777884: make .normalize() do nothing for childless nodes, instead of raising an exception ........
* Fixes issue #3704: cookielib was not properly handling URLs with a / in theGregory P. Smith2010-07-253-18/+30
| | | | parameters.
* Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-253-47/+48
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines Issue #9315: Renamed test_trace to test_sys_settrace and test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency. ........ r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line Corrected comments on where settrace and setprofile are tested. ........
* Merged revisions 83133 via svnmerge fromRonald Oussoren2010-07-241-1/+5
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines Fix for issue 9367: the test code for os.getgroups assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false. ........
* Merged revisions 83088 via svnmerge fromRonald Oussoren2010-07-243-8/+101
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines This fixes issue7900 by adding code that deals with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional. ........
* Backport of 83120 (#9032)Victor Stinner2010-07-242-1/+5
| | | | | | | | | | | | | | XML-RPC client: Transport.request() retries on EPIPE error The EPIPE error occurs when the server closes the socket and the client sends a "big" XML-RPC request (I don't know exactly the size threshold). request() just have to ignore the error because single_request() closes the socket on error, and so the next call to single_request() will open a new socket. Remove also a comment in the HTTP client because it's now wrong: see r70643 and issue #5542.
* Forward port r70643 (#5542) + part of r83120 (just remove the comment)Victor Stinner2010-07-243-30/+45
| | | | | | | | Remove special logic that closes HTTPConnection socket on EPIPE. If the socket is closed, the client has no chance to read the response from the server. EPIPE means that it isn't possible to write more data from the socket, but not that it is impossible to read.
* Merged revisions 83116 via svnmerge fromVictor Stinner2010-07-243-1/+11
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines Issue #4629: getopt raises an error if an argument ends with = whereas getopt doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long options). ........
* Blocked revisions 83112 via svnmergeAlexander Belopolsky2010-07-230-0/+0
| | | | | | | | ........ r83112 | alexander.belopolsky | 2010-07-23 15:25:47 -0400 (Fri, 23 Jul 2010) | 2 lines Issue #7989: Added pure python implementation of the datetime module. ........
* Merged revisions 83103 via svnmerge fromEzio Melotti2010-07-231-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83103 | ezio.melotti | 2010-07-23 19:48:22 +0300 (Fri, 23 Jul 2010) | 1 line #9359: fix typo. Thanks to Piotr Kasprzyk for the patch. ........
* Merged revisions 83096 via svnmerge fromRonald Oussoren2010-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83096 | ronald.oussoren | 2010-07-23 17:05:35 +0100 (Fri, 23 Jul 2010) | 13 lines Ensure that sys.prefix can reliably be found on OSX. This fixes a small issue that was exposed by running test_subprocess through regrtest (and hence in a subdirectory). Without this patch running python.exe from the build tree will fail when these tree conditions are true: 1) the CWD is not the root of build tree 2) python.exe is found through $PATH 3) the framework is not yet installed ........
* Merged revisions 83075 via svnmerge fromRonald Oussoren2010-07-233-11/+71
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines Fix for issue 7895. Avoid crashing the interpreter when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs. ........
* Merged revisions 83080 via svnmerge fromBrett Cannon2010-07-231-2/+2
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83080 | brett.cannon | 2010-07-23 13:26:35 +0100 (Fri, 23 Jul 2010) | 5 lines Clarify the wording for threading.is_alive() to not suggest something is "roughly" done. Closes issue 9339. Thanks Brian Brazil for the patch. ........
* Merged revisions 83067 via svnmerge fromRonald Oussoren2010-07-231-0/+14
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83067 | ronald.oussoren | 2010-07-23 10:50:05 +0100 (Fri, 23 Jul 2010) | 8 lines Workaround for issue 4047: in some configurations of the Crash Reporter on OSX test_subprocess will trigger the reporter. This patch prints a warning when the Crash Reporter will get triggered intentionally, which should avoid confusing people. ........
* Merged revisions 83072 via svnmerge fromBrett Cannon2010-07-232-0/+9
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83072 | brett.cannon | 2010-07-23 12:31:31 +0100 (Fri, 23 Jul 2010) | 5 lines Document the fact that the 'test' package is meant only for use by Python itself and not by others. Closes issue 9255. ........