Antoine Pitrou
2960308c0c
Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
...
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.
2011-07-08 19:40:15 +02:00
Antoine Pitrou
a4d58d26a1
Avoid failing in test_urllibnet.test_bad_address when some overzealous
...
DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test
is now skipped instead.
2011-07-08 19:14:19 +02:00
Victor Stinner
8703be94b1
Issue #12423 : Fix os.abort() documentation
...
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:14:55 +02:00
Victor Stinner
ba8b3a2ca7
Close #12501 : Adjust callable() warning: callable() is only not supported in
...
Python 3.1. callable() is again supported in Python 3.2.
2011-07-08 02:07:45 +02:00
Ned Deily
885b164bfe
Issue #8716 : Instead of relying on Aqua Tk exceptions to detect lack of
...
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
2011-07-05 19:08:38 -07:00
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
59729ff609
Issue #9611 , #9015 : FileIO.read(), FileIO.readinto(), FileIO.write() and
...
os.write() clamp the length to INT_MAX on Windows.
2011-07-05 11:28:19 +02:00
Benjamin Peterson
4833c98f85
start out this branch always with filename NULL
2011-07-04 22:27:16 -05:00
Senthil Kumaran
6f18b98782
Fix closes issue10403 - Let's not use members anymore.
2011-07-04 12:50:02 -07: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
Benjamin Peterson
9b6c60530b
plug refleak
2011-07-03 22:18:34 -05: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
Senthil Kumaran
e04d256c2d
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.
2011-07-03 10:12:59 -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
Antoine Pitrou
ff48c0a89b
Really fix issue #10898 : posixmodule.c redefines FSTAT
2011-07-01 22:56:03 +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
470a41078b
Merge 2.7
2011-06-28 20:13:03 -07:00
Benjamin Peterson
a48f4f4b81
merge 2.6
2011-06-28 21:58:27 -05:00
Benjamin Peterson
5ac56d275d
fix ws
2011-06-28 21:57:21 -05:00
Ned Deily
87e82bb0e3
Issue #9516 : Update Misc/NEWS.
2011-06-28 19:52:59 -07: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
Guido van Rossum
1ce5d181d7
Minimal changes to make byext.py script work with Python 3 syntax.
2011-06-28 10:33:38 -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
4a5d599b36
merge heads
2011-06-27 09:16:23 -05:00
Benjamin Peterson
1105f34a2b
update profile license ( closes #12417 )
2011-06-27 09:14:34 -05:00
Benjamin Peterson
7e6b3aac85
update profile license ( closes #12417 )
2011-06-27 09:14:34 -05:00
Senthil Kumaran
2bd9100b2a
Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.
2011-06-26 23:50:35 -07: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
Ezio Melotti
4601530137
#11363 : add missing functions from curses doc. Patch by Sandro Tosi.
2011-06-26 13:34:56 +03:00
Ezio Melotti
14989cf4d1
#11363 : clean up curses doc.
2011-06-26 13:33:46 +03:00
Ezio Melotti
99c9c8534f
#11669 : rephrase footnote in the Compound Statements page.
2011-06-26 11:25:28 +03:00
Senthil Kumaran
7bf5ba0f79
Fix Issue10020 - Doc update to sqlite3 module in 2.7 branch.
2011-06-25 20:48:21 -07:00
Ezio Melotti
196273e1d0
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
2011-06-25 19:40:06 +03:00