- 01 Jul, 2011 8 commits
-
-
Victor Stinner authored
it is interrupted by a signal, instead of having to wait until the next instruction. Patch reviewed by Antoine Pitrou.
-
Giampaolo Rodola' authored
-
Victor Stinner authored
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 authored
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 authored
py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
-
Victor Stinner authored
py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
-
Victor Stinner authored
The testcase was never executed, it's now fixed.
-
Victor Stinner authored
The testcase was never executed, it's now fixed.
-
- 30 Jun, 2011 17 commits
-
-
Victor Stinner authored
We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Giampaolo Rodola' authored
Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499
-
Victor Stinner authored
not needed.
-
Victor Stinner authored
file is not needed. Remove also an unused variable (blank) in test_threading.
-
Victor Stinner authored
needed. Remove also an unused variable (blank) in test_threading.
-
Victor Stinner authored
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.
-
Victor Stinner authored
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 authored
file anymore to avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings).
-
Victor Stinner authored
avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings).
-
Victor Stinner authored
available, to read the Python script from the right encoding.
-
Victor Stinner authored
read the Python script from the right encoding.
-
Victor Stinner authored
to read the encoding cookie, instead of opening it in UTF-8.
-
Victor Stinner authored
encoding cookie, instead of opening it in UTF-8.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 29 Jun, 2011 15 commits
-
-
Victor Stinner authored
Copy sys.stderr before replacing it, instead of using sys.__stderr__
-
Victor Stinner authored
-
Victor Stinner authored
instead of open(os.devnull, 'w')
-
Benjamin Peterson authored
These are pointless because on error, all blocks will be finalized by symtable_dealloc.
-
Victor Stinner authored
.truncate(0) doesn't rewind.
-
Victor Stinner authored
.truncate(0) doesn't rewind.
-
Victor Stinner authored
sys.stdout anymore regrtest doesn't check that a test doesn't output anything anymore.
-
Victor Stinner authored
anymore regrtest doesn't check that a test doesn't output anything anymore.
-
Victor Stinner authored
test
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
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.
-
Victor Stinner authored
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.
-
Victor Stinner authored
If verbose is False, the output is empty. Fix also a typo in a variable name.
-