- 19 Haz, 2011 7 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
-
Nick Coghlan yazdı
-
R David Murray yazdı
Andrew agreed in the issue that eliminating the module file made sense. Wrapper has only been exposed as a function, and so there is no (easy) way to access the wrapper module, which in any case only had the one function in it. Since __init__ already contains a couple wrapper functions, it seems to make sense to just move wrapper there instead of importing it from a single function module.
-
- 18 Haz, 2011 10 kayıt (commit)
-
-
R David Murray yazdı
-
R David Murray yazdı
Patch by July Tikhonov.
-
R David Murray yazdı
-
R David Murray yazdı
Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
-
R David Murray yazdı
This updates 12e39cd7a0e4 (merge of b21fdfa0019c), which fixed this bug incorrectly.
-
R David Murray yazdı
This updates b21fdfa0019c, which fixed this bug incorrectly.
-
R David Murray yazdı
-
R David Murray yazdı
-
R David Murray yazdı
This makes them work like the close provided by regular file objects.
-
Benjamin Peterson yazdı
-
- 17 Haz, 2011 20 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
R David Murray yazdı
-
R David Murray yazdı
All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński.
-
R David Murray yazdı
-
Éric Araujo yazdı
- Move a tearDown method right after setUp - Use assertRaises instead of reinventing it - Skip a test instead of commenting it out, as a reminder
-
Éric Araujo yazdı
Victor Stinner diagnosed on #12167 that some reference leaks came from util._path_created, a set used for caching; there are two tests that cause additions to this set, so now they clear it in tearDown, avoiding 17 refleaks. (My tests show that it’s necessary to clear the set in only one test, clearing it in both does not stop more refleaks, but there’s no harm in doing it.)
-
Victor Stinner yazdı
Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces.
-
Victor Stinner yazdı
Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
-
Victor Stinner yazdı
AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
-
Victor Stinner yazdı
It is not possible to unload a module written in C, so use a subprocess to run the tests on the module compiled by test_build_ext(). Using a subprocess, we don't have to unload the module, save/restore sys.path, and the test can be run more than once. This commit fixes also an access error on rmtree() on Windows: because the module was not really unloaded, it was not possible to remove the temporary directory (it is not possible to remove a directory on Windows if it still contains an open file).
-
Victor Stinner yazdı
packaging.tests.support.TempdirManager: rmtree() fails on Windows if there are still open files in the directory.
-
Éric Araujo yazdı
- Use different Metadata objects to write and read a PKG-INFO (METADATA) file, to make sure the tested values come from the file - No need to restore methods on an instance after monkey-patching them: the methods are still the same on the class - Harmonize dedent calls
-
Victor Stinner yazdı
multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou.
-
Victor Stinner yazdı
multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou.
-
Victor Stinner yazdı
packaging.tests.support.TempdirManager: removing the current directory is not allowed on Windows or Solaris. Store the current directory and restore it before removing the temporary directory (which is used as the working directory during the tests).
-
- 16 Haz, 2011 3 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-