]> granicus.if.org Git - python/log
python
13 years agoIssue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
Victor Stinner [Tue, 5 Jul 2011 12:30:41 +0000 (14:30 +0200)]
Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
scripts using a encoding different than UTF-8 (read the coding cookie of the
script).

13 years agoIssue #12493: subprocess: communicate() handles EINTR
Victor Stinner [Tue, 5 Jul 2011 12:00:56 +0000 (14:00 +0200)]
Issue #12493: subprocess: communicate() handles EINTR

subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.

13 years agoIssue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Victor Stinner [Tue, 5 Jul 2011 09:31:49 +0000 (11:31 +0200)]
Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.

13 years agostart out this branch always with filename NULL
Benjamin Peterson [Tue, 5 Jul 2011 03:27:16 +0000 (22:27 -0500)]
start out this branch always with filename NULL

13 years agoIssue #12497: Install test/data to prevent failures of the various codecmaps
Ned Deily [Tue, 5 Jul 2011 02:06:20 +0000 (19:06 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.

13 years agoIssue #12496: Install test/capath directory to prevent test_connect_capath
Ned Deily [Tue, 5 Jul 2011 00:48:01 +0000 (17:48 -0700)]
Issue #12496:  Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.

13 years agoFix whitespace nit in datetime and os rst files.
Senthil Kumaran [Mon, 4 Jul 2011 18:43:51 +0000 (11:43 -0700)]
Fix whitespace nit in datetime and os rst files.

13 years agoissue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribut...
Senthil Kumaran [Mon, 4 Jul 2011 18:28:30 +0000 (11:28 -0700)]
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.

13 years agoMerge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
Georg Brandl [Mon, 4 Jul 2011 17:55:22 +0000 (19:55 +0200)]
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.

13 years agoIssue #12469: Run "wakeup" signal tests in subprocess to run the test in a
Victor Stinner [Mon, 4 Jul 2011 15:35:10 +0000 (17:35 +0200)]
Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a
fresh process with only one thread and to not change signal handling of the
parent process.

13 years agoIssue #12429: Skip interrupted write tests on FreeBSD <= 7
Victor Stinner [Mon, 4 Jul 2011 09:48:17 +0000 (11:48 +0200)]
Issue #12429: Skip interrupted write tests on FreeBSD <= 7

On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.

13 years agoIssue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
Ned Deily [Mon, 4 Jul 2011 04:56:48 +0000 (21:56 -0700)]
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).

13 years agoFix closes issue12471 - wrong TypeError message when '%i' format spec was used.
Senthil Kumaran [Mon, 4 Jul 2011 04:03:16 +0000 (21:03 -0700)]
Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.

13 years agoplug refleak
Benjamin Peterson [Mon, 4 Jul 2011 03:18:34 +0000 (22:18 -0500)]
plug refleak

13 years agoFix closes issue issue12470 - check for utime for the skipUnless condition.
Senthil Kumaran [Mon, 4 Jul 2011 01:21:38 +0000 (18:21 -0700)]
Fix closes issue issue12470 - check for utime for the skipUnless condition.

13 years agoIssue #12467: warnings: fix a race condition if a warning is emitted at
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.

13 years agoPost-release steps.
Georg Brandl [Mon, 4 Jul 2011 06:20:48 +0000 (08:20 +0200)]
Post-release steps.

13 years agoIssue #12467: warnings: fix a race condition if a warning is emitted at
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.

13 years agoFix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an...
Senthil Kumaran [Mon, 4 Jul 2011 00:39:20 +0000 (17:39 -0700)]
Fix closes issue12438  - idlelib.PyShell's showformatwarning method was passing an incorrect arg.

13 years agoFix closes issue12432 - remove the unused sys from glob.py
Senthil Kumaran [Mon, 4 Jul 2011 00:21:05 +0000 (17:21 -0700)]
Fix closes issue12432 - remove the unused sys from glob.py

13 years agoIssue #12451: pydoc: importfile() now opens the Python script in binary mode,
Victor Stinner [Mon, 4 Jul 2011 00:08:50 +0000 (02:08 +0200)]
Issue #12451: pydoc: importfile() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to avoid encoding issues.

13 years agoIssue #12451: runpy: run_path() now opens the Python script in binary mode,
Victor Stinner [Sun, 3 Jul 2011 23:45:39 +0000 (01:45 +0200)]
Issue #12451: runpy: run_path() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to support other encodings than
UTF-8 (scripts using the coding cookie).

13 years agoIssue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead
Victor Stinner [Sun, 3 Jul 2011 23:25:55 +0000 (01:25 +0200)]
Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead
of the text mode (using the locale encoding) to avoid encoding issues.

13 years agonever retain a generator's caller's exception state on the generator after a yield...
Benjamin Peterson [Sun, 3 Jul 2011 21:25:11 +0000 (16:25 -0500)]
never retain a generator's caller's exception state on the generator after a yield/return

This requires some trickery to properly save the exception state if the
generator creates its own exception state.

13 years agoadd '
Benjamin Peterson [Sun, 3 Jul 2011 18:49:59 +0000 (13:49 -0500)]
add '

13 years agomerge heads
Benjamin Peterson [Sun, 3 Jul 2011 18:44:56 +0000 (13:44 -0500)]
merge heads

13 years agorestore a generator's caller's exception state both on yield and (last) return
Benjamin Peterson [Sun, 3 Jul 2011 18:44:00 +0000 (13:44 -0500)]
restore a generator's caller's exception state both on yield and (last) return

This prevents generator exception state from leaking into the caller.

Closes #12475.

13 years agoadd 3.2.2 heading
Benjamin Peterson [Sun, 3 Jul 2011 18:31:34 +0000 (13:31 -0500)]
add 3.2.2 heading

13 years agoreST indentation fix in sqlite3 docs. rst uses 3 space indentation.
Senthil Kumaran [Sun, 3 Jul 2011 17:17:22 +0000 (10:17 -0700)]
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.

13 years agoAdded tag v3.2.1rc2 for changeset 5df549718fb4
Georg Brandl [Sun, 3 Jul 2011 09:54:09 +0000 (11:54 +0200)]
Added tag v3.2.1rc2 for changeset 5df549718fb4

13 years agoNEWS rewrap. v3.2.1rc2
Georg Brandl [Sun, 3 Jul 2011 07:42:43 +0000 (09:42 +0200)]
NEWS rewrap.

13 years agoBump to 3.2.1rc2.
Georg Brandl [Sun, 3 Jul 2011 07:41:27 +0000 (09:41 +0200)]
Bump to 3.2.1rc2.

13 years agoFix bad markup.
Georg Brandl [Sun, 3 Jul 2011 07:39:49 +0000 (09:39 +0200)]
Fix bad markup.

13 years agoUpdate pydoc topics.
Georg Brandl [Sun, 3 Jul 2011 07:31:04 +0000 (09:31 +0200)]
Update pydoc topics.

13 years agoFix target path in message.
Georg Brandl [Sun, 3 Jul 2011 07:30:42 +0000 (09:30 +0200)]
Fix target path in message.

13 years agoRegenerate configure.
Georg Brandl [Sun, 3 Jul 2011 07:23:20 +0000 (09:23 +0200)]
Regenerate configure.

13 years agoMerge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is
Charles-François Natali [Sat, 2 Jul 2011 12:39:53 +0000 (14:39 +0200)]
Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is
freed by the garbage collector while the Heap lock is held.

13 years agoIssue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by
Charles-François Natali [Sat, 2 Jul 2011 12:35:49 +0000 (14:35 +0200)]
Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by
the garbage collector while the Heap lock is held.

13 years ago#11873: another try at fixing the regex, courtesy of Victor Stinner
R David Murray [Fri, 1 Jul 2011 18:55:43 +0000 (14:55 -0400)]
#11873: another try at fixing the regex, courtesy of Victor Stinner

13 years ago#11873: fix test regex so it covers windows os.sep as well.
R David Murray [Fri, 1 Jul 2011 15:51:50 +0000 (11:51 -0400)]
#11873: fix test regex so it covers windows os.sep as well.

13 years agoIssue #12363: increase the timeout of siginterrupt() tests
Victor Stinner [Fri, 1 Jul 2011 13:58:39 +0000 (15:58 +0200)]
Issue #12363: increase the timeout of siginterrupt() tests

Move also the "ready" trigger after the installation of the signal handler and
the call to siginterrupt().

Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
but some of our buildbots are really slow (especially the FreeBSD 6 VM).

13 years agoIssue #12363: improve siginterrupt() tests
Victor Stinner [Fri, 1 Jul 2011 13:24:50 +0000 (15:24 +0200)]
Issue #12363: improve siginterrupt() tests

Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2
branch. Extract of the changelog messages:

"The previous tests used time.sleep() to synchronize two processes. If the host
was too slow, the test could fail.

The new tests only use one process, but they use a subprocess to:

- have only one thread
- have a timeout on the blocking read (select cannot be used in the test,
select always fail with EINTR, the kernel doesn't restart it)
- not touch signal handling of the parent process"

and

"Add a basic synchronization code between the child and the parent processes:
the child writes "ready" to stdout."

I replaced .communicate(timeout=3.0) by an explicit waiting loop using
Popen.poll().

13 years agoIssue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms
Victor Stinner [Fri, 1 Jul 2011 12:26:24 +0000 (14:26 +0200)]
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.

13 years agotest_os: remove now useless TemporaryFileTests testcase
Victor Stinner [Fri, 1 Jul 2011 11:45:30 +0000 (13:45 +0200)]
test_os: remove now useless TemporaryFileTests testcase

TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions
removed from Python 3.

Move fdopen() tests to the FileTests testcase to test fdopen() on a file
descriptor, not on a directory descriptor (which raises an error on Windows).

13 years agolibpython.py (gdb) now catchs IOError in py-list and py-bt commands
Victor Stinner [Fri, 1 Jul 2011 10:57:44 +0000 (12:57 +0200)]
libpython.py (gdb) now catchs IOError in py-list and py-bt commands

py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).

13 years agotest_os: add TemporaryFileTests to the testcase list
Victor Stinner [Fri, 1 Jul 2011 00:56:15 +0000 (02:56 +0200)]
test_os: add TemporaryFileTests to the testcase list

The testcase was never executed, it's now fixed.

13 years agoIssue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.
Antoine Pitrou [Thu, 30 Jun 2011 18:02:54 +0000 (20:02 +0200)]
Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.

13 years agoIssue #12451: Open files in binary mode in some tests when the text file is not
Victor Stinner [Thu, 30 Jun 2011 16:20:11 +0000 (18:20 +0200)]
Issue #12451: Open files in binary mode in some tests when the text file is not
needed.

Remove also an unused variable (blank) in test_threading.

13 years agoIssue #12451: The XInclude default loader of xml.etree now decodes files from
Victor Stinner [Thu, 30 Jun 2011 16:10:14 +0000 (18:10 +0200)]
Issue #12451: The XInclude default loader of xml.etree now decodes files from
UTF-8 instead of the locale encoding if the encoding is not specified. It now
also opens XML files for the parser in binary mode instead of the text mode to
avoid encoding issues.

13 years agoIssue #12451: doctest.debug_script() doesn't create a temporary file anymore to
Victor Stinner [Thu, 30 Jun 2011 15:35:55 +0000 (17:35 +0200)]
Issue #12451: doctest.debug_script() doesn't create a temporary file anymore to
avoid encoding issues (it used the locale encoding, whereas UTF-8 should be).

Remove also an unused import (warnings).

13 years agoIssue #12451: pydoc.synopsis() now reads the encoding cookie if available, to
Victor Stinner [Thu, 30 Jun 2011 13:55:43 +0000 (15:55 +0200)]
Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, to
read the Python script from the right encoding.

13 years agoIssue #12451: distutils now opens the setup script in binary mode to read the
Victor Stinner [Thu, 30 Jun 2011 13:40:22 +0000 (15:40 +0200)]
Issue #12451: distutils now opens the setup script in binary mode to read the
encoding cookie, instead of opening it in UTF-8.

13 years agoIssue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()
Victor Stinner [Wed, 29 Jun 2011 18:01:29 +0000 (20:01 +0200)]
Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()

.truncate(0) doesn't rewind.

13 years agoIssue #12400: test_zipimport_support doesn't restore original sys.stdout
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.

13 years agoIssue #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

13 years agoIssue #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

13 years agoIssue #12400: test.support.run_doctest() doesn't change sys.stdout anymore
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.

13 years agoIssue #12400: regrtest, force verbose mode to True with option -W
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.

13 years agoIssue #12400: runtest() reuses the same io.StringIO instance for all calls
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

13 years agoIssue #12400: don't use sys.stderr in test_kqueue because it may be replaced by
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).

