Ned Deily
09f6ab0d0f
Issue #8716 : Back out temporary changeset 18ce15f841cf
2011-07-05 15:09:32 -07:00
Ned Deily
8c653e094b
Issue #8716 : Add temporary code for 2.7 to help diagnose buildbot failure.
2011-07-05 14:16:03 -07:00
Victor Stinner
b78fed9ee6
Issue #12493 : skip test_communicate_eintr() if signal.SIGALRM is missing
2011-07-05 14:50:35 +02:00
Victor Stinner
e790131dc6
Issue #12493 : subprocess: communicate() handles EINTR
...
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
2011-07-05 14:08:01 +02:00
Victor Stinner
4c41f84033
test_io: make quiet the DeprecationWarning('classic int division')
2011-07-05 13:29:26 +02:00
Victor Stinner
42dcc679c2
test_array: make quiet the DeprecationWarning
2011-07-05 13:14:17 +02:00
Victor Stinner
49d495fa25
Issue #12429 : Skip interrupted write tests on FreeBSD <= 7
...
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
2011-07-04 11:44:46 +02:00
Ned Deily
eee1048e7b
Issue #8716 : Fix errors in the non-OS X path of the 27 backport.
2011-07-03 23:16:49 -07:00
Ned Deily
46268c49f6
Issue #8716 : Avoid crashes caused by Aqua Tk on OSX when attempting to run
...
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
2011-07-03 21:52:35 -07:00
Ned Deily
9a7a4cc3a7
Issue #10734 : Temporarily disable test_ttk test_heading_callback on 2.7 as well.
2011-07-03 21:37:03 -07:00
Victor Stinner
65c153547b
Issue #12467 : warnings: fix a race condition if a warning is emitted at
...
shutdown, if globals()['__file__'] is None.
2011-07-04 03:05:37 +02:00
Senthil Kumaran
13502b19c6
Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg.
2011-07-03 17:38:53 -07:00
Charles-François Natali
7c20ad32fd
Issue #12352 : In test_free_from_gc(), restore the GC thresholds even if the GC
...
wasn't enabled at first.
2011-07-02 14:08:27 +02:00
Charles-François Natali
414d0faedc
Issue #12352 : Fix a deadlock in multiprocessing.Heap when a block is freed by
...
the garbage collector while the Heap lock is held.
2011-07-02 13:56:19 +02:00
Victor Stinner
041d2e1e1e
Issue #11870 : Skip test_threading.test_2_join_in_forked_process() on platforms
...
with known OS bugs
Share the list of platforms with known OS bugs with other tests. Patch written
by Charles-François Natali.
2011-07-01 15:04:03 +02:00
Raymond Hettinger
bf7a266074
Fixup repr for dict_proxy objects.
2011-06-30 00:44:36 +01:00
Ned Deily
041645a8cb
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:40:39 -07:00
Ned Deily
053c6ad6b7
Issue #9516 : Correct and expand OS X deployment target tests in distutils
...
test_build_ext.
2011-06-28 19:39:10 -07:00
Ned Deily
63144c6444
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:39:19 -07:00
Ned Deily
43e1054e38
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-27 23:41:53 -07:00
Ned Deily
64e59959f2
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:09:31 -07:00
Benjamin Peterson
c98198d3ca
fix ws
2011-06-27 17:51:18 -05:00
Benjamin Peterson
90ebedc626
add more ast tests ( closes #11302 )
...
A patch from Vincent Legoll.
2011-06-27 17:46:06 -05:00
Benjamin Peterson
cfb7731dd2
strip trailing ws
2011-06-27 09:18:46 -05:00
Benjamin Peterson
7e6b3aac85
update profile license ( closes #12417 )
2011-06-27 09:14:34 -05:00
Senthil Kumaran
e4ef726879
Fix closes issue1067702 The problem with close multiple ftp transfers were due cases where sockets/file were not closed immediately. Tightned those cases and failure is no longer observed.
2011-06-26 13:45:17 -07:00
Raymond Hettinger
2c316a3e29
Issue 11802: filecmp cache was growing without bound.
2011-06-25 17:14:53 +02:00
Raymond Hettinger
67a3e8336f
Issue 10326: Fix regression to get test cases to pickle again.
2011-06-25 12:16:25 +02:00
Raymond Hettinger
cba87311d2
Code simplification suggested by Sven Marnach.
2011-06-25 11:24:35 +02:00
Victor Stinner
ecb863b29e
Revert d370d609d09b as requested by Terry Jan Reedy:
...
"#3067 : locale.setlocale() accepts a Unicode locale."
2011-06-20 22:07:06 +02:00
Victor Stinner
f64a0cffca
Issue #12285 : multiprocessing.Pool() raises a ValueError if the number of
...
processes if negative or null.
2011-06-20 17:54:33 +02:00
Victor Stinner
c36c6ccb41
Close #3067 : locale.setlocale() accepts a Unicode locale.
2011-06-20 16:14:48 +02:00
R David Murray
f1138bb1b6
#11700 : proxy object close methods can now be called multiple times
...
This makes them work like the close provided by regular file objects. This
patch also backports the close-the-underlying-file code for _ProxyFile objects
that was introduced along with context manager support in the 3.x branch.
2011-06-17 22:23:04 -04:00
Victor Stinner
c74a6ba2d6
Issue #12133 : AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
...
connection if its getresponse() method fails with a socket error. Patch written
by Ezio Melotti.
2011-06-17 14:06:27 +02:00
Benjamin Peterson
0eb4ac4c62
allow "fake" filenames in findsource ( closes #9284 )
...
This allows findsource() to work in doctests.
A patch from Dirkjan Ochtman.
2011-06-11 15:53:11 -05:00
Benjamin Peterson
a573e0df36
merge 2.7.2 release branch
2011-06-11 09:51:21 -05:00
Benjamin Peterson
377510d2d9
update pydoc-topics
2011-06-11 09:50:21 -05:00
Benjamin Peterson
9843ba5e54
bump to 2.7.2 final
2011-06-11 09:42:44 -05:00
Benjamin Peterson
b30d5c711e
merge heads
2011-06-10 11:33:58 -05:00
Benjamin Peterson
8b8162d868
merge 2.7.2 release branch with fix for #12009
2011-06-10 11:33:41 -05:00
Benjamin Peterson
43ee1a5d90
fix regression in netrc comment handling ( closes #12009 )
2011-06-10 11:32:52 -05:00
R David Murray
873c583244
#10694 : zipfile now ignores garbage at the end of a zipfile.
...
Original fix by 'rep', final patch (with tests) by Xuanji Li.
2011-06-09 16:01:09 -04:00
Brian Curtin
5446f08c60
Correction to f1509fc75435 - Issue #11583
...
Rather than wrapping the C _isdir function in a Python function,
just import the C _isdir function directly. Additionally, add in the
docstring which was left out.
2011-06-09 10:00:42 -05:00
Brian Curtin
caea7e8d23
Merge
2011-06-08 19:29:53 -05:00
Éric Araujo
ce5493f33d
Branch merge
2011-06-06 17:11:31 +02:00
Éric Araujo
865b573c04
Remove unnecessary executable bit on one distutils file
2011-06-04 20:45:33 +02:00
Mark Dickinson
a493ca3fae
Issue #12080 : Fix a performance issue in Decimal._power_exact that caused some corner-case Decimal.__pow__ calls to take an unreasonably long time.
2011-06-04 18:24:15 +01:00
Victor Stinner
e3826c7774
Issue #12016 : Add test_errorhandle() to TestBase_Mapping of
...
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
2011-06-03 23:56:43 +02:00
Raymond Hettinger
45b082935d
Fix named tuples to work with vars().
2011-06-02 20:40:35 -07:00
Victor Stinner
e9b185f263
Issue #12085 : Fix test_subprocess for my previous commit
...
Replace support by test_support, and add captured_stderr() function.
2011-06-01 01:57:48 +02:00