Benjamin Peterson
c2575d55cd
remove VISIT_*_IN_BLOCK macros
...
These are pointless because on error, all blocks will be finalized by
symtable_dealloc.
2011-06-29 15:27:14 -05:00
Victor Stinner
e15bfeb8ce
(merge 3.2) Issue #12400 : regrtest.runtest() uses stream.seek(0) before .truncate()
...
.truncate(0) doesn't rewind.
2011-06-29 20:03:13 +02:00
Victor Stinner
fcc2a21fae
Issue #12400 : regrtest.runtest() uses stream.seek(0) before .truncate()
...
.truncate(0) doesn't rewind.
2011-06-29 20:01:29 +02:00
Victor Stinner
e6db1440d8
(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.
2011-06-29 18:12:33 +02:00
Victor Stinner
592f679dce
Issue #12400 : test_zipimport_support doesn't restore original sys.stdout
...
anymore
regrtest doesn't check that a test doesn't output anything anymore.
2011-06-29 18:11:36 +02:00
Victor Stinner
fa832dea2a
(merge 3.2) Issue #12400 : runtest() truncates the StringIO stream before a new
...
test
2011-06-29 17:29:22 +02:00
Victor Stinner
85b3a492d6
Issue #12400 : runtest() truncates the StringIO stream before a new test
2011-06-29 17:26:38 +02:00
Victor Stinner
68416f0ae5
(merge 3.2) Issue #12400 : Add missing import (os) to test_kqueue
2011-06-29 17:20:33 +02:00
Victor Stinner
125b2ba41e
Issue #12400 : Add missing import (os) to test_kqueue
2011-06-29 17:20:02 +02:00
Victor Stinner
05d34fc953
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.
2011-06-29 15:53:11 +02:00
Victor Stinner
bddc4d4607
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.
2011-06-29 15:52:46 +02:00
Victor Stinner
ba08905062
(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.
2011-06-29 15:38:18 +02:00
Victor Stinner
ea95de75dd
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.
2011-06-29 15:34:48 +02:00
Victor Stinner
d71bd9a9a4
(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
2011-06-29 15:25:40 +02:00
Victor Stinner
8313d6aef8
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
2011-06-29 15:22:26 +02:00
Victor Stinner
7348c6bbb6
(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).
2011-06-29 14:59:46 +02:00
Victor Stinner
46b2091146
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).
2011-06-29 14:59:10 +02:00
Victor Stinner
7e32f3a401
Issue #12400 : fix test_faulthandler if regrtest captures sys.stderr
...
faulthandler.enable() requires that sys.stderr has a fileno() method.
2011-06-29 13:44:05 +02:00
Victor Stinner
0b8f0c2766
(merge 3.2) Issue #12400 : remove unused import
2011-06-29 13:24:58 +02:00
Victor Stinner
bd98f9367c
Issue #12400 : remove unused variable
2011-06-29 13:24:28 +02:00
Victor Stinner
565dbadc22
Issue #12400 : oops, remove debug code...
2011-06-29 13:23:49 +02:00
Victor Stinner
e2185d714b
(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.
2011-06-29 13:04:35 +02:00
Victor Stinner
a7c33e5168
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.
2011-06-29 13:00:54 +02:00
Victor Stinner
9e8b82f1e1
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.
2011-06-29 10:43:02 +02:00
Ned Deily
470e0dc23a
Merge 3.2 to default
2011-06-28 20:22:30 -07:00
Ned Deily
eb5af22080
Merge 3.2
2011-06-28 20:19:36 -07:00
Ned Deily
bf430cde2d
Merge default.
2011-06-28 20:16:55 -07:00
Ned Deily
044369fd52
Issue #9516 : Update Misc/NEWS to include packaging.
2011-06-28 20:08:34 -07:00
Ned Deily
fceb4120fc
Issue #9516 : Port the revised deployment target processing for OSX from
...
distutils to packaging.
2011-06-28 20:04:24 -07:00
Ned Deily
5c727cb978
Issue #9516 : Port OS X deployment target tests from distutils to packaging
...
test_command_build_ext.
2011-06-28 20:03:17 -07:00
Ned Deily
8c86d308a1
Issue #9516 : Merge Distutils changes from 3.2
2011-06-28 20:01:52 -07:00
Ned Deily
657b2de893
Issue #9516 : Update Misc/NEWS.
2011-06-28 19:51:30 -07:00
Benjamin Peterson
4f86193a68
merge 3.2
2011-06-28 21:49:49 -05:00
Benjamin Peterson
84d8fcfcf7
merge 3.1
2011-06-28 21:49:40 -05:00
Ned Deily
a8f8b50bd7
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.
2011-06-28 19:44:24 -07:00
Ned Deily
d13007fa11
Issue #9516 : Correct and expand OS X deployment target tests in distutils
...
test_build_ext.
2011-06-28 19:43:15 -07:00
Benjamin Peterson
274271d1ae
remove unused imports ( closes #12432 )
...
A patch from Vincent Legoll.
2011-06-28 10:25:04 -05:00
Benjamin Peterson
e4a51e6543
use the Include in srcdir
2011-06-28 09:26:39 -05:00
Ned Deily
4a1ec12999
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.
2011-06-28 00:53:54 -07:00
Ned Deily
58f27b203c
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.
2011-06-28 00:42:50 -07:00
Ned Deily
8b56c4b1b8
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)
2011-06-28 00:13:01 -07:00
Ned Deily
3eb67d58d6
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)
2011-06-28 00:00:28 -07:00
Ned Deily
f6837aa171
Issue #10736 : Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
...
2.8 + on Mac OS X. (Patch by Ronald Oussoren)
2011-06-27 23:18:45 -07:00
Ned Deily
11f00f3b00
Issue #10736 : Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
...
on Mac OS X. (Patch by Ronald Oussoren)
2011-06-27 23:12:20 -07:00
Benjamin Peterson
4177eff088
general cleaning up
2011-06-27 18:25:06 -05:00
Benjamin Peterson
fbf528f06c
remove svn support
2011-06-27 17:59:45 -05:00
Benjamin Peterson
b37db00c46
merge 3.2
2011-06-27 17:51:44 -05:00
Benjamin Peterson
68b543aa02
fix ws
2011-06-27 17:51:18 -05:00
Benjamin Peterson
9df8874b41
merge 3.2 ( #11302 )
2011-06-27 17:50:14 -05:00
Benjamin Peterson
6ccfe85847
add more ast tests ( closes #11302 )
...
A patch from Vincent Legoll.
2011-06-27 17:46:06 -05:00