- 04 Tem, 2011 10 kayıt (commit)
-
-
Victor Stinner yazdı
fresh process with only one thread and to not change signal handling of the parent process.
-
Victor Stinner yazdı
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
-
Ned Deily yazdı
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).
-
Senthil Kumaran yazdı
-
Benjamin Peterson yazdı
-
Senthil Kumaran yazdı
-
Victor Stinner yazdı
shutdown, if globals()['__file__'] is None.
-
Senthil Kumaran yazdı
-
Senthil Kumaran yazdı
-
Victor Stinner yazdı
instead of text mode using the locale encoding, to avoid encoding issues.
-
- 03 Tem, 2011 9 kayıt (commit)
-
-
Victor Stinner yazdı
instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie).
-
Victor Stinner yazdı
of the text mode (using the locale encoding) to avoid encoding issues.
-
Benjamin Peterson yazdı
This requires some trickery to properly save the exception state if the generator creates its own exception state.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
This prevents generator exception state from leaking into the caller. Closes #12475.
-
Benjamin Peterson yazdı
-
Senthil Kumaran yazdı
-
Georg Brandl yazdı
-
- 02 Tem, 2011 2 kayıt (commit)
-
-
Charles-François Natali yazdı
freed by the garbage collector while the Heap lock is held.
-
Charles-François Natali yazdı
the garbage collector while the Heap lock is held.
-
- 01 Tem, 2011 8 kayıt (commit)
-
-
R David Murray yazdı
-
R David Murray yazdı
-
Victor Stinner yazdı
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).
-
Victor Stinner yazdı
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().
-
Victor Stinner yazdı
with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali.
-
Victor Stinner yazdı
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).
-
Victor Stinner yazdı
py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
-
Victor Stinner yazdı
The testcase was never executed, it's now fixed.
-
- 30 Haz, 2011 6 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
Victor Stinner yazdı
needed. Remove also an unused variable (blank) in test_threading.
-
Victor Stinner yazdı
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.
-
Victor Stinner yazdı
avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings).
-
Victor Stinner yazdı
read the Python script from the right encoding.
-
Victor Stinner yazdı
encoding cookie, instead of opening it in UTF-8.
-
- 29 Haz, 2011 5 kayıt (commit)
-
-
Victor Stinner yazdı
.truncate(0) doesn't rewind.
-
Victor Stinner yazdı
anymore regrtest doesn't check that a test doesn't output anything anymore.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
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.
-