- 13 Eyl, 2017 8 kayıt (commit)
-
-
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 9 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ı
-
Benjamin Peterson yazdı
This undoes a853a8ba except for the pytime.c parts. We want to continue to allow IEEE 754 doubles larger than FLT_MAX to be rounded into finite floats. Tests were added to very this behavior.
-
Oren Milman yazdı
-
Cheryl Sabella yazdı
This fixes an omission in the ttk conversion patch for this issue, hence no new news. Patch by Cheryl Sabella.
-
- 10 Eyl, 2017 5 kayıt (commit)
-
-
wohlganger yazdı
About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
-
Antoine Pitrou yazdı
-
Raymond Hettinger yazdı
* Working draft without _source * Re-use itemgetter() instances * Speed-up calls to __new__() with a pre-bound tuple.__new__() * Add note regarding string interning * Remove unnecessary create function wrappers * Minor sync-ups with PR-2736. Mostly formatting and f-strings * Bring-in qualname/__module fix-ups from PR-2736 * Formally remove the verbose flag and _source attribute * Restore a test of potentially problematic field names * Restore kwonly_args test but without the verbose option * Adopt Inada's idea to reuse the docstrings for the itemgetters * Neaten-up a bit * Add news blurb * Serhiy pointed-out the need for interning * Jelle noticed as missing f on an f-string * Add whatsnew entry for feature removal * Accede to request for dict literals instead keyword arguments * Leave the method.__module__ attribute pointing the actual location of the code * Improve variable names and add a micro-optimization for an non-public helper function * Simplify by in-lining reuse_itemgetter() * Arrange steps in more logical order * Save docstring in local cache instead of interning
-
Stefan Krah yazdı
-
Zhiming Wang yazdı
getstate and setstate are instance methods, same as encode and reset.
-
- 09 Eyl, 2017 4 kayıt (commit)
-
-
Stefan Krah yazdı
-
Sergey Fedoseev yazdı
-
Steve Dower yazdı
-
Gregory P. Smith yazdı
test.support.HOST should be "localhost" as it was in the past. See the bpo-29639. Tests that need the IP address should use HOSTv4 (added) or the existing HOSTv6 constant. This changes the definition and fixes tests that needed updating to deal with HOST being the hostname rather than the hardcoded IP address. This is only the first step in addressing https://bugs.python.org/issue29639.
-
- 08 Eyl, 2017 7 kayıt (commit)
-
-
Han Lee yazdı
* Fix #26669 * Modify NaN check function and error message * Fix pytime.c when arg is nan * fix whitespace
-
Steve Dower yazdı
* bpo-31392: Improve SSL error handling on Windows * Remove unnecessary Windows mention in NEWS
-
Christian Heimes yazdı
b3ad0e51 broke backwards compatibility with OpenSSL < 1.0.2. Signed-off-by: Christian Heimes <christian@python.org>
-
Benjamin Peterson yazdı
-
octaviansoldea yazdı
Allow configure --with-lto to apply to all builds, not just profile-opt builds. Whether this is actually useful or not must be determined by the person building CPython using their own toolchain. My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed to suggest that it wasn't, but I expect better toolchains can or will exist at some point. The point is to allow it at all.
-
Christian Heimes yazdı
The SSL module now raises SSLCertVerificationError when OpenSSL fails to verify the peer's certificate. The exception contains more information about the error. Original patch by Chi Hsuan Yen Signed-off-by: Christian Heimes <christian@python.org>
-
Steve Dower yazdı
-