- 14 Eyl, 2017 10 kayıt (commit)
-
-
Eric Snow yazdı
A bunch of code currently uses PyInterpreterState.modules directly instead of PyImport_GetModuleDict(). This complicates efforts to make changes relative to sys.modules. This patch switches to using PyImport_GetModuleDict() uniformly. Also, a number of related uses of sys.modules are updated for uniformity for the same reason. Note that this code was already reviewed and merged as part of #1638. I reverted that and am now splitting it up into more focused parts.
-
Victor Stinner yazdı
* bpo-31234: Join threads in test_hashlib Use thread.join() to wait until the parallel hash tasks complete rather than using events. Calling thread.join() prevent "dangling thread" warnings. * test_hashlib: minor PEP 8 coding style fixes
-
Victor Stinner yazdı
Call thread.join() on threads to prevent the "dangling threads" warning.
-
Łukasz Langa yazdı
Some of the proxied methods use internal Logger state which isn't proxied, causing failures if an adapter is applied to another adapter. This commit fixes the issue, adds a new test for the use case.
-
Victor Stinner yazdı
Cast Py_buffer.len (Py_ssize_t, signed) to size_t (unsigned) to prevent the following warning: Modules/_ssl.c:3089:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
-
Eric Snow yazdı
Resolves bpo-31420. (This was accidentally reverted when in #3565.)
-
Eric Snow yazdı
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.
-
Serhiy Storchaka yazdı
-
sww yazdı
The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest
-
Xiang Zhang yazdı
-
- 13 Eyl, 2017 17 kayıt (commit)
-
-
Mariatta yazdı
Update the link from Misc/NEWS to Misc/NEWS.d
-
Victor Stinner yazdı
Try to fix the "Warning -- threading_cleanup() failed to cleanup 1 threads" warning in test.lock_tests: wait a little bit longer to give time to the threads to complete. Warning seen on test_thread and test_importlib.
-
Ivan Levkivskyi yazdı
* Copy changes to typing from upstream repo * Add NEWS entry
-
Oren Milman yazdı
bpo-31418: Fix an assertion failure in PyErr_WriteUnraisable() in case of an exception with a bad __module__ attribute. (#3539)
-
Victor Stinner yazdı
support.threading_cleanup() waits for 1 second before emitting a warning if there are threads running in the background. With this change, it now emits the warning immediately, to be able to catch bugs more easily.
-
Joel Schaerer yazdı
Explicitly state that communicate() closes stdin after writing input to it.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Clear also self.server_thread attribute in TestTimeouts.tearDown().
-
Victor Stinner yazdı
Call POP3.close(), don't close close directly the sock attribute.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Explicitly clear the server attribute in test_ftplib and test_poplib to prevent dangling thread.
-
Victor Stinner yazdı
socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait until all these threads complete in server_close(). Reenable test_logging skipped tests. Fix SocketHandlerTest.tearDown(): close the socket handler before stopping the server, so the server can join threads.
-
Victor Stinner yazdı
The ConfigSocketReceiver.serve_until_stopped() method from logging.config.listen() now calls server_close() (of socketserver.ThreadingTCPServer) rather than closing manually the socket. While this change has no effect yet, it will help to prevent dangling threads once ThreadingTCPServer.server_close() will join spawned threads (bpo-31233).
-
Louie Lu yazdı
-
Mariatta yazdı
The last commit contained lines longer than 80 characters.
-
Aivar Annamaa yazdı
Make it clear that Ellipsis tokens also have type attribute set to token.OP.
-
Victor Stinner yazdı
ProcessPoolShutdownTest.test_del_shutdown() now closes the call queue and joins its thread, to prevent leaking a dangling thread.
-
- 12 Eyl, 2017 7 kayıt (commit)
-
-
Victor Stinner yazdı
* test_thread.test_forkinthread() now waits until the thread completes. * Check the status in the test method, not in the thread function * Don't ignore RuntimeError anymore: since the commit 346cbd35 (bpo-16500, os.register_at_fork(), os.fork() cannot fail anymore with RuntimeError. * Replace 0.01 literal with a new POLL_SLEEP constant * test_forkinthread(): test if os.fork() exists rather than testing the platform.
-
Oren Milman yazdı
bpo-31428: Prevent raising a SystemError in case the memo arg of ElementTree.Element.__deepcopy__() isn't a dictionary. (#3512)
-
Terry Jan Reedy yazdı
IDLE calls tcl/tk update in the background in order to make live interaction and experimentatin with tkinter applications much easier.
-
Terry Jan Reedy yazdı
As needed for the conversion of extensions to features.
-
Eric Snow yazdı
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
-
Eric Snow yazdı
* Drop warnoptions from PyInterpreterState. * Drop xoptions from PyInterpreterState. * Don't set warnoptions and _xoptions again. * Decref after adding to sys.__dict__. * Drop an unused macro. * Check sys.xoptions *before* we delete it.
-
Eric Snow yazdı
This fixes bpo-31407.
-
- 11 Eyl, 2017 6 kayıt (commit)
-
-
Oren Milman yazdı
bpo-31416: Fix assertion failures in case of a bad warnings.filters or warnings.defaultaction. (#3496) Patch by Oren Milman.
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
Adding to an int entry is not the same as deleting and inserting because int('') will fail.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
The timeout parameter was not used.
-
Zackery Spytz yazdı
-