]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 29 Jun 2011 16:12:33 +0000 (18:12 +0200)]
(merge 3.2) Issue #12400: test_zipimport_support doesn't restore original
sys.stdout anymore
regrtest doesn't check that a test doesn't output anything anymore.
Victor Stinner [Wed, 29 Jun 2011 16:11:36 +0000 (18:11 +0200)]
Issue #12400: test_zipimport_support doesn't restore original sys.stdout
anymore
regrtest doesn't check that a test doesn't output anything anymore.
Victor Stinner [Wed, 29 Jun 2011 15:29:22 +0000 (17:29 +0200)]
(merge 3.2) Issue #12400: runtest() truncates the StringIO stream before a new
test
Victor Stinner [Wed, 29 Jun 2011 15:26:38 +0000 (17:26 +0200)]
Issue #12400: runtest() truncates the StringIO stream before a new test
Victor Stinner [Wed, 29 Jun 2011 15:20:33 +0000 (17:20 +0200)]
(merge 3.2) Issue #12400: Add missing import (os) to test_kqueue
Victor Stinner [Wed, 29 Jun 2011 15:20:02 +0000 (17:20 +0200)]
Issue #12400: Add missing import (os) to test_kqueue
Victor Stinner [Wed, 29 Jun 2011 13:53:11 +0000 (15:53 +0200)]
Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore
regrtest doesn't check that tests doesn't write something to stdout anymore.
Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W.
Victor Stinner [Wed, 29 Jun 2011 13:52:46 +0000 (15:52 +0200)]
Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore
regrtest doesn't check that tests doesn't write something to stdout anymore.
Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W.
Victor Stinner [Wed, 29 Jun 2011 13:38:18 +0000 (15:38 +0200)]
(merge 3.2) Issue #12400: regrtest, force verbose mode to True with option -W
If verbose is False, the output is empty. Fix also a typo in a variable name.
Victor Stinner [Wed, 29 Jun 2011 13:34:48 +0000 (15:34 +0200)]
Issue #12400: regrtest, force verbose mode to True with option -W
If verbose is False, the output is empty. Fix also a typo in a variable name.
Victor Stinner [Wed, 29 Jun 2011 13:25:40 +0000 (15:25 +0200)]
(merge 3.2) Issue #12400: runtest() reuses the same io.StringIO instance for
all calls
* Don't force verbose to True with option -W
* Rename rerun_failed variable to output_on_failure
Victor Stinner [Wed, 29 Jun 2011 13:22:26 +0000 (15:22 +0200)]
Issue #12400: runtest() reuses the same io.StringIO instance for all calls
* Don't force verbose to True with option -W
* Rename rerun_failed variable to output_on_failure
Victor Stinner [Wed, 29 Jun 2011 12:59:46 +0000 (14:59 +0200)]
(merge 3.2) Issue #12400: don't use sys.stderr in test_kqueue because it may be
replaced by a io.StringIO object by regrtest (which has no file descriptor).
Victor Stinner [Wed, 29 Jun 2011 12:59:10 +0000 (14:59 +0200)]
Issue #12400: don't use sys.stderr in test_kqueue because it may be replaced by
a io.StringIO object by regrtest (which has no file descriptor).
Victor Stinner [Wed, 29 Jun 2011 11:44:05 +0000 (13:44 +0200)]
Issue #12400: fix test_faulthandler if regrtest captures sys.stderr
faulthandler.enable() requires that sys.stderr has a fileno() method.
Victor Stinner [Wed, 29 Jun 2011 11:24:58 +0000 (13:24 +0200)]
(merge 3.2) Issue #12400: remove unused import
Victor Stinner [Wed, 29 Jun 2011 11:24:28 +0000 (13:24 +0200)]
Issue #12400: remove unused variable
Victor Stinner [Wed, 29 Jun 2011 11:23:49 +0000 (13:23 +0200)]
Issue #12400: oops, remove debug code...
Victor Stinner [Wed, 29 Jun 2011 11:04:35 +0000 (13:04 +0200)]
(merge 3.2) Issue #12400: regrtest -W doesn't rerun the tests twice anymore,
but captures the output and displays it on failure instead. regrtest -v doesn't
print the error twice anymore if there is only one error.
Victor Stinner [Wed, 29 Jun 2011 11:00:54 +0000 (13:00 +0200)]
Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures
the output and displays it on failure instead. regrtest -v doesn't print the
error twice anymore if there is only one error.
Victor Stinner [Wed, 29 Jun 2011 08:43:02 +0000 (10:43 +0200)]
Issue #12303: run sig*wait*() tests in a subprocesss
... instead of using fork(): sig*wait*() functions behave differently (not
correctly) after a fork, especially on FreeBSD 6.
Skip also test_sigtimedwait_poll() on FreeBSD 6 because of a kernel bug.
Ned Deily [Wed, 29 Jun 2011 03:22:30 +0000 (20:22 -0700)]
Merge 3.2 to default
Ned Deily [Wed, 29 Jun 2011 03:19:36 +0000 (20:19 -0700)]
Merge 3.2
Ned Deily [Wed, 29 Jun 2011 03:16:55 +0000 (20:16 -0700)]
Merge default.
Ned Deily [Wed, 29 Jun 2011 03:08:34 +0000 (20:08 -0700)]
Issue #9516: Update Misc/NEWS to include packaging.
Ned Deily [Wed, 29 Jun 2011 03:04:24 +0000 (20:04 -0700)]
Issue #9516: Port the revised deployment target processing for OSX from
distutils to packaging.
Ned Deily [Wed, 29 Jun 2011 03:03:17 +0000 (20:03 -0700)]
Issue #9516: Port OS X deployment target tests from distutils to packaging
test_command_build_ext.
Ned Deily [Wed, 29 Jun 2011 03:01:52 +0000 (20:01 -0700)]
Issue #9516: Merge Distutils changes from 3.2
Ned Deily [Wed, 29 Jun 2011 02:51:30 +0000 (19:51 -0700)]
Issue #9516: Update Misc/NEWS.
Benjamin Peterson [Wed, 29 Jun 2011 02:49:49 +0000 (21:49 -0500)]
merge 3.2
Benjamin Peterson [Wed, 29 Jun 2011 02:49:40 +0000 (21:49 -0500)]
merge 3.1
Ned Deily [Wed, 29 Jun 2011 02:44:24 +0000 (19:44 -0700)]
Issue #9516: Change distutils to no longer globally attempt to check and
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process
on OS X. This could cause failures in non-distutils subprocesses and was
unreliable since tests or user programs could modify the interpreter
environment after distutils set it. Instead, have distutils set the
the deployment target only in the environment of each build subprocess.
Continue to use the previous algorithm for deriving the deployment target
value:
if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env:
use the interpreter build configure MACOSX_DEPLOYMENT_TARGET
elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value:
use the env MACOSX_DEPLOYMENT_TARGET
else: # env value less than interpreter build configure value
raise exception
This allows building extensions that can only run on newer versions of
the OS than the version python was built for, for example with a python
built for 10.3 or later and an extension that needs to be built for 10.5.
Ned Deily [Wed, 29 Jun 2011 02:43:15 +0000 (19:43 -0700)]
Issue #9516: Correct and expand OS X deployment target tests in distutils
test_build_ext.
Benjamin Peterson [Tue, 28 Jun 2011 15:25:04 +0000 (10:25 -0500)]
remove unused imports (closes #12432)
A patch from Vincent Legoll.
Benjamin Peterson [Tue, 28 Jun 2011 14:26:39 +0000 (09:26 -0500)]
use the Include in srcdir
Ned Deily [Tue, 28 Jun 2011 07:53:54 +0000 (00:53 -0700)]
Issue #12141: Install copies of template C module file so that
test_build_ext of test_distutils and test_command_build_ext of
test_packaging are no longer silently skipped when
run outside of a build directory.
Ned Deily [Tue, 28 Jun 2011 07:42:50 +0000 (00:42 -0700)]
Issue #12141: Install a copy of template C module file so that
test_build_ext of test_distutils is no longer silently skipped when
run outside of a build directory.
Ned Deily [Tue, 28 Jun 2011 07:13:01 +0000 (00:13 -0700)]
Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
Ned Deily [Tue, 28 Jun 2011 07:00:28 +0000 (00:00 -0700)]
Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
Ned Deily [Tue, 28 Jun 2011 06:18:45 +0000 (23:18 -0700)]
Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
2.8 + on Mac OS X. (Patch by Ronald Oussoren)
Ned Deily [Tue, 28 Jun 2011 06:12:20 +0000 (23:12 -0700)]
Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
on Mac OS X. (Patch by Ronald Oussoren)
Benjamin Peterson [Mon, 27 Jun 2011 23:25:06 +0000 (18:25 -0500)]
general cleaning up
Benjamin Peterson [Mon, 27 Jun 2011 22:59:45 +0000 (17:59 -0500)]
remove svn support
Benjamin Peterson [Mon, 27 Jun 2011 22:51:44 +0000 (17:51 -0500)]
merge 3.2
Benjamin Peterson [Mon, 27 Jun 2011 22:51:18 +0000 (17:51 -0500)]
fix ws
Benjamin Peterson [Mon, 27 Jun 2011 22:50:14 +0000 (17:50 -0500)]
merge 3.2 (#11302)
Benjamin Peterson [Mon, 27 Jun 2011 22:46:06 +0000 (17:46 -0500)]
add more ast tests (closes #11302)
A patch from Vincent Legoll.
Benjamin Peterson [Mon, 27 Jun 2011 21:22:46 +0000 (16:22 -0500)]
don't memoize objects that are their own copies (closes #12422)
Patch mostly by Alex Gaynor.
Senthil Kumaran [Mon, 27 Jun 2011 16:07:14 +0000 (09:07 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 27 Jun 2011 16:06:45 +0000 (09:06 -0700)]
Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object.
Vinay Sajip [Mon, 27 Jun 2011 14:40:06 +0000 (15:40 +0100)]
Closes #12419: Added ident to SysLogHandler.
Benjamin Peterson [Mon, 27 Jun 2011 14:19:02 +0000 (09:19 -0500)]
merge 3.2
Benjamin Peterson [Mon, 27 Jun 2011 14:18:46 +0000 (09:18 -0500)]
strip trailing ws
Benjamin Peterson [Mon, 27 Jun 2011 14:16:47 +0000 (09:16 -0500)]
merge heads
Benjamin Peterson [Mon, 27 Jun 2011 14:16:40 +0000 (09:16 -0500)]
merge 3.2
Benjamin Peterson [Mon, 27 Jun 2011 14:16:14 +0000 (09:16 -0500)]
merge heads
Benjamin Peterson [Mon, 27 Jun 2011 14:15:19 +0000 (09:15 -0500)]
merge 3.2 (#12417)
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)
Giampaolo Rodola' [Mon, 27 Jun 2011 09:17:51 +0000 (11:17 +0200)]
Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.
Senthil Kumaran [Mon, 27 Jun 2011 06:49:49 +0000 (23:49 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 27 Jun 2011 06:48:23 +0000 (23:48 -0700)]
Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.
Raymond Hettinger [Sun, 26 Jun 2011 13:29:27 +0000 (15:29 +0200)]
Issue #8890: Remove /tmp from examples.
Raymond Hettinger [Sun, 26 Jun 2011 13:29:06 +0000 (15:29 +0200)]
Issue #8890: Remove /tmp from examples.
Raymond Hettinger [Sun, 26 Jun 2011 12:30:25 +0000 (14:30 +0200)]
Issue #4608: urllib.request.urlopen does not return an iterable object
Raymond Hettinger [Sun, 26 Jun 2011 12:29:35 +0000 (14:29 +0200)]
Issue #4608: urllib.request.urlopen does not return an iterable object
Ezio Melotti [Sun, 26 Jun 2011 10:39:35 +0000 (13:39 +0300)]
#11363: merge with 3.2.
Ezio Melotti [Sun, 26 Jun 2011 10:34:56 +0000 (13:34 +0300)]
#11363: add missing functions from curses doc. Patch by Sandro Tosi.
Ezio Melotti [Sun, 26 Jun 2011 10:38:11 +0000 (13:38 +0300)]
#11363: clean up curses doc.
Ezio Melotti [Sun, 26 Jun 2011 08:38:08 +0000 (11:38 +0300)]
#11669: merge with 3.2.
Ezio Melotti [Sun, 26 Jun 2011 08:25:28 +0000 (11:25 +0300)]
#11669: rephrase footnote in the Compound Statements page.
Benjamin Peterson [Sun, 26 Jun 2011 03:54:45 +0000 (22:54 -0500)]
map cells to arg slots at code creation time (closes #12399)
This removes nested loops in PyEval_EvalCodeEx.
Ezio Melotti [Sat, 25 Jun 2011 17:30:52 +0000 (20:30 +0300)]
Merge heads.
Ezio Melotti [Sat, 25 Jun 2011 17:10:39 +0000 (20:10 +0300)]
Backed out changeset
ef306bd1d122
Ezio Melotti [Sat, 25 Jun 2011 16:40:06 +0000 (19:40 +0300)]
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
Ezio Melotti [Sat, 25 Jun 2011 16:40:06 +0000 (19:40 +0300)]
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
Raymond Hettinger [Sat, 25 Jun 2011 15:20:21 +0000 (17:20 +0200)]
Issue 11802: filecmp cache was growing without bound.
Raymond Hettinger [Sat, 25 Jun 2011 14:30:39 +0000 (16:30 +0200)]
Issue 12086: add example showing how to use name mangling.
Raymond Hettinger [Sat, 25 Jun 2011 13:00:14 +0000 (15:00 +0200)]
Issue 11889: Clarify docs for enumerate.
Mark Dickinson [Sat, 25 Jun 2011 11:29:14 +0000 (13:29 +0200)]
Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro.
Mark Dickinson [Sat, 25 Jun 2011 10:04:08 +0000 (12:04 +0200)]
Merge #12228
Mark Dickinson [Sat, 25 Jun 2011 10:03:33 +0000 (12:03 +0200)]
Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
Raymond Hettinger [Sat, 25 Jun 2011 09:50:00 +0000 (11:50 +0200)]
merge
Raymond Hettinger [Sat, 25 Jun 2011 09:39:00 +0000 (11:39 +0200)]
Fix typo (reported by Hiro Ashiya).
Ezio Melotti [Sat, 25 Jun 2011 09:36:38 +0000 (12:36 +0300)]
#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
Raymond Hettinger [Sat, 25 Jun 2011 15:21:04 +0000 (17:21 +0200)]
Issue 11802: filecmp cache was growing without bound.
Raymond Hettinger [Sat, 25 Jun 2011 14:31:06 +0000 (16:31 +0200)]
Issue 12086: add example showing how to use name mangling.
Raymond Hettinger [Sat, 25 Jun 2011 13:54:52 +0000 (15:54 +0200)]
Issue 11758: increase xml.dom.minidom test coverage (contributed by mdorn, reviewed by Sandro Tosi).
Ross Lagerwall [Sat, 25 Jun 2011 13:03:52 +0000 (15:03 +0200)]
Fix test_signal on Windows after #12303.
Raymond Hettinger [Sat, 25 Jun 2011 13:00:46 +0000 (15:00 +0200)]
Issue 11889: Clarify docs for enumerate.
Mark Dickinson [Sat, 25 Jun 2011 11:29:49 +0000 (13:29 +0200)]
Issue #12408: Merge.
Ross Lagerwall [Sat, 25 Jun 2011 10:13:40 +0000 (12:13 +0200)]
Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module.
Mark Dickinson [Sat, 25 Jun 2011 10:04:45 +0000 (12:04 +0200)]
Merge #12228
Raymond Hettinger [Sat, 25 Jun 2011 09:52:37 +0000 (11:52 +0200)]
merge
Raymond Hettinger [Sat, 25 Jun 2011 09:48:54 +0000 (11:48 +0200)]
merge
Raymond Hettinger [Sat, 25 Jun 2011 09:40:20 +0000 (11:40 +0200)]
merge
Raymond Hettinger [Sat, 25 Jun 2011 09:39:42 +0000 (11:39 +0200)]
Fix typo (reported by Hiro Ashiya).
Ezio Melotti [Sat, 25 Jun 2011 09:38:16 +0000 (12:38 +0300)]
Merge with 3.2.
Ezio Melotti [Sat, 25 Jun 2011 09:36:38 +0000 (12:36 +0300)]
#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
Raymond Hettinger [Sat, 25 Jun 2011 09:31:46 +0000 (11:31 +0200)]
Code simplification suggested by Sven Marnach.