]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 11 Mar 2010 22:05:58 +0000 (22:05 +0000)]
Merged revisions 78844 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78844 | benjamin.peterson | 2010-03-11 16:03:45 -0600 (Thu, 11 Mar 2010) | 1 line
revert r78842 cgi.py change
........
Benjamin Peterson [Thu, 11 Mar 2010 21:55:56 +0000 (21:55 +0000)]
Merged revisions 78841-78842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78841 | benjamin.peterson | 2010-03-11 15:50:45 -0600 (Thu, 11 Mar 2010) | 1 line
remove executable property from doc files
........
r78842 | benjamin.peterson | 2010-03-11 15:53:25 -0600 (Thu, 11 Mar 2010) | 1 line
use proper shebang lines
........
Florent Xicluna [Thu, 11 Mar 2010 01:53:10 +0000 (01:53 +0000)]
Merged revisions 78833 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78833 | florent.xicluna | 2010-03-11 02:50:48 +0100 (jeu, 11 mar 2010) | 2 lines
Revert r78830: realpath() should really be applied to sys.executable.
........
Florent Xicluna [Thu, 11 Mar 2010 01:00:26 +0000 (01:00 +0000)]
Merged revisions 78830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78830 | florent.xicluna | 2010-03-11 01:56:59 +0100 (jeu, 11 mar 2010) | 3 lines
Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
It does not fix #7774.
........
Florent Xicluna [Thu, 11 Mar 2010 00:05:17 +0000 (00:05 +0000)]
Merged revisions 78828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78828 | florent.xicluna | 2010-03-11 00:58:42 +0100 (jeu, 11 mar 2010) | 2 lines
Issue #7880: Fix sysconfig when the python executable is a symbolic link.
........
Benjamin Peterson [Tue, 9 Mar 2010 21:49:52 +0000 (21:49 +0000)]
Merged revisions 78819 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78819 | benjamin.peterson | 2010-03-09 15:46:54 -0600 (Tue, 09 Mar 2010) | 1 line
fix ugly configure output (follow up to #6943)
........
Benjamin Peterson [Tue, 9 Mar 2010 21:46:49 +0000 (21:46 +0000)]
Merged revisions 78817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line
handle an empty OPT variable correctly #8100
........
Ronald Oussoren [Tue, 9 Mar 2010 06:40:19 +0000 (06:40 +0000)]
Bugfix for the fix for issue 8067
Benjamin Peterson [Mon, 8 Mar 2010 22:17:58 +0000 (22:17 +0000)]
Merged revisions 78806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78806 | benjamin.peterson | 2010-03-08 16:15:11 -0600 (Mon, 08 Mar 2010) | 1 line
set svn:eol-style on various files
........
R. David Murray [Mon, 8 Mar 2010 17:48:38 +0000 (17:48 +0000)]
Merged revisions 78416,78430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78416 | dirkjan.ochtman | 2010-02-23 23:12:11 -0500 (Tue, 23 Feb 2010) | 1 line
Issue #8004: add a serve target to the Doc Makefile.
........
r78430 | dirkjan.ochtman | 2010-02-24 12:06:31 -0500 (Wed, 24 Feb 2010) | 1 line
Add some notes about Tools/scripts/serve.py.
........
R. David Murray [Mon, 8 Mar 2010 17:16:58 +0000 (17:16 +0000)]
Blocked revisions 78558 via svnmerge
........
r78558 | r.david.murray | 2010-03-01 14:14:16 -0500 (Mon, 01 Mar 2010) | 6 lines
Issue 3892 again. The bsddb3 replication test still fails randomly.
Since this module is unmaintained in the library and gone in py3k,
this patch skips the remainder of the replication test if a
second timeout occurs, as it randomly does. This should improve buildbot
stability.
........
Florent Xicluna [Mon, 8 Mar 2010 15:34:35 +0000 (15:34 +0000)]
Backport the tests only.
Merged revisions 78800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78800 | florent.xicluna | 2010-03-08 16:20:28 +0100 (lun, 08 mar 2010) | 2 lines
#7624: Fix isinstance(foo(), collections.Callable) for old-style classes.
........
Florent Xicluna [Mon, 8 Mar 2010 14:44:41 +0000 (14:44 +0000)]
Fix ntpath abspath to deal with bytes.
Florent Xicluna [Mon, 8 Mar 2010 13:32:17 +0000 (13:32 +0000)]
Merged revisions 78777,78787,78790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines
Backport the Popen.poll() protection from subprocess to multiprocessing. See #
1731717 .
It should fix transient failures on test_multiprocessing.
........
r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines
Don't fail on a debug() statement, if the worker PID is (still) None.
........
r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines
On finalize, don't try to join not started process.
........
Florent Xicluna [Mon, 8 Mar 2010 13:27:26 +0000 (13:27 +0000)]
Merged revisions 78736,78759,78761,78767,78788-78789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78736 | florent.xicluna | 2010-03-06 20:43:41 +0100 (sam, 06 mar 2010) | 2 lines
Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
........
r78759 | florent.xicluna | 2010-03-07 13:21:36 +0100 (dim, 07 mar 2010) | 2 lines
#2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
........
r78761 | florent.xicluna | 2010-03-07 16:27:39 +0100 (dim, 07 mar 2010) | 4 lines
Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
Do not hide the KeyboardInterrupt on POSIX platforms.
........
r78767 | florent.xicluna | 2010-03-07 18:12:23 +0100 (dim, 07 mar 2010) | 2 lines
#2777: Try hard to make Win7 buildbot happy...
........
r78788 | florent.xicluna | 2010-03-08 11:58:12 +0100 (lun, 08 mar 2010) | 2 lines
Fix syntax: "rc != None" -> "rc is not None"
........
r78789 | florent.xicluna | 2010-03-08 11:59:33 +0100 (lun, 08 mar 2010) | 2 lines
Replace the stderr logging with assertNotEqual(returncode, 0).
........
Florent Xicluna [Mon, 8 Mar 2010 12:47:44 +0000 (12:47 +0000)]
Fix string-> bytes conversion on backport from 2.x.
Florent Xicluna [Mon, 8 Mar 2010 12:42:20 +0000 (12:42 +0000)]
Merge other tests from test_*path.py into test_genericpath.CommonTest, and do some cleanup.
Florent Xicluna [Mon, 8 Mar 2010 12:25:35 +0000 (12:25 +0000)]
Fix macpath to deal with bytes
Florent Xicluna [Mon, 8 Mar 2010 12:24:53 +0000 (12:24 +0000)]
Merged revisions 78734-78735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78734 | florent.xicluna | 2010-03-06 19:07:18 +0100 (sam, 06 mar 2010) | 2 lines
Create test_genericpath.CommonTest and reuse it to test other path modules.
........
r78735 | florent.xicluna | 2010-03-06 19:52:52 +0100 (sam, 06 mar 2010) | 2 lines
Minor tweaking of previous r78734, and add a NEWS entry.
........
Ronald Oussoren [Mon, 8 Mar 2010 07:09:59 +0000 (07:09 +0000)]
Merged revisions 78784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78784 | ronald.oussoren | 2010-03-08 08:06:47 +0100 (Mon, 08 Mar 2010) | 3 lines
Fix for issue 8066: readline should not be linked against libedit when the
deployment target is 10.4, libedit on 10.4 is too broken.
........
Ronald Oussoren [Mon, 8 Mar 2010 07:02:03 +0000 (07:02 +0000)]
Fix for issue 8067
R. David Murray [Mon, 8 Mar 2010 02:17:03 +0000 (02:17 +0000)]
bdecode was already gone in email 5. This merge adds the test from
the trunk patch, and removes the last trace of bdecode, which was
a commented out call in message.py.
Merged revisions 78778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines
Issue #7143: get_payload used to strip any trailing newline from a
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC. Fixed with Barry's approval, but no backport. Email package
minor version number is bumped, now version 4.0.1.
Patch by Joaquin Cuenca Abela.
........
Benjamin Peterson [Sun, 7 Mar 2010 17:10:51 +0000 (17:10 +0000)]
prevent generator finalization from invalidating sys.exc_info() #7173
Mark Dickinson [Sun, 7 Mar 2010 17:10:42 +0000 (17:10 +0000)]
Blocked revisions 78764 via svnmerge
........
r78764 | mark.dickinson | 2010-03-07 17:10:19 +0000 (Sun, 07 Mar 2010) | 1 line
Silence compiler warning.
........
Mark Dickinson [Sun, 7 Mar 2010 16:25:25 +0000 (16:25 +0000)]
Blocked revisions 78762 via svnmerge
........
r78762 | mark.dickinson | 2010-03-07 16:24:45 +0000 (Sun, 07 Mar 2010) | 8 lines
Issue #
1530559 : When packing a non-integer with any integer conversion
code using struct.pack, attempt to convert to an integer first using
the argument's __int__ method (if present). Also raise a
DeprecationWarning for any such usage of __int__.
This fixes a regression from 2.6, where some (but not all) integer
conversion codes already used __int__.
........
Ronald Oussoren [Sun, 7 Mar 2010 09:14:06 +0000 (09:14 +0000)]
Merged revisions 78755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78755 | ronald.oussoren | 2010-03-07 10:04:06 +0100 (Sun, 07 Mar 2010) | 3 lines
Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
........
Senthil Kumaran [Sun, 7 Mar 2010 04:12:02 +0000 (04:12 +0000)]
Reverting the changes made in r78433.
Benjamin Peterson [Sun, 7 Mar 2010 00:35:13 +0000 (00:35 +0000)]
Blocked revisions 78749 via svnmerge
........
r78749 | benjamin.peterson | 2010-03-06 18:29:44 -0600 (Sat, 06 Mar 2010) | 1 line
eliminate py3k warnings in argparse
........
Benjamin Peterson [Sun, 7 Mar 2010 00:03:46 +0000 (00:03 +0000)]
Blocked revisions 78746 via svnmerge
........
r78746 | benjamin.peterson | 2010-03-06 18:00:37 -0600 (Sat, 06 Mar 2010) | 1 line
more specific exception for wrong kind of raise #8082
........
Benjamin Peterson [Sat, 6 Mar 2010 22:49:30 +0000 (22:49 +0000)]
Blocked revisions 78738,78743 via svnmerge
........
r78738 | benjamin.peterson | 2010-03-06 14:34:14 -0600 (Sat, 06 Mar 2010) | 1 line
bump version to 2.7a4
........
r78743 | benjamin.peterson | 2010-03-06 16:44:07 -0600 (Sat, 06 Mar 2010) | 1 line
post release update
........
Benjamin Peterson [Sat, 6 Mar 2010 20:34:24 +0000 (20:34 +0000)]
Merged revisions 78718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78718 | gregory.p.smith | 2010-03-06 01:35:19 -0600 (Sat, 06 Mar 2010) | 3 lines
Call setreuid and setregid in a subprocess to avoid altering the test runner's
process state. Should fix issue8045.
........
Florent Xicluna [Sat, 6 Mar 2010 17:34:48 +0000 (17:34 +0000)]
Merged revisions 78732 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78732 | florent.xicluna | 2010-03-06 18:24:36 +0100 (sam, 06 mar 2010) | 2 lines
Do not print the header lines when running a single test.
........
Ezio Melotti [Sat, 6 Mar 2010 15:24:08 +0000 (15:24 +0000)]
#6509: fix re.sub to work properly when the pattern, the string, and the replacement were all bytes. Patch by Antoine Pitrou.
Florent Xicluna [Sat, 6 Mar 2010 14:43:34 +0000 (14:43 +0000)]
Fix TypeError on usage() when using regrtest switches which are not compatible.
Florent Xicluna [Sat, 6 Mar 2010 14:04:16 +0000 (14:04 +0000)]
Fix test_pydoc when sys.modules["test"] is first imported using importlib.import_module.
Florent Xicluna [Sat, 6 Mar 2010 11:52:51 +0000 (11:52 +0000)]
Merged revisions 78721 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78721 | florent.xicluna | 2010-03-06 10:54:14 +0100 (sam, 06 mar 2010) | 2 lines
#2777: Apply same recipe on win32, i.e. do not inherit file handles.
........
Florent Xicluna [Sat, 6 Mar 2010 11:43:55 +0000 (11:43 +0000)]
Merged revisions 78719-78720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78719 | florent.xicluna | 2010-03-06 09:07:44 +0100 (sam, 06 mar 2010) | 3 lines
Keep the test files in the ./build/ subdirectory, if Python is not installed.
Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
........
r78720 | florent.xicluna | 2010-03-06 10:11:55 +0100 (sam, 06 mar 2010) | 2 lines
Print platform information to stdout, to help troubleshooting platform-specific failures.
........
Tarek Ziadé [Sat, 6 Mar 2010 02:30:14 +0000 (02:30 +0000)]
Blocked revisions 78706,78710 via svnmerge
........
r78706 | tarek.ziade | 2010-03-06 02:04:14 +0100 (Sat, 06 Mar 2010) | 1 line
copied back the build_ext tests from 2.6
........
r78710 | tarek.ziade | 2010-03-06 02:27:09 +0100 (Sat, 06 Mar 2010) | 1 line
files used by win32 tests
........
Ezio Melotti [Sat, 6 Mar 2010 01:50:25 +0000 (01:50 +0000)]
The test was failing because the curdir was missing from sys.path. This should fix the problem.
Ezio Melotti [Sat, 6 Mar 2010 01:20:49 +0000 (01:20 +0000)]
Cleanup and minor fixes.
Florent Xicluna [Sat, 6 Mar 2010 00:19:38 +0000 (00:19 +0000)]
Merged revisions 78704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78704 | florent.xicluna | 2010-03-06 01:16:57 +0100 (sam, 06 mar 2010) | 2 lines
#2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
........
Florent Xicluna [Fri, 5 Mar 2010 20:26:54 +0000 (20:26 +0000)]
Merged revisions 78701 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78701 | florent.xicluna | 2010-03-05 20:31:21 +0100 (ven, 05 mar 2010) | 2 lines
#2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot).
........
Gerhard Häring [Fri, 5 Mar 2010 15:20:03 +0000 (15:20 +0000)]
Merged new pysqlite version 2.6.0 from trunk.
Ezio Melotti [Fri, 5 Mar 2010 15:17:26 +0000 (15:17 +0000)]
sys.getdefaultencoding() can return None.
Ezio Melotti [Fri, 5 Mar 2010 15:08:19 +0000 (15:08 +0000)]
r78689 enabled the test on more platforms but the buildbot did not like it. Using the filesystem encoding might work better. Also see #5604.
Mark Dickinson [Fri, 5 Mar 2010 14:50:47 +0000 (14:50 +0000)]
Blocked revisions 78694 via svnmerge
........
r78694 | mark.dickinson | 2010-03-05 14:50:22 +0000 (Fri, 05 Mar 2010) | 1 line
Remove the redundant #define: PY_STRUCT_FLOAT_COERCE
........
Mark Dickinson [Fri, 5 Mar 2010 14:44:08 +0000 (14:44 +0000)]
Remove unused imports & clean up sys imports in test_struct.
Mark Dickinson [Fri, 5 Mar 2010 14:41:33 +0000 (14:41 +0000)]
Blocked revisions 78690 via svnmerge
........
r78690 | mark.dickinson | 2010-03-05 14:36:20 +0000 (Fri, 05 Mar 2010) | 3 lines
Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
Also clean up related tests in test_struct.
The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
........
Ezio Melotti [Fri, 5 Mar 2010 12:43:17 +0000 (12:43 +0000)]
This fixes a missing .lower() on the encoding name, a wrong byte undecodable by UTF-8, a wrong variable name, hopefully some windows buildbot on 3.x and adds a proper skip. It might break other things though.
Benjamin Peterson [Fri, 5 Mar 2010 03:33:11 +0000 (03:33 +0000)]
Merged revisions 78678,78680,78682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78678 | benjamin.peterson | 2010-03-04 21:07:59 -0600 (Thu, 04 Mar 2010) | 1 line
set svn:eol-style
........
r78680 | benjamin.peterson | 2010-03-04 21:15:07 -0600 (Thu, 04 Mar 2010) | 1 line
set svn:eol-style on Lib files
........
r78682 | benjamin.peterson | 2010-03-04 21:20:06 -0600 (Thu, 04 Mar 2010) | 1 line
remove the svn:executable property from files that don't have shebang lines
........
Benjamin Peterson [Fri, 5 Mar 2010 03:27:12 +0000 (03:27 +0000)]
Merged revisions 78683 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r78683 | benjamin.peterson | 2010-03-04 21:24:17 -0600 (Thu, 04 Mar 2010) | 13 lines
Merged revisions 78679,78681 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line
set svn:eol-style
........
r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line
remove svn:executable property
........
................
Florent Xicluna [Fri, 5 Mar 2010 01:18:04 +0000 (01:18 +0000)]
Merged revisions 78673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78673 | florent.xicluna | 2010-03-05 02:05:55 +0100 (ven, 05 mar 2010) | 2 lines
Let's use assertIsNone / assertIsNotNone. It's hype.
........
Florent Xicluna [Fri, 5 Mar 2010 01:07:40 +0000 (01:07 +0000)]
Remove some debug line...
Florent Xicluna [Fri, 5 Mar 2010 00:52:00 +0000 (00:52 +0000)]
Merged revisions 78671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78671 | florent.xicluna | 2010-03-05 01:47:40 +0100 (ven, 05 mar 2010) | 3 lines
Workaround #3137: Retry SIGINT if it is not received the first time.
test_send_signal should not hang anymore on various Linux distributions.
........
Tarek Ziadé [Fri, 5 Mar 2010 00:36:02 +0000 (00:36 +0000)]
Blocked revisions 78666-78667 via svnmerge
........
r78666 | tarek.ziade | 2010-03-05 01:16:02 +0100 (Fri, 05 Mar 2010) | 1 line
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
........
r78667 | tarek.ziade | 2010-03-05 01:29:38 +0100 (Fri, 05 Mar 2010) | 1 line
reverted the usage of compiler_obj in Python's setup.py
........
Victor Stinner [Thu, 4 Mar 2010 21:59:53 +0000 (21:59 +0000)]
Issue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix a
crash in pydebug mode.
Florent Xicluna [Thu, 4 Mar 2010 21:50:56 +0000 (21:50 +0000)]
Merged revisions 78661-78662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78661 | florent.xicluna | 2010-03-04 20:40:48 +0100 (jeu, 04 mar 2010) | 2 lines
Cleanup.
........
r78662 | florent.xicluna | 2010-03-04 22:31:58 +0100 (jeu, 04 mar 2010) | 2 lines
#2777: Enable test_send_signal, test_kill and test_terminate on all platforms.
........
And fix an oversight of changeset 78510.
R. David Murray [Thu, 4 Mar 2010 17:38:18 +0000 (17:38 +0000)]
Merged revisions 78656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines
Fix documentation of email.Message.get_filename to match
the fix applied in Issue 7082.
........
Florent Xicluna [Thu, 4 Mar 2010 16:10:55 +0000 (16:10 +0000)]
Missing part from r78654
Florent Xicluna [Thu, 4 Mar 2010 16:10:10 +0000 (16:10 +0000)]
Merged revisions 78653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78653 | florent.xicluna | 2010-03-04 16:58:54 +0100 (jeu, 04 mar 2010) | 2 lines
#7805: wait until all workers are started before collecting their PIDs
........
Victor Stinner [Thu, 4 Mar 2010 12:47:32 +0000 (12:47 +0000)]
oops, fix the test of my previous commit about unicodedata and PR #29 (r78647)
Victor Stinner [Thu, 4 Mar 2010 12:14:57 +0000 (12:14 +0000)]
Merged revisions 78646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78646 | victor.stinner | 2010-03-04 13:09:33 +0100 (jeu., 04 mars 2010) | 5 lines
Issue #
1054943 : Fix unicodedata.normalize('NFC', text) for the Public Review
Issue #29.
PR #29 was released in february 2004!
........
Benjamin Peterson [Thu, 4 Mar 2010 02:11:41 +0000 (02:11 +0000)]
Merged revisions 78644 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78644 | benjamin.peterson | 2010-03-03 20:07:55 -0600 (Wed, 03 Mar 2010) | 1 line
set svn:executable on all regen scripts
........
Victor Stinner [Thu, 4 Mar 2010 00:29:24 +0000 (00:29 +0000)]
Merged revisions 78641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78641 | victor.stinner | 2010-03-04 01:10:12 +0100 (jeu., 04 mars 2010) | 3 lines
Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler,
reset also the pointer to the current pointer context.
........
Victor Stinner [Wed, 3 Mar 2010 23:28:07 +0000 (23:28 +0000)]
Merged revisions 78638 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78638 | victor.stinner | 2010-03-04 00:20:25 +0100 (jeu., 04 mars 2010) | 3 lines
Issue #7544: Preallocate thread memory before creating the thread to avoid a
fatal error in low memory condition.
........
Victor Stinner [Wed, 3 Mar 2010 21:56:53 +0000 (21:56 +0000)]
Merged revisions 78635 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78635 | victor.stinner | 2010-03-03 22:53:41 +0100 (mer., 03 mars 2010) | 5 lines
Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL()
by Py_DECREF() to avoid a crash in pydebug mode.
Use po->wo==NULL to detect than the panel is in the lop list or not.
........
Ezio Melotti [Wed, 3 Mar 2010 20:10:45 +0000 (20:10 +0000)]
Add the argparse module and Steven as its maintainer.
Lars Gustäbel [Wed, 3 Mar 2010 12:08:54 +0000 (12:08 +0000)]
Merged revisions 78623 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78623 | lars.gustaebel | 2010-03-03 12:55:48 +0100 (Wed, 03 Mar 2010) | 3 lines
Issue #7232: Add support for the context manager protocol
to the TarFile class.
........
Florent Xicluna [Wed, 3 Mar 2010 11:54:54 +0000 (11:54 +0000)]
Merged revisions 78620 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78620 | florent.xicluna | 2010-03-03 12:49:53 +0100 (mer, 03 mar 2010) | 2 lines
Revert a nonexistent docstring typo, r42805.
........
Benjamin Peterson [Wed, 3 Mar 2010 02:09:18 +0000 (02:09 +0000)]
convert to print function
Benjamin Peterson [Wed, 3 Mar 2010 02:07:08 +0000 (02:07 +0000)]
Merged revisions 78613-78614 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78613 | benjamin.peterson | 2010-03-02 19:55:09 -0600 (Tue, 02 Mar 2010) | 1 line
edit for style
........
r78614 | benjamin.peterson | 2010-03-02 20:04:24 -0600 (Tue, 02 Mar 2010) | 1 line
fix Sphinx warnings
........
Victor Stinner [Wed, 3 Mar 2010 00:50:12 +0000 (00:50 +0000)]
Merged revisions 78610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78610 | victor.stinner | 2010-03-03 01:43:44 +0100 (mer., 03 mars 2010) | 3 lines
Issue #3299: fix thread.allocate_lock() error handler, replace PyObject_Del()
by Py_DECREF() to fix a crash in pydebug mode.
........
Victor Stinner [Wed, 3 Mar 2010 00:18:49 +0000 (00:18 +0000)]
Merged revisions 78603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78603 | victor.stinner | 2010-03-03 00:20:02 +0100 (mer., 03 mars 2010) | 5 lines
Issue #7820: The parser tokenizer restores all bytes in the right if the BOM
check fails.
Fix an assertion in pydebug mode.
........
Florent Xicluna [Wed, 3 Mar 2010 00:06:37 +0000 (00:06 +0000)]
Merged revisions 78585,78594,78606 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78585 | florent.xicluna | 2010-03-02 22:34:45 +0100 (mar, 02 mar 2010) | 2 lines
Tentatively enable test_pep277 on all platforms.
........
r78594 | florent.xicluna | 2010-03-02 23:34:11 +0100 (mar, 02 mar 2010) | 2 lines
Test test_pep277 is only relevant for Unicode-friendly filesystems.
........
r78606 | florent.xicluna | 2010-03-03 00:56:38 +0100 (mer, 03 mar 2010) | 2 lines
Fix wording.
........
Benjamin Peterson [Tue, 2 Mar 2010 23:46:42 +0000 (23:46 +0000)]
Merged revisions 78604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78604 | benjamin.peterson | 2010-03-02 17:43:47 -0600 (Tue, 02 Mar 2010) | 1 line
plug ref leaks
........
Benjamin Peterson [Tue, 2 Mar 2010 23:09:38 +0000 (23:09 +0000)]
Merged revisions 78600-78601 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78600 | benjamin.peterson | 2010-03-02 16:58:01 -0600 (Tue, 02 Mar 2010) | 1 line
remove code to avoid BaseException.message bug
........
r78601 | benjamin.peterson | 2010-03-02 17:02:02 -0600 (Tue, 02 Mar 2010) | 1 line
remove cross-version compatibility code
........
Victor Stinner [Tue, 2 Mar 2010 22:48:17 +0000 (22:48 +0000)]
Merged revisions 78596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78596 | victor.stinner | 2010-03-02 23:44:42 +0100 (mar., 02 mars 2010) | 4 lines
Issue #2973: Fix gcc warning on the 2nd argument of ASN1_item_d2i() and
method->d2i(): OpenSSL API changed in OpenSSL 0.9.6m. Patch written by Daniel
Black.
........
Benjamin Peterson [Tue, 2 Mar 2010 22:34:37 +0000 (22:34 +0000)]
Merged revisions 78586-78593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78586 | benjamin.peterson | 2010-03-02 16:03:03 -0600 (Tue, 02 Mar 2010) | 1 line
remove coding cookie as mandated by PEP 8
........
r78587 | benjamin.peterson | 2010-03-02 16:05:59 -0600 (Tue, 02 Mar 2010) | 1 line
set svn:eol-style
........
r78588 | benjamin.peterson | 2010-03-02 16:08:40 -0600 (Tue, 02 Mar 2010) | 1 line
remove another coding cookie
........
r78589 | georg.brandl | 2010-03-02 16:17:38 -0600 (Tue, 02 Mar 2010) | 1 line
Add some x-refs.
........
r78590 | benjamin.peterson | 2010-03-02 16:20:10 -0600 (Tue, 02 Mar 2010) | 1 line
enable running of argparse tests and fix two that failed in the new environment
........
r78591 | benjamin.peterson | 2010-03-02 16:23:33 -0600 (Tue, 02 Mar 2010) | 1 line
prevent warning filter adjustment from altering other tests
........
r78592 | benjamin.peterson | 2010-03-02 16:24:30 -0600 (Tue, 02 Mar 2010) | 1 line
use test_main() in __main__ section
........
r78593 | benjamin.peterson | 2010-03-02 16:26:25 -0600 (Tue, 02 Mar 2010) | 1 line
convert deprecated fail* methods to assert* variants
........
Florent Xicluna [Tue, 2 Mar 2010 16:06:24 +0000 (16:06 +0000)]
Recorded merge of revisions 78582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78582 | florent.xicluna | 2010-03-02 17:00:00 +0100 (mar, 02 mar 2010) | 2 lines
Refactor test_dict using assertRaises.
........
Steven Bethard [Tue, 2 Mar 2010 09:22:57 +0000 (09:22 +0000)]
Merged revisions 78576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines
Initial commit of the argparse library, based on argparse 1.1.
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
........
Barry Warsaw [Mon, 1 Mar 2010 21:53:00 +0000 (21:53 +0000)]
Manually copy patch for bug 7250 from the release26-maint branch. I suck
because I did this in the wrong order and couldn't smack svnmerge into
submission.
Gregory P. Smith [Mon, 1 Mar 2010 17:04:45 +0000 (17:04 +0000)]
Merged revisions 78531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78531 | gregory.p.smith | 2010-02-28 18:31:33 -0800 (Sun, 28 Feb 2010) | 2 lines
Fix for r78527. It left out updating forkpty.
........
Gregory P. Smith [Mon, 1 Mar 2010 06:18:41 +0000 (06:18 +0000)]
Merged revisions 78527,78550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines
Issue #7242: On Solaris 9 and earlier calling os.fork() from within a
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
........
r78550 | gregory.p.smith | 2010-02-28 22:01:02 -0800 (Sun, 28 Feb 2010) | 2 lines
Fix test to be skipped on windows.
........
Gregory P. Smith [Mon, 1 Mar 2010 05:54:14 +0000 (05:54 +0000)]
Merged revisions 78546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78546 | gregory.p.smith | 2010-02-28 21:43:43 -0800 (Sun, 28 Feb 2010) | 3 lines
Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept
a -1 parameter on some platforms such as OS X.
........
Gregory P. Smith [Mon, 1 Mar 2010 04:59:27 +0000 (04:59 +0000)]
Merged revisions 78544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78544 | gregory.p.smith | 2010-02-28 20:56:12 -0800 (Sun, 28 Feb 2010) | 2 lines
Adds c_ssize_t to ctypes. issue 6729.
........
Ezio Melotti [Mon, 1 Mar 2010 04:08:34 +0000 (04:08 +0000)]
Merged revisions 78515-78516,78522 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78515 | georg.brandl | 2010-02-28 20:19:17 +0200 (Sun, 28 Feb 2010) | 1 line
#8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object.
........
r78516 | georg.brandl | 2010-02-28 20:26:37 +0200 (Sun, 28 Feb 2010) | 1 line
The set types can also be called without arguments.
........
r78522 | ezio.melotti | 2010-03-01 01:59:00 +0200 (Mon, 01 Mar 2010) | 1 line
#8030: more docstring fix for builtin types.
........
Gregory P. Smith [Mon, 1 Mar 2010 03:13:36 +0000 (03:13 +0000)]
Merged revisions 78536 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78536 | gregory.p.smith | 2010-02-28 19:09:19 -0800 (Sun, 28 Feb 2010) | 2 lines
Cleanup the test added in r78517 based on Ezio Melotti's feedback.
........
Gregory P. Smith [Mon, 1 Mar 2010 02:56:44 +0000 (02:56 +0000)]
Merged revisions 78532 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78532 | gregory.p.smith | 2010-02-28 18:53:24 -0800 (Sun, 28 Feb 2010) | 2 lines
Fix the new test on windows (skip it, its posix only)
........
Brett Cannon [Mon, 1 Mar 2010 02:09:17 +0000 (02:09 +0000)]
Strip out trailing whitespace.
Gregory P. Smith [Mon, 1 Mar 2010 02:05:26 +0000 (02:05 +0000)]
Merged revisions 78528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78528 | gregory.p.smith | 2010-02-28 18:01:47 -0800 (Sun, 28 Feb 2010) | 2 lines
Adds the hashlib.algorithms attribute. See issue7418.
........
Gregory P. Smith [Mon, 1 Mar 2010 00:17:40 +0000 (00:17 +0000)]
Merged revisions 78523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78523 | gregory.p.smith | 2010-02-28 16:05:08 -0800 (Sun, 28 Feb 2010) | 3 lines
Issue #
1068268 : The subprocess module now handles EINTR in internal
os.waitpid and os.read system calls where appropriate.
........
Gregory P. Smith [Sun, 28 Feb 2010 18:57:46 +0000 (18:57 +0000)]
Merged revisions 78517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78517 | gregory.p.smith | 2010-02-28 10:36:09 -0800 (Sun, 28 Feb 2010) | 3 lines
Issue #7481: When a threading.Thread failed to start it would leave the
instance stuck in initial state and present in threading.enumerate().
........
Ezio Melotti [Sun, 28 Feb 2010 03:46:13 +0000 (03:46 +0000)]
Merged revisions 78511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78511 | ezio.melotti | 2010-02-28 05:11:07 +0200 (Sun, 28 Feb 2010) | 1 line
Pep8ify test names in the examples.
........
Florent Xicluna [Sat, 27 Feb 2010 22:12:37 +0000 (22:12 +0000)]
Recorded merge of revisions 78508-78509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78508 | florent.xicluna | 2010-02-27 20:20:50 +0100 (sam, 27 fév 2010) | 2 lines
Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
........
r78509 | florent.xicluna | 2010-02-27 22:15:27 +0100 (sam, 27 fév 2010) | 2 lines
Fix an oversight in r78508: p.wait() should be compared to 0
........
Benjamin Peterson [Sat, 27 Feb 2010 17:41:13 +0000 (17:41 +0000)]
check PyDict_New() for error
Benjamin Peterson [Sat, 27 Feb 2010 17:40:01 +0000 (17:40 +0000)]
only accept AttributeError as indicating no __prepare__ attribute on a metaclass, allowing lookup errors to propogate
Florent Xicluna [Sat, 27 Feb 2010 16:12:22 +0000 (16:12 +0000)]
Use UTF-8 encoding to create Python test scripts.
Florent Xicluna [Sat, 27 Feb 2010 15:16:59 +0000 (15:16 +0000)]
Blocked revisions 78497 via svnmerge
........
r78497 | florent.xicluna | 2010-02-27 16:10:19 +0100 (sam, 27 fév 2010) | 2 lines
#7793: Fix RuntimeError when running "regrtest -R" for multibyte codecs.
........
Florent Xicluna [Sat, 27 Feb 2010 14:21:57 +0000 (14:21 +0000)]
For 3.x, the "backslashreplace" error handling is plugged on the "write" method.
Recorded merge of revisions 78488 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78488 | florent.xicluna | 2010-02-27 14:31:23 +0100 (sam, 27 fév 2010) | 2 lines
Issue #
1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
........
Ezio Melotti [Sat, 27 Feb 2010 13:54:27 +0000 (13:54 +0000)]
Merged revisions 78489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78489 | ezio.melotti | 2010-02-27 15:50:35 +0200 (Sat, 27 Feb 2010) | 1 line
Fix missing parenthesis.
........