summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 3.2.1.v3.2.1Georg Brandl2011-07-096-12/+9
|
* Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporaryAntoine Pitrou2011-07-092-0/+4
| | | | | | failure in name resolution. Should fix a buildbot failure.
* Avoid failing in test_urllibnet.test_bad_address when some overzealousAntoine Pitrou2011-07-082-0/+15
| | | | | DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test is now skipped instead.
* Issue #12429: Skip interrupted write tests on FreeBSD <= 7Victor Stinner2011-07-041-0/+2
| | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
* Fix closes issue issue12470 - check for utime for the skipUnless condition.Senthil Kumaran2011-07-041-1/+1
|
* Fix closes issue12438 - idlelib.PyShell's showformatwarning method was ↵Senthil Kumaran2011-07-041-1/+1
| | | | passing an incorrect arg.
* Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-043-1/+16
| | | | shutdown, if globals()['__file__'] is None.
* Post-release steps.Georg Brandl2011-07-042-1/+13
|
* Added tag v3.2.1rc2 for changeset 5df549718fb4Georg Brandl2011-07-031-0/+1
|
* NEWS rewrap.v3.2.1rc2Georg Brandl2011-07-031-31/+30
|
* Bump to 3.2.1rc2.Georg Brandl2011-07-036-7/+7
|
* Fix bad markup.Georg Brandl2011-07-031-1/+1
|
* Update pydoc topics.Georg Brandl2011-07-031-3/+3
|
* Fix target path in message.Georg Brandl2011-07-031-1/+1
|
* Regenerate configure.Georg Brandl2011-07-031-0/+54
|
* disable ASDLGEN if hg won't work, or if python is not installed.Ralf Schmitt2011-05-312-1/+16
| | | | | | | | | | | | This change makes configure check for - the existence of a hg repository - the hg executable itself - the python executable Running $(srcdir)/Parser/asdl_c.py (i.e. ASDLGEN) will fail if any of the above prerequisites is missing, so we now disable it instead. closes #12225
* #12147: make send_message correctly handle Sender and Resent- headers.R David Murray2011-07-035-22/+172
| | | | | Original patch by Nicolas Estibals. My tweaks to the patch were mostly style/cosmetic, and adding more tests.
* Removed some unused local variables.Vinay Sajip2011-07-021-2/+0
|
* Closes #12291: Fixed bug which was found when doing multiple loads from one ↵Vinay Sajip2011-07-024-61/+183
| | | | stream.
* Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-023-6/+60
|\ | | | | | | freed by the garbage collector while the Heap lock is held.
| * Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-023-6/+60
| | | | | | | | the garbage collector while the Heap lock is held.
* | #11873: another try at fixing the regex, courtesy of Victor StinnerR David Murray2011-07-011-1/+1
| |
* | #11873: fix test regex so it covers windows os.sep as well.R David Murray2011-07-011-1/+1
| |
* | Issue #12363: increase the timeout of siginterrupt() testsVictor Stinner2011-07-011-5/+5
| | | | | | | | | | | | | | | | 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).
* | Issue #12363: improve siginterrupt() testsVictor Stinner2011-07-011-89/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platformsVictor Stinner2011-07-011-14/+11
| | | | | | | | | | | | | | with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali.
* | test_os: remove now useless TemporaryFileTests testcaseVictor Stinner2011-07-011-111/+6
| | | | | | | | | | | | | | | | 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).
* | libpython.py (gdb) now catchs IOError in py-list and py-bt commandsVictor Stinner2011-07-011-4/+18
| | | | | | | | | | py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
* | test_os: add TemporaryFileTests to the testcase listVictor Stinner2011-07-011-0/+1
| | | | | | | | The testcase was never executed, it's now fixed.
* | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.Antoine Pitrou2011-06-302-0/+5
| |
* | Issue #12451: Open files in binary mode in some tests when the text file is notVictor Stinner2011-06-305-18/+16
| | | | | | | | | | | | needed. Remove also an unused variable (blank) in test_threading.
* | Issue #12451: The XInclude default loader of xml.etree now decodes files fromVictor Stinner2011-06-302-4/+10
| | | | | | | | | | | | 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.
* | Issue #12451: doctest.debug_script() doesn't create a temporary file anymore toVictor Stinner2011-06-302-36/+26
| | | | | | | | | | | | avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings).
* | Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, toVictor Stinner2011-06-303-5/+20
| | | | | | | | read the Python script from the right encoding.
* | Issue #12451: distutils now opens the setup script in binary mode to read theVictor Stinner2011-06-302-5/+6
| | | | | | | | encoding cookie, instead of opening it in UTF-8.
* | Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate()Victor Stinner2011-06-291-3/+6
| | | | | | | | .truncate(0) doesn't rewind.
* | Issue #12400: test_zipimport_support doesn't restore original sys.stdoutVictor Stinner2011-06-291-19/+12
| | | | | | | | | | | | anymore regrtest doesn't check that a test doesn't output anything anymore.
* | Issue #12400: runtest() truncates the StringIO stream before a new testVictor Stinner2011-06-291-0/+1
| |
* | Issue #12400: Add missing import (os) to test_kqueueVictor Stinner2011-06-291-2/+3
| |
* | Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymoreVictor Stinner2011-06-291-10/+3
| | | | | | | | | | | | | | 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.
* | Issue #12400: regrtest, force verbose mode to True with option -WVictor Stinner2011-06-291-7/+10
| | | | | | | | If verbose is False, the output is empty. Fix also a typo in a variable name.
* | Issue #12400: runtest() reuses the same io.StringIO instance for all callsVictor Stinner2011-06-291-24/+33
| | | | | | | | | | * Don't force verbose to True with option -W * Rename rerun_failed variable to output_on_failure
* | Issue #12400: don't use sys.stderr in test_kqueue because it may be replaced byVictor Stinner2011-06-291-1/+4
| | | | | | | | a io.StringIO object by regrtest (which has no file descriptor).
* | Issue #12400: remove unused variableVictor Stinner2011-06-291-5/+0
| |
* | Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but capturesVictor Stinner2011-06-292-11/+29
| | | | | | | | | | the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error.
* | Merge 3.2Ned Deily2011-06-294-26/+76
|\ \
| * | Issue #9516: Update Misc/NEWS.Ned Deily2011-06-291-0/+11
| | |
| * | Issue #9516: Change distutils to no longer globally attempt to check andNed Deily2011-06-292-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Issue #9516: Correct and expand OS X deployment target tests in distutilsNed Deily2011-06-291-10/+37
| | | | | | | | | | | | test_build_ext.
* | | merge 3.1Benjamin Peterson2011-06-290-0/+0
|\ \ \ | |/ / |/| / | |/