]>
granicus.if.org Git - python/log
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.
........
Ezio Melotti [Sat, 27 Feb 2010 12:43:58 +0000 (12:43 +0000)]
Blocked revisions 78486 via svnmerge
........
r78486 | ezio.melotti | 2010-02-27 14:42:52 +0200 (Sat, 27 Feb 2010) | 1 line
Add a test for normpath to test_macpath.
........
Florent Xicluna [Sat, 27 Feb 2010 11:31:21 +0000 (11:31 +0000)]
Merged revisions 78482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78482 | florent.xicluna | 2010-02-27 12:19:18 +0100 (sam, 27 fév 2010) | 2 lines
Add entry for issue #691291.
........
Gregory P. Smith [Sat, 27 Feb 2010 08:33:11 +0000 (08:33 +0000)]
Update a comment with more details.
Gregory P. Smith [Sat, 27 Feb 2010 07:22:22 +0000 (07:22 +0000)]
Add an os.get_exec_path() function to return the list of directories
that launching a subprocess will search for the executable.
Refactors some code in os._execvpe().
Ezio Melotti [Sat, 27 Feb 2010 01:11:44 +0000 (01:11 +0000)]
Blocked revisions 78465 via svnmerge
........
r78465 | ezio.melotti | 2010-02-27 01:27:06 +0200 (Sat, 27 Feb 2010) | 1 line
typo: __next__ -> next
........
Benjamin Peterson [Sat, 27 Feb 2010 00:45:21 +0000 (00:45 +0000)]
revert unapplicable change to py3k
Benjamin Peterson [Sat, 27 Feb 2010 00:17:04 +0000 (00:17 +0000)]
Blocked revisions 78468 via svnmerge
........
r78468 | benjamin.peterson | 2010-02-26 18:11:42 -0600 (Fri, 26 Feb 2010) | 1 line
run autoconf
........
Benjamin Peterson [Sat, 27 Feb 2010 00:14:20 +0000 (00:14 +0000)]
run autoconf
Benjamin Peterson [Sat, 27 Feb 2010 00:13:52 +0000 (00:13 +0000)]
Merged revisions 78467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78467 | ezio.melotti | 2010-02-26 18:05:42 -0600 (Fri, 26 Feb 2010) | 1 line
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
........
Andrew M. Kuchling [Fri, 26 Feb 2010 13:35:56 +0000 (13:35 +0000)]
Merged revisions 78463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78463 | andrew.kuchling | 2010-02-26 08:22:50 -0500 (Fri, 26 Feb 2010) | 1 line
#7407: specify default maxsize value; patch by Floris Bruynooghe
........
Florent Xicluna [Fri, 26 Feb 2010 11:12:33 +0000 (11:12 +0000)]
Merged revisions 78461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78461 | florent.xicluna | 2010-02-26 11:40:58 +0100 (ven, 26 fév 2010) | 2 lines
#691291: codecs.open() should not convert end of lines on reading and writing.
........
Senthil Kumaran [Fri, 26 Feb 2010 00:53:23 +0000 (00:53 +0000)]
Merged revisions 78457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78457 | senthil.kumaran | 2010-02-26 06:17:05 +0530 (Fri, 26 Feb 2010) | 3 lines
Fixing issue5475 : urllib2.getproxies not documented
........
Vinay Sajip [Thu, 25 Feb 2010 23:13:06 +0000 (23:13 +0000)]
Merged revisions 77967,77969,78033,78055,78081,78085,78108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77967 | vinay.sajip | 2010-02-04 18:48:53 +0000 (Thu, 04 Feb 2010) | 1 line
Logging: Implemented PEP 391.
........
r77969 | vinay.sajip | 2010-02-04 20:18:28 +0000 (Thu, 04 Feb 2010) | 1 line
Removed spurious print statement.
........
r78033 | benjamin.peterson | 2010-02-06 22:08:15 +0000 (Sat, 06 Feb 2010) | 1 line
make waiting for the server to start robust
........
r78055 | vinay.sajip | 2010-02-07 01:37:08 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7868: logging: added loggerClass attribute to Manager.
........
r78081 | vinay.sajip | 2010-02-07 12:56:54 +0000 (Sun, 07 Feb 2010) | 1 line
Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
........
r78085 | vinay.sajip | 2010-02-07 13:06:51 +0000 (Sun, 07 Feb 2010) | 1 line
logging: Removed some more 1.5.2 support code.
........
r78108 | vinay.sajip | 2010-02-08 21:18:15 +0000 (Mon, 08 Feb 2010) | 1 line
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
........
Martin v. Löwis [Thu, 25 Feb 2010 20:45:06 +0000 (20:45 +0000)]
Merged revisions 78327,78399,78454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78327 | andrew.kuchling | 2010-02-22 18:21:54 +0100 (Mo, 22 Feb 2010) | 1 line
Note granting of commit privileges to Larry Hastings
........
r78399 | brett.cannon | 2010-02-24 02:38:04 +0100 (Mi, 24 Feb 2010) | 1 line
Record that Dino Viehland got commit privs.
........
r78454 | martin.v.loewis | 2010-02-25 21:42:40 +0100 (Do, 25 Feb 2010) | 2 lines
Add Florent Xicluna.
........
Ezio Melotti [Thu, 25 Feb 2010 17:53:21 +0000 (17:53 +0000)]
Blocked revisions 78449 via svnmerge
........
r78449 | ezio.melotti | 2010-02-25 19:36:04 +0200 (Thu, 25 Feb 2010) | 1 line
#7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
........
Eric Smith [Thu, 25 Feb 2010 14:58:13 +0000 (14:58 +0000)]
Merged revisions 78444 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78444 | eric.smith | 2010-02-25 09:26:33 -0500 (Thu, 25 Feb 2010) | 1 line
Issue #7928: Document str.format element_index better.
........
Eric Smith [Thu, 25 Feb 2010 14:18:57 +0000 (14:18 +0000)]
Merged revisions 78440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78440 | eric.smith | 2010-02-25 09:14:35 -0500 (Thu, 25 Feb 2010) | 1 line
Issue #5965: Add documentation for parts of format specification language.
........
Benjamin Peterson [Thu, 25 Feb 2010 01:22:28 +0000 (01:22 +0000)]
plug reference leak
Larry Hastings [Wed, 24 Feb 2010 22:49:58 +0000 (22:49 +0000)]
Issue #5939: Add additional runtime checking to ensure a valid capsule
in Modules/_ctypes/callproc.c. Reviewed by Benjamin P. My first commit!
Senthil Kumaran [Wed, 24 Feb 2010 21:03:37 +0000 (21:03 +0000)]
Merged revisions 78431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
........
Ezio Melotti [Wed, 24 Feb 2010 16:55:43 +0000 (16:55 +0000)]
Merged revisions 78424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78424 | ezio.melotti | 2010-02-24 18:49:56 +0200 (Wed, 24 Feb 2010) | 1 line
typos
........
Senthil Kumaran [Wed, 24 Feb 2010 16:53:16 +0000 (16:53 +0000)]
Merged revisions 78422 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines
Fix for Issue3819 - urllib2 sends Basic auth across redirects
........
Eric Smith [Wed, 24 Feb 2010 15:42:29 +0000 (15:42 +0000)]
Merged revisions 78418 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78418 | eric.smith | 2010-02-24 09:15:36 -0500 (Wed, 24 Feb 2010) | 1 line
Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
........
R. David Murray [Wed, 24 Feb 2010 02:37:33 +0000 (02:37 +0000)]
Blocked revisions 78412 via svnmerge
........
r78412 | r.david.murray | 2010-02-23 21:31:27 -0500 (Tue, 23 Feb 2010) | 6 lines
Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to
MutableMapping, and thereby lost functionality because the replacement
functionality was implemented incorrectly or incompletely). Since bsddb
isn't in py3k, this patch just goes back to using DictMixin in order to
correct the regression.
........
Benjamin Peterson [Wed, 24 Feb 2010 02:28:05 +0000 (02:28 +0000)]
Merged revisions 78408 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r78408 | benjamin.peterson | 2010-02-23 20:24:35 -0600 (Tue, 23 Feb 2010) | 9 lines
Merged revisions 78407 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line
rewrite test to not rely on __doc__ being present
........
................
R. David Murray [Wed, 24 Feb 2010 02:11:08 +0000 (02:11 +0000)]
Merged revisions 78403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78403 | r.david.murray | 2010-02-23 21:08:28 -0500 (Tue, 23 Feb 2010) | 3 lines
The primary copy of lib2to3 is not trunk, so the lib2to3 change
should not have been included in the -OO patch, back it out.
........
R. David Murray [Wed, 24 Feb 2010 01:46:21 +0000 (01:46 +0000)]
Merged revisions 78351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78351 | r.david.murray | 2010-02-22 19:24:49 -0500 (Mon, 22 Feb 2010) | 5 lines
Issue 6292: for the moment at least, the test suite passes if run
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
........
Amaury Forgeot d'Arc [Wed, 24 Feb 2010 00:10:48 +0000 (00:10 +0000)]
Merged revisions 78393 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78393 | amaury.forgeotdarc | 2010-02-24 00:19:39 +0100 (mer., 24 févr. 2010) | 2 lines
#4852: Remove dead code in every thread implementation, unused for many years.
........
Victor Stinner [Tue, 23 Feb 2010 23:21:33 +0000 (23:21 +0000)]
Blocked revisions 78392 via svnmerge
........
r78392 | victor.stinner | 2010-02-24 00:16:07 +0100 (mer., 24 févr. 2010) | 4 lines
Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
........
R. David Murray [Tue, 23 Feb 2010 23:00:34 +0000 (23:00 +0000)]
Fix version added for csv writeheader.
R. David Murray [Tue, 23 Feb 2010 22:57:58 +0000 (22:57 +0000)]
Merged revisions 78384 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines
Fix #
1537721 : add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
........
Thomas Heller [Tue, 23 Feb 2010 20:25:02 +0000 (20:25 +0000)]
Merged revisions 78380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines
ctypes CThunkObject was not registered correctly with the cycle
garbage collector, leading to possible leaks when using callback
functions.
........