13 years agoIssue #12400: remove unused variable
Victor Stinner [Wed, 29 Jun 2011 11:24:28 +0000 (13:24 +0200)]
Issue #12400: remove unused variable

13 years agoIssue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures
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.

13 years agoMerge 3.2
Ned Deily [Wed, 29 Jun 2011 03:19:36 +0000 (20:19 -0700)]
Merge 3.2

13 years agoIssue #9516: Update Misc/NEWS.
Ned Deily [Wed, 29 Jun 2011 02:51:30 +0000 (19:51 -0700)]
Issue #9516: Update Misc/NEWS.

13 years agomerge 3.1
Benjamin Peterson [Wed, 29 Jun 2011 02:49:40 +0000 (21:49 -0500)]
merge 3.1

13 years agoIssue #9516: Change distutils to no longer globally attempt to check and
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.

13 years agoIssue #9516: Correct and expand OS X deployment target tests in distutils
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.

13 years agoIssue #12141: Install a copy of template C module file so that
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.

13 years agoIssue #8746: Correct faulty configure checks so that os.chflags() and
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)

13 years agoIssue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9
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)

13 years agofix ws
Benjamin Peterson [Mon, 27 Jun 2011 22:51:18 +0000 (17:51 -0500)]
fix ws

13 years agoadd more ast tests (closes #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.

13 years agoFix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray...
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.

13 years agostrip trailing ws
Benjamin Peterson [Mon, 27 Jun 2011 14:18:46 +0000 (09:18 -0500)]
strip trailing ws

13 years agomerge heads
Benjamin Peterson [Mon, 27 Jun 2011 14:16:14 +0000 (09:16 -0500)]
merge heads

13 years agoupdate profile license (closes #12417)
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)

13 years agoupdate profile license (closes #12417)
Benjamin Peterson [Mon, 27 Jun 2011 14:14:34 +0000 (09:14 -0500)]
update profile license (closes #12417)

13 years agoFix closes issue 11568 - update select.epoll.register docstring with mention of corre...
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.

13 years agoIssue #8890: Remove /tmp from examples.
Raymond Hettinger [Sun, 26 Jun 2011 13:29:06 +0000 (15:29 +0200)]
Issue #8890: Remove /tmp from examples.

13 years agoIssue #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

13 years ago#11363: add missing functions from curses doc. Patch by Sandro Tosi.
Ezio Melotti [Sun, 26 Jun 2011 10:34:56 +0000 (13:34 +0300)]
#11363: add missing functions from curses doc. Patch by Sandro Tosi.

13 years ago#11363: clean up curses doc.
Ezio Melotti [Sun, 26 Jun 2011 10:38:11 +0000 (13:38 +0300)]
#11363: clean up curses doc.

13 years ago#11669: rephrase footnote in the Compound Statements page.
Ezio Melotti [Sun, 26 Jun 2011 08:25:28 +0000 (11:25 +0300)]
#11669: rephrase footnote in the Compound Statements page.

13 years agoUse 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.

13 years agoIssue 11802: filecmp cache was growing without bound.
Raymond Hettinger [Sat, 25 Jun 2011 15:20:21 +0000 (17:20 +0200)]
Issue 11802:  filecmp cache was growing without bound.

13 years agoIssue 12086: add example showing how to use name mangling.
Raymond Hettinger [Sat, 25 Jun 2011 14:30:39 +0000 (16:30 +0200)]
Issue 12086: add example showing how to use name mangling.

13 years agoIssue 11889: Clarify docs for enumerate.
Raymond Hettinger [Sat, 25 Jun 2011 13:00:14 +0000 (15:00 +0200)]
Issue 11889: Clarify docs for enumerate.

13 years agoIssue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro.
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.

13 years agoMerge #12228
Mark Dickinson [Sat, 25 Jun 2011 10:04:08 +0000 (12:04 +0200)]
Merge #12228

13 years agoIssue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
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.

13 years agomerge
Raymond Hettinger [Sat, 25 Jun 2011 09:50:00 +0000 (11:50 +0200)]
merge

13 years agoFix typo (reported by Hiro Ashiya).
Raymond Hettinger [Sat, 25 Jun 2011 09:39:00 +0000 (11:39 +0200)]
Fix typo (reported by Hiro Ashiya).

13 years ago#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.
Ezio Melotti [Sat, 25 Jun 2011 09:36:38 +0000 (12:36 +0300)]
#12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi.

13 years agoCode simplification suggested by Sven Marnach.
Raymond Hettinger [Sat, 25 Jun 2011 09:30:53 +0000 (11:30 +0200)]
Code simplification suggested by Sven Marnach.

13 years agoIssue 12404: Remove C89 incompatible code from mmap module.
Ross Lagerwall [Sat, 25 Jun 2011 08:02:37 +0000 (10:02 +0200)]
Issue 12404: Remove C89 incompatible code from mmap module.

Patch by Akira Kitada.

13 years ago#10206: add test for previously fixed bug.
R David Murray [Fri, 24 Jun 2011 17:26:31 +0000 (13:26 -0400)]
#10206: add test for previously fixed bug.

Patch by Francisco Martín Brugué.

13 years ago#9921: clarify os.path.join joining algorithm
R David Murray [Fri, 24 Jun 2011 01:26:13 +0000 (21:26 -0400)]
#9921: clarify os.path.join joining algorithm

The new wording is based on the comments in the code, which
match the actual behavior.

13 years agoIssue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6
Victor Stinner [Thu, 23 Jun 2011 12:22:28 +0000 (14:22 +0200)]
Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6

13 years agoIssue #11223: skip test_lock_acquire_interruption() on FreeBSD6
Victor Stinner [Thu, 23 Jun 2011 09:57:56 +0000 (11:57 +0200)]
Issue #11223: skip test_lock_acquire_interruption() on FreeBSD6

Locks are implemented using a mutex and a condition variable of the pthread
library on FreeBSD6. POSIX condition variables cannot be interrupted by signals
(see pthread_cond_wait manual page).

13 years agoIssue #12383: skip test_empty_env() of subprocess on Windows
Victor Stinner [Wed, 22 Jun 2011 23:02:25 +0000 (01:02 +0200)]
Issue #12383: skip test_empty_env() of subprocess on Windows

Cannot test an empty environment on Windows: Windows requires at least the
SYSTEMROOT environment variable to start Python.