summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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. ........
* Merged revisions 83380 via svnmerge fromR. David Murray2010-08-014-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Document how to change OrderedDict update order from first to last.Raymond Hettinger2010-07-311-0/+12
|
* Only expose the abstract base classes.Raymond Hettinger2010-07-311-5/+0
| | | | | The concrete types are for internal use (registration). Keep from accidentally resurrecting the types module in collections.
* Merged revisions 83277 via svnmerge fromMark Dickinson2010-07-301-0/+7
| | | | | | | | | | 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. ........
* 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. ........
* Merged revisions 83224 via svnmerge fromMark Dickinson2010-07-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83224 | mark.dickinson | 2010-07-29 14:56:56 +0100 (Thu, 29 Jul 2010) | 1 line Fix typo. ........
* Merged revisions 83209 via svnmerge fromSenthil Kumaran2010-07-282-2/+15
| | | | | | | | | | 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. ........
* Blocked revisions 83183,83186 via svnmergeEzio Melotti2010-07-270-0/+0
| | | | | | | | | | | | ........ 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. ........
* Merged revisions 83184 via svnmerge fromAntoine Pitrou2010-07-272-13/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83184 | antoine.pitrou | 2010-07-28 00:08:27 +0200 (mer., 28 juil. 2010) | 3 lines Issue #9294: remove dead code in Objects/object.c. Patch by Grant Limberg. ........
* Blocked revisions 83177 via svnmergeAlexander Belopolsky2010-07-270-0/+0
| | | | | | | | ........ 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 83157 via svnmergeAlexander Belopolsky2010-07-260-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. ........
* Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-253-3/+3
| | | | | | | | | | | | | | | | 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 82985 via svnmerge fromGregory P. Smith2010-07-253-35/+47
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82985 | gregory.p.smith | 2010-07-19 16:17:22 -0700 (Mon, 19 Jul 2010) | 3 lines Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / in the parameters. (This is jjlee's issue3704.patch ported to py3k) ........
* Reverted r83143: svnmerge failed to add new namesAlexander Belopolsky2010-07-253-2/+1177
|
* Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-253-1177/+2
| | | | | | | | | | | | | | | | 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. ........
* Blocked revisions 83120 via svnmergeVictor Stinner2010-07-240-0/+0
| | | | | | | | | | | | | | | | | | | | ........ r83120 | victor.stinner | 2010-07-24 04:24:55 +0200 (sam., 24 juil. 2010) | 12 lines #9032: 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. ........ In Python 3.1, Transport.request() doesn't retry on socket error.
* 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 ........
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-233-8/+101
| | | | | | | | | 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.
* 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. ........
* Blocked revisions 83072 via svnmergeBrett Cannon2010-07-232-0/+10
| | | | | | | | | | | ........ 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. ........
* Merged revisions 83073 via svnmerge fromRonald Oussoren2010-07-231-1/+1
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83073 | ronald.oussoren | 2010-07-23 12:48:36 +0100 (Fri, 23 Jul 2010) | 4 lines Minor tweak of test_osx_env to avoid failing when the framework is not yet installed. ........
* Merged revisions 83067 via svnmerge fromRonald Oussoren2010-07-231-0/+17
| | | | | | | | | | | | | | | | 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. ........
* Blocked revisions 83053 via svnmergeTarek Ziadé2010-07-220-0/+0
| | | | | | | | ........ r83053 | tarek.ziade | 2010-07-22 14:50:05 +0200 (jeu., 22 juil. 2010) | 1 line reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen. ........
* Merged revisions 83035 via svnmerge fromAlexander Belopolsky2010-07-213-7/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83035 | alexander.belopolsky | 2010-07-21 13:43:42 -0400 (Wed, 21 Jul 2010) | 3 lines Issue #9323: Fixed a bug in trace.py that resulted in loosing the name of the script being traced. Patch by Eli Bendersky. ........
* Merged revisions 83030 via svnmerge fromAntoine Pitrou2010-07-211-0/+11
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83030 | antoine.pitrou | 2010-07-21 18:41:31 +0200 (mer., 21 juil. 2010) | 5 lines Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it with EOFError. (this is only an added test, but 2.x will get a fix too) ........
* Merged revisions 83025 via svnmerge fromAntoine Pitrou2010-07-211-7/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83025 | antoine.pitrou | 2010-07-21 17:54:48 +0200 (mer., 21 juil. 2010) | 3 lines Remove outdated mention of deprecated functions in the string module - they have been removed in 3.x. ........
* Merged revisions 83016 via svnmerge fromDoug Hellmann2010-07-212-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83016 | doug.hellmann | 2010-07-21 08:29:04 -0400 (Wed, 21 Jul 2010) | 1 line Apply patch from Ray Allen for issue 9296 ........
* Backport r82456Brett Cannon2010-07-212-3/+15
|
* Merged revisions 83009 via svnmerge fromBrian Curtin2010-07-211-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83009 | brian.curtin | 2010-07-20 20:44:19 -0500 (Tue, 20 Jul 2010) | 2 lines Fix #9316. if/is grammar corrections. ........
* Merged revisions 82997 via svnmerge fromAlexander Belopolsky2010-07-203-1/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82997 | alexander.belopolsky | 2010-07-20 15:55:18 -0400 (Tue, 20 Jul 2010) | 3 lines Issue #9282: Fixed --listfuncs option of trace.py. Thanks Eli Bendersky for the patch. ........
* Merged revisions 82978 via svnmerge fromStefan Krah2010-07-192-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82978 | stefan.krah | 2010-07-19 19:58:26 +0200 (Mon, 19 Jul 2010) | 3 lines Sub-issue of #9036: Fix incorrect use of Py_CHARMASK. ........
* Merged revisions 82971 via svnmerge fromStefan Krah2010-07-192-0/+21
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82971 | stefan.krah | 2010-07-19 16:20:53 +0200 (Mon, 19 Jul 2010) | 4 lines Issue #9265: Incorrect name passed as arg[0] when shell=True and executable specified. ........
* Merged revisions 82966 via svnmerge fromStefan Krah2010-07-191-6/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82966 | stefan.krah | 2010-07-19 14:36:57 +0200 (Mon, 19 Jul 2010) | 13 lines Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide signed/unsigned chars or on integers directly derived from those. In all cases, it could be replaced by a simple cast to (unsigned char). Reasons for the change: a) Make the comment more explicit. b) If char is unsigned, the cast is optimized away. c) If char is unsigned, gcc emits spurious "array subscript has type 'char'" warnings. ........
* Revert temporary debugging commit from r82756.Mark Dickinson2010-07-192-21/+5
|
* remove support for byte literals; a new featureBenjamin Peterson2010-07-183-4/+1
|
* Merged revisions 82952,82954 via svnmerge fromBenjamin Peterson2010-07-181-16/+17
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82952 | benjamin.peterson | 2010-07-18 09:23:36 -0500 (Sun, 18 Jul 2010) | 1 line use classmethod ........ r82954 | benjamin.peterson | 2010-07-18 09:27:02 -0500 (Sun, 18 Jul 2010) | 1 line nest method and attribute doc ........
* Merged revisions 82947 via svnmerge fromMark Dickinson2010-07-181-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82947 | mark.dickinson | 2010-07-18 09:03:10 +0100 (Sun, 18 Jul 2010) | 1 line Clarify Misc/NEWS entry. ........
* Merged revisions 82943 via svnmerge fromMark Dickinson2010-07-181-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82943 | mark.dickinson | 2010-07-18 08:48:20 +0100 (Sun, 18 Jul 2010) | 1 line Misc/NEWS entry for r82941. ........
* Merged revisions 82941 via svnmerge fromMark Dickinson2010-07-181-2/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82941 | mark.dickinson | 2010-07-18 08:29:02 +0100 (Sun, 18 Jul 2010) | 3 lines Issue #9277: Struct module: standard bool packing was incorrect if char is unsigned. Thanks Stefan Krah for the patch. ........
* Merged revisions 82937 via svnmerge fromAlexander Belopolsky2010-07-174-37/+90
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82937 | alexander.belopolsky | 2010-07-17 18:50:45 -0400 (Sat, 17 Jul 2010) | 3 lines Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.x python when they contain instances of old-style classes. ........
* Merged revisions 82934 via svnmerge fromBenjamin Peterson2010-07-172-1/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82934 | benjamin.peterson | 2010-07-17 15:39:23 -0500 (Sat, 17 Jul 2010) | 1 line sharedinstall should depend on sharedmods #9280 ........