cbf474c | Miss Skeleton (bot) | 23 October 2019, 15:43:57 UTC | bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901) bpo-34679, bpo-38563: asyncio.ProactorEventLoop.close() now only calls signal.set_wakeup_fd() in the main thread. (cherry picked from commit 1b53a24fb4417c764dd5933bce505f5c94249ca6) Co-authored-by: Victor Stinner <vstinner@python.org> | 23 October 2019, 15:43:57 UTC |
c54b54b | Miss Skeleton (bot) | 23 October 2019, 12:18:10 UTC | Spell Bitbucket correctly. (GH-16862) (GH-16898) (cherry picked from commit d34ac305327420bd68f05e201b63d2a665b073f8) Co-authored-by: Peter Bittner <django@bittner.it> | 23 October 2019, 12:18:10 UTC |
c5d3ea8 | Miss Skeleton (bot) | 23 October 2019, 12:07:23 UTC | bpo-38555: Fix an undefined behavior. (GH-16883) (cherry picked from commit 2e3d873d3bd0ef4708c4fa06b6cd6972574cb9af) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 23 October 2019, 12:07:23 UTC |
e113b5c | Miss Skeleton (bot) | 22 October 2019, 22:55:12 UTC | Fix Zope URL (GH-16880) (cherry picked from commit dfe726b1ace03f206f45253b93ed7610473ae20f) Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 22 October 2019, 22:55:12 UTC |
6329a56 | Miss Skeleton (bot) | 22 October 2019, 20:44:45 UTC | bpo-38466: Fix threading.excepthook doc (GH-16891) (cherry picked from commit 91528f40c30717563a478920861c81d18da5bf63) Co-authored-by: Daniel Baskal <MagnificentUrukHai@users.noreply.github.com> | 22 October 2019, 20:44:45 UTC |
dbcea39 | Miss Skeleton (bot) | 22 October 2019, 20:19:32 UTC | bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717) Fix stdatomic.h header check for ICC compiler: the ICC implementation lacks atomic_uintptr_t type which is needed by Python. Test: * atomic_int and atomic_uintptr_t types * atomic_load_explicit() and atomic_store_explicit() * memory_order_relaxed and memory_order_seq_cst constants But don't test ATOMIC_VAR_INIT(): it's not used in Python. (cherry picked from commit 028f7349a0f6eaea0fec31becb587fcdf6e3cb28) Co-authored-by: Victor Stinner <vstinner@python.org> | 22 October 2019, 20:19:32 UTC |
2f8d4f0 | Miss Skeleton (bot) | 21 October 2019, 18:17:57 UTC | bpo-31202: Preserve case of literal parts in Path.glob() on Windows. (GH-16860) (cherry picked from commit 10ecbadb799ddf3393d1fc80119a3db14724d381) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 October 2019, 18:17:57 UTC |
b1fc8c0 | Miss Skeleton (bot) | 21 October 2019, 09:12:37 UTC | bpo-38540: Fix possible leak in PyArg_Parse for "esGH-" and "etGH-". (GH-16869) (cherry picked from commit 5bc6a7c06eda20ba131ecba6752be0506d310181) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 October 2019, 09:12:37 UTC |
db38522 | Miss Islington (bot) | 20 October 2019, 20:25:25 UTC | bpo-38531: document extend action's added version (GH-16865) (GH-16868) (cherry picked from commit 74142078b3b78fea7b4cd791e5c577c0c0964eb7) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> | 20 October 2019, 20:25:25 UTC |
c39bc5c | Miss Islington (bot) | 20 October 2019, 18:35:28 UTC | bpo-37759: More updates to Whatsnew 3.8 (GH-16854) (GH-16867) * math.perm() and math.comb() * math.isqrt() * Add singledispatchmethod() * itertools.accumulate() * Optional headers for xmlrpc.client.ServerProxy * IDLE non-BMP characters * import collections.abc directly * @coroutine is deprecated * pprint.pp() * New options for object.__reduce__() * DictReader no longer returns OrderedDicts * "force" option for logging.basicConfig() * Fix spelling * cProfile context manager * Various markup/grammar fixes from Kyle Stanley. Other minor fixes as well. Also, dedup the __reduce__ entry. * Fix markup * Fix grammar nits found by MS Word (cherry picked from commit c93883c6afbd99929516764263fc49c3e996b10a) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 20 October 2019, 18:35:28 UTC |
d73205d | Miss Islington (bot) | 19 October 2019, 20:20:51 UTC | bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846) The reverse iterator for empty dictionaries was not handling correctly shared-key dictionaries. (cherry picked from commit 24dc2f8c56697f9ee51a4887cf0814b6600c1815) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 19 October 2019, 20:20:51 UTC |
bbd600a | Miss Islington (bot) | 19 October 2019, 19:30:28 UTC | Remove doc reference to unmaitained Nose package (GH-16849) The Nose package is no longer maintained. (cherry picked from commit 88eeda6311a8e3bf57136da5f73c70bc91ad79f3) Co-authored-by: Jon Dufresne <jon.dufresne@gmail.com> | 19 October 2019, 19:30:28 UTC |
652a1cb | Miss Islington (bot) | 18 October 2019, 21:41:19 UTC | bpo-38521: Fix error in NormalDist.__eq__() (GH-16840) (GH-16842) (cherry picked from commit 5eabec022b9a10734fcf58faad02c4d233592f64) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 18 October 2019, 21:41:19 UTC |
5fb8142 | Miss Islington (bot) | 18 October 2019, 16:32:14 UTC | bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670) https://bugs.python.org/issue38418 Automerge-Triggered-By: @zooba (cherry picked from commit fbe3c76c7ce1eec887d332d801d3784212cc0f73) Co-authored-by: Steve Dower <steve.dower@python.org> | 18 October 2019, 16:32:14 UTC |
0f3187c | Senthil Kumaran | 18 October 2019, 15:23:14 UTC | [3.8] bpo-27657: Fix urlparse() with numeric paths (GH-661) (#16839) * bpo-27657: Fix urlparse() with numeric paths Revert parsing decision from bpo-754016 in favor of the documented consensus in bpo-16932 of how to treat strings without a // to designate the netloc. * bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs. (cherry picked from commit 5a88d50ff013a64fbdb25b877c87644a9034c969) Co-authored-by: Tim Graham <timograham@gmail.com> | 18 October 2019, 15:23:14 UTC |
de81268 | Miss Islington (bot) | 18 October 2019, 07:55:22 UTC | Fix minor typos in What's New in Python 3.8. (GH-16770) Added periods at the end of the sentences. (cherry picked from commit b1fa72a5b7e8666a40b6899d5d54778a2a42c3e8) Co-authored-by: Jero Bado <tokidokitalkyou@gmail.com> | 18 October 2019, 07:55:22 UTC |
380d443 | Miss Islington (bot) | 18 October 2019, 07:21:05 UTC | Doc: Add missing entry for functools.cached_property (GH-16803) (cherry picked from commit 93b81e1fcbeb61c1b49ac2fa52c5a0dff929940b) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> | 18 October 2019, 07:21:05 UTC |
c615db6 | Miss Islington (bot) | 18 October 2019, 03:48:42 UTC | bpo-33604: Raise TypeError on missing hmac arg. (GH-16805) Also updates the documentation to clarify the situation surrounding the digestmod parameter that is required despite its position in the argument list as of 3.8.0 as well as removing old python2 era references to "binary strings". We indavertently had this raise ValueError in 3.8.0 for the missing arg. This is not considered an API change as no reasonable code would be catching this missing argument error in order to handle it. (cherry picked from commit f33c57d5c780da1500619f548585792bb5b750ee) Co-authored-by: Gregory P. Smith <greg@krypto.org> | 18 October 2019, 03:48:42 UTC |
7773d39 | Miss Islington (bot) | 16 October 2019, 17:46:29 UTC | bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824) (cherry picked from commit 7aebbd1182bc818324656b2fb764679faf51fdff) Co-authored-by: Steve Dower <steve.dower@python.org> | 16 October 2019, 17:46:29 UTC |
afbcd9f | Miss Islington (bot) | 16 October 2019, 08:36:57 UTC | bpo-35998: Fix test_asyncio.test_start_tls_server_1() (GH-16815) main() is now responsible to send the ANSWER, rather than ServerProto. main() now waits until it got the HELLO before sending the ANSWER over the new transport. Previously, there was a race condition between main() replacing the protocol and the protocol sending the ANSWER once it gets the HELLO. TLSv1.3 was disabled for the test: reenable it. (cherry picked from commit fab4ef2df0857ab0c97f3058ac5ec3280c4eb891) Co-authored-by: Victor Stinner <vstinner@python.org> | 16 October 2019, 08:36:57 UTC |
2d647c0 | Miss Islington (bot) | 15 October 2019, 21:33:34 UTC | Update doc switcher list for 3.8.0 (GH-16809) (cherry picked from commit 3f36043db22361500f52634f2b8de49dde0e7da9) Co-authored-by: Ned Deily <nad@python.org> | 15 October 2019, 21:33:34 UTC |
8ca282f | Miss Islington (bot) | 15 October 2019, 21:09:19 UTC | Typo fix - implemention should be implementation (GH-16806) (cherry picked from commit 2798b60c55619d8981288b69c20ba4a09efc7b0b) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> | 15 October 2019, 21:09:19 UTC |
f705f8e | Miss Islington (bot) | 15 October 2019, 12:02:34 UTC | bpo-38478: Correctly handle keyword argument with same name as positional-only parameter (GH-16800) (cherry picked from commit f3ef06a7cb347ab7bd3cc2b0b3dcebe4f9ff36f9) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 15 October 2019, 12:02:34 UTC |
f82ce5b | Victor Stinner | 15 October 2019, 01:06:16 UTC | [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) * bpo-36389: _PyObject_CheckConsistency() available in release mode (GH-16612) bpo-36389, bpo-38376: The _PyObject_CheckConsistency() function is now also available in release mode. For example, it can be used to debug a crash in the visit_decref() function of the GC. Modify the following functions to also work in release mode: * _PyDict_CheckConsistency() * _PyObject_CheckConsistency() * _PyType_CheckConsistency() * _PyUnicode_CheckConsistency() Other changes: * _PyMem_IsPtrFreed(ptr) now also returns 1 if ptr is NULL (equals to 0). * _PyBytesWriter_CheckConsistency() now returns 1 and is only used with assert(). * Reorder _PyObject_Dump() to write safe fields first, and only attempt to render repr() at the end. (cherry picked from commit 6876257eaabdb30f27ebcbd7d2557278ce2e5705) * bpo-36389: Fix _PyBytesWriter in release mode (GH-16624) Fix _PyBytesWriter API when Python is built in release mode with assertions. (cherry picked from commit 60ec6efd96d95476fe5e38c491491add04f026e5) * bpo-38070: Enhance visit_decref() debug trace (GH-16631) subtract_refs() now pass the parent object to visit_decref() which pass it to _PyObject_ASSERT(). So if the "is freed" assertion fails, the parent is used in debug trace, rather than the freed object. The parent object is more likely to contain useful information. Freed objects cannot be inspected are are displayed as "<object at xxx is freed>" with no other detail. (cherry picked from commit 4d5f94b8cd20f804c7868c5395a15aa6032f874c) * Fix also a typo in PYMEM_DEADBYTE macro comment * bpo-36389: Add newline to _PyObject_AssertFailed() (GH-16629) Add a newline between the verbose object dump and the Py_FatalError() logs for readability. (cherry picked from commit 7775349895088a7ae68cecf0c74cf817f15e2c74) | 15 October 2019, 01:06:16 UTC |
42308e8 | Miss Islington (bot) | 14 October 2019, 22:52:47 UTC | bpo-38133: Update docs to reflect fixes to py.exe launcher (GH-16791) (cherry picked from commit 4d202281c128e2026e78fc5f4cc752b1dafbf3ad) Co-authored-by: Steve Dower <steve.dower@python.org> | 14 October 2019, 22:52:47 UTC |
6fa79f9 | Miss Islington (bot) | 14 October 2019, 22:21:32 UTC | Doc: 3.8 is now stable. (GH-16790) (cherry picked from commit 4504b4500d2a1a80c26b27b0bfff8b624d5ce06c) Co-authored-by: Julien Palard <julien@palard.fr> | 14 October 2019, 22:21:32 UTC |
4f0587f | Gregory P. Smith | 14 October 2019, 20:40:32 UTC | [3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16737) * [3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16736) Instead of sys.executable, "-c", "pass" or "import sys; sys.exit(0)" use /bin/true when it is available. On a reasonable machine this shaves up to two seconds wall time off the otherwise ~40sec execution on a --with-pydebug build. It should be more notable on many buildbots or overloaded slower I/O systems (CI, etc).. (cherry picked from commit 67b93f80c764bca01c81c989d74a99df208bea4d) * Handle when there is no 'true' command backport of 46113e0cf32748f66cf64cd633984d143b433cd1 by Pablo Galindo. | 14 October 2019, 20:40:32 UTC |
cc06217 | Łukasz Langa | 14 October 2019, 20:02:48 UTC | Post v3.8.0 | 14 October 2019, 20:02:48 UTC |
85da2dd | Łukasz Langa | 14 October 2019, 20:02:08 UTC | Merge tag 'v3.8.0' into 3.8 Python 3.8.0 | 14 October 2019, 20:02:08 UTC |
deba4fa | Miss Islington (bot) | 14 October 2019, 16:08:30 UTC | Remove draft status. Add asyncio REPL example (GH-16785) (GH-16786) (cherry picked from commit 274bd013da707f9fb4a6f9e531fdc4288a9dd1ca) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 14 October 2019, 16:08:30 UTC |
aa909b6 | Miss Islington (bot) | 14 October 2019, 16:01:29 UTC | bpo-38453: Resolve test directories before chdir to them (GH-16723) (cherry picked from commit d83fc2702951f56a7339aa95d62414ed6e0fb40d) Co-authored-by: Steve Dower <steve.dower@python.org> | 14 October 2019, 16:01:29 UTC |
fa919fd | Łukasz Langa | 14 October 2019, 13:34:47 UTC | v3.8.0 | 14 October 2019, 13:34:47 UTC |
e498329 | Łukasz Langa | 14 October 2019, 13:25:46 UTC | [3.8] bpo-37759: Polish What's New in Python 3.8. (GH-16769) (#16777) (cherry picked from commit 298439ce3fb01de6c3110cc4847e6afe3253ba7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 14 October 2019, 13:25:46 UTC |
c0c6ae9 | Ned Deily | 14 October 2019, 13:14:21 UTC | Make 3.8 README link to 3.8 doc pages, not master (GH-16776) | 14 October 2019, 13:14:21 UTC |
80f8532 | Miss Islington (bot) | 14 October 2019, 12:35:28 UTC | Update build docs for macOS (GH-16771) (cherry picked from commit 19d6842c15c145f65178f806048ac1a8ae7d05f6) Co-authored-by: Ned Deily <nad@python.org> | 14 October 2019, 12:35:28 UTC |
927f07c | Miss Islington (bot) | 14 October 2019, 11:40:15 UTC | bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) (#16760) The symbol table handing of PEP572's assignment expressions is not resolving correctly the scope of some variables in presence of global/nonlocal keywords in conjunction with comprehensions. (cherry picked from commit fd5c414880b2e05720b9cf14ab0b0d7ae2b7d925) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 14 October 2019, 11:40:15 UTC |
ac53ba6 | Ned Deily | 14 October 2019, 08:36:34 UTC | [3.8] Update macOS installer display files for 3.8.0 (GH-16766) | 14 October 2019, 08:36:34 UTC |
3ac1529 | Miss Islington (bot) | 14 October 2019, 06:45:45 UTC | bpo-37759: Add examples for the new typing features (GH-16763) (GH-16764) (cherry picked from commit a3291531ea51455cfa5989119db496267425323c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 14 October 2019, 06:45:45 UTC |
c09379b | Miss Islington (bot) | 14 October 2019, 04:54:05 UTC | bpo-38461 and bpo-38463: Minor fixes to Whatsnew 3.8 (GH-16761) (GH-16762) * bpo-38461: ncurses misspelled as curses * bpo-38463: Fix broken link (cherry picked from commit 61a6db5e79921b89b9e2a154990f01f5f3150213) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 14 October 2019, 04:54:05 UTC |
75d8a75 | Raymond Hettinger | 14 October 2019, 03:35:11 UTC | Fix minor typos in Whatsnew (GH-16759) | 14 October 2019, 03:35:11 UTC |
36f6286 | Miss Islington (bot) | 14 October 2019, 03:04:29 UTC | bpo-38464: Document parameter for NormalDist.quantiles() (GH-16757) (GH-16758) (cherry picked from commit 8a6cbf8adb68aa2c43a48769af92e50d5ca1539d) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 14 October 2019, 03:04:29 UTC |
9a7c43b | Miss Islington (bot) | 14 October 2019, 02:14:27 UTC | Fix strict-aliasing rules errors on gcc 4.8.5. (GH-16714) (cherry picked from commit c39d1ddc012987e2159a997e27665d2d579c0ce0) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 14 October 2019, 02:14:27 UTC |
02d6f4f | Miss Islington (bot) | 13 October 2019, 20:35:10 UTC | Rebased version of what's new PR (GH-16745) (#16748) * Use Unicode character for accent * Various grammar fixes * Sort library modules alphabetically; remove duplicated idlelib/IDLE section (cherry picked from commit bb78f6cfa6f2b84fa4611d39c35baf1c7dce7f8d) Co-authored-by: Andrew Kuchling <amk@amk.ca> | 13 October 2019, 20:35:10 UTC |
c732660 | Miss Islington (bot) | 13 October 2019, 18:38:45 UTC | bpo-38467: Fix argument name of typing functions (GH-16753) (cherry picked from commit fdfe2833ace93021278fe4c41c40e1d08d70abf9) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> | 13 October 2019, 18:38:45 UTC |
e742826 | Miss Islington (bot) | 13 October 2019, 17:00:19 UTC | bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this). https://bugs.python.org/issue28556 (cherry picked from commit 8144095707f87bdee6f3e1bbb15283ea61381be6) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> | 13 October 2019, 17:00:19 UTC |
a04c7eb | Miss Islington (bot) | 13 October 2019, 15:53:54 UTC | Correct signature of __build_class__ (GH-16735) (cherry picked from commit e3babbd03cd2bcb3c85deabae3bc6976aa95a3c3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 13 October 2019, 15:53:54 UTC |
6da52ac | Miss Islington (bot) | 13 October 2019, 12:04:05 UTC | bpo-38431: Fix __repr__ method of InitVar to work with typing objects. (GH-16702) (cherry picked from commit 793cb85437299a3da3d74fe65480d720af330cbb) Co-authored-by: Samuel Colvin <samcolvin@gmail.com> | 13 October 2019, 12:04:05 UTC |
ba44ea6 | Miss Islington (bot) | 12 October 2019, 19:32:48 UTC | bpo-37731: Reorder includes in xmltok.c to avoid redefinition of _POSIX_C_SOURCE (GH-16733) (cherry picked from commit 8177404d520e81f16324a900f093adf3856d33f8) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 12 October 2019, 19:32:48 UTC |
fdc7cbe | Miss Islington (bot) | 12 October 2019, 17:53:32 UTC | Announce the change in the CancelledError inheritance (GH-16730) This is a fairly noticeable change that requires adjustments in existing asyncio code. It should therefore be announced. (cherry picked from commit e634da27471a76f4abe685e86e6e302e0ed6b553) Co-authored-by: Phil Jones <philip.graham.jones@googlemail.com> | 12 October 2019, 17:53:32 UTC |
e540bb5 | Miss Islington (bot) | 12 October 2019, 17:03:24 UTC | bpo-38332: Catch KeyError from unknown cte in encoded-word. (GH-16503) KeyError should cause a failure in parsing the encoded word and should be caught and raised as a _InvalidEWError instead. (cherry picked from commit 65dcc8a8dc41d3453fd6b987073a5f1b30c5c0fd) Co-authored-by: Andrei Troie <andreitroie90@gmail.com> | 12 October 2019, 17:03:24 UTC |
5a638a8 | Abhilash Raj | 12 October 2019, 16:58:11 UTC | [3.8] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs" (GH-16724) (GH-16728) This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb. The reason for revert is a regression caused by the change in 3.8.0rc1, see bpo-38449 for more details. https://bugs.python.org/issue38449 (cherry picked from commit 19a3d873005e5730eeabdc394c961e93f2ec02f0) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> | 12 October 2019, 16:58:11 UTC |
1da648a | Miss Islington (bot) | 12 October 2019, 16:08:24 UTC | bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826e5879536d2272f1a51c58965a16827f81) Co-authored-by: nde <denayer.norman@gmail.com> | 12 October 2019, 16:08:24 UTC |
294c522 | Miss Islington (bot) | 11 October 2019, 21:09:44 UTC | Fix typo in the "Porting to Python 3.8" section. (GH-16435) (cherry picked from commit dd6117c6d7859fee57751593cd56f0862131de8b) Co-authored-by: bariod <35639254+bariod@users.noreply.github.com> | 11 October 2019, 21:09:44 UTC |
50290e3 | Zachary Ware | 11 October 2019, 16:30:03 UTC | Update badges in README.rst (GH-16709) We no longer use AppVeyor on 3.x, and others were still pointed at master. | 11 October 2019, 16:30:03 UTC |
73665b4 | Miss Islington (bot) | 11 October 2019, 13:56:49 UTC | bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively. (cherry picked from commit 2b7dc40b2af6578181808ba73c1533fc114e55df) Co-authored-by: Ruediger Pluem <r.pluem@gmx.de> | 11 October 2019, 13:56:49 UTC |
380eb42 | Benjamin Peterson | 11 October 2019, 04:02:38 UTC | [3.8] Typo fix: "throuhgh" should be "through". (GH-16713) (cherry picked from commit a8e0d3141e271b3c0fbb7399a911f0c3aa567e30) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> | 11 October 2019, 04:02:38 UTC |
6bfeb81 | Miss Islington (bot) | 10 October 2019, 23:25:28 UTC | docs: Add asyncio source code links (GH-16640) (cherry picked from commit f900064ac4b35226caad7502abc8a7e64f1c0e9d) Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 10 October 2019, 23:25:28 UTC |
398d847 | Miss Islington (bot) | 10 October 2019, 17:11:07 UTC | Re-enable the OverflowError test for test_truediv on test_complex (GH-16591) (cherry picked from commit 1dbe5373851acb85ba91f0be7b83c69563acd68d) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 10 October 2019, 17:11:07 UTC |
8ab11c4 | Miss Islington (bot) | 10 October 2019, 13:50:32 UTC | bpo-38109: Add missing constants to Lib/stat.py (GH-16665) (GH-16690) Add missing stat.S_IFDOOR, stat.S_IFPORT, stat.S_IFWHT, stat.S_ISDOOR, stat.S_ISPORT, and stat.S_ISWHT values to the Python implementation of the stat module. (cherry picked from commit 7bb14316b8ceddb813f31040a299af94a57ab339) Co-authored-by: Ronan Lamy <ronan.lamy@gmail.com> | 10 October 2019, 13:50:32 UTC |
baf8a9b | Miss Islington (bot) | 10 October 2019, 11:19:03 UTC | bpo-32996: Documentation fix-up. (GH-16646) PR GH-4906 changed the typing.Generic class hierarchy, leaving an outdated comment in the library reference. User-defined Generic ABCs now must get a abc.ABCMeta metaclass from something other than typing.Generic inheritance. (cherry picked from commit d47f0dd2e85ce032aebfedbde18cdb2e728fa79f) Co-authored-by: M. Eric Irrgang <mei2n@virginia.edu> | 10 October 2019, 11:19:03 UTC |
6b6935e | Miss Islington (bot) | 10 October 2019, 08:00:19 UTC | bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688) (cherry picked from commit a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 10 October 2019, 08:00:19 UTC |
0baa6b3 | Miss Islington (bot) | 09 October 2019, 21:55:39 UTC | bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16684) (cherry picked from commit 09895c27cd8ff60563a794016e8c099bc897cc74) | 09 October 2019, 21:55:39 UTC |
0bd9fac | Pablo Galindo | 09 October 2019, 21:25:06 UTC | [3.8] bpo-38379: don't claim objects are collected when they aren't (GH-16658) (GH-16683) * [bpo-38379](https://bugs.python.org/issue38379): when a finalizer resurrects an object, nothing is actually collected in this run of gc. Change the stats to relect that truth. (cherry picked from commit ecbf35f9335b0420cb8adfda6f299d6747a16515) Co-authored-by: Tim Peters <tim.peters@gmail.com> https://bugs.python.org/issue38379 Automerge-Triggered-By: @pablogsal | 09 October 2019, 21:25:06 UTC |
359a197 | Miss Islington (bot) | 09 October 2019, 14:02:15 UTC | bpo-37531: regrtest ignores output on timeout (GH-16659) bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call `popen.communicate() again: it can hang until all child processes using stdout and stderr pipes completes. Kill the worker process and ignores its output. Reenable test_regrtest.test_multiprocessing_timeout(). bpo-37531: Change also the faulthandler timeout of the main process from 1 minute to 5 minutes, for Python slowest buildbots. (cherry picked from commit 0ec618af98ac250a91ee9c91f8569e6df6772758) Co-authored-by: Victor Stinner <vstinner@python.org> | 09 October 2019, 14:02:15 UTC |
d004a5b | Vinay Sajip | 09 October 2019, 05:47:57 UTC | bpo-38368: Added fix for ctypes crash when handling arrays in structs/unions. (GH-16589) (GH-16671) (cherry picked from commit e8bedbddadaa86be6bd86dc32dbdbd53933a4988) | 09 October 2019, 05:47:57 UTC |
d8071cb | Miss Islington (bot) | 09 October 2019, 02:42:22 UTC | Typo fix: "empy" should be "empty". (GH-16666) (cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> | 09 October 2019, 02:42:22 UTC |
526ef85 | Pablo Galindo | 08 October 2019, 20:38:11 UTC | [3.8] bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) (GH-16662) The implementation of weakref.proxy's methods call back into the Python API using a borrowed references of the weakly referenced object (acquired via PyWeakref_GET_OBJECT). This API call may delete the last reference to the object (either directly or via GC), leaving a dangling pointer, which can be subsequently dereferenced. To fix this, claim a temporary ownership of the referenced object when calling the appropriate method. Some functions because at the moment they do not need to access the borrowed referent, but to protect against future changes to these functions, ownership need to be fixed in all potentially affected methods.. (cherry picked from commit 10cd00a9e3c22af37c748ea5a417f6fb66601e21) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 08 October 2019, 20:38:11 UTC |
7162440 | Miss Islington (bot) | 08 October 2019, 14:14:57 UTC | bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644) (cherry picked from commit 8252c52e57283515ace5d4251584255dc5c60eb5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 08 October 2019, 14:14:57 UTC |
10b475a | Miss Islington (bot) | 08 October 2019, 14:12:38 UTC | bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641) (cherry picked from commit 13abda41003daf599587991d8291f0dacf6e9519) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 08 October 2019, 14:12:38 UTC |
364532f | Miss Islington (bot) | 08 October 2019, 13:49:12 UTC | bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) Valgrind emits "Conditional jump or move depends on uninitialised value(s)" false alarms on GCC builtin strcmp() function. The GCC code is correct. Valgrind bug: https://bugs.kde.org/show_bug.cgi?id=264936 (cherry picked from commit 03ab6b4fc6f59a4452756e7a3a46310ce30ec4b2) Co-authored-by: Victor Stinner <vstinner@python.org> | 08 October 2019, 13:49:12 UTC |
a1f4500 | Miss Islington (bot) | 08 October 2019, 11:51:16 UTC | bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams. (cherry picked from commit b690a2759e62d9ee0b6ea1b20e8f7e4b2cdbf8bb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 08 October 2019, 11:51:16 UTC |
aa9d5b8 | Miss Islington (bot) | 08 October 2019, 09:16:06 UTC | Fix typo in _warnings.warn_explicit() docstring (GH-16625) (cherry picked from commit 5dfbb4d50333e7a91fc0cd8c03a2f2f2cf56dbd9) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> | 08 October 2019, 09:16:06 UTC |
4880e5a | Miss Islington (bot) | 07 October 2019, 21:26:57 UTC | bpo-38344: Fix syntax in activate.bat (GH-16533) (cherry picked from commit e310af9e2941c2fbb7370e003276cc37eb230f16) Co-authored-by: James Abel <j@abel.co> | 07 October 2019, 21:26:57 UTC |
b731fc5 | Miss Islington (bot) | 07 October 2019, 21:07:46 UTC | bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped. (cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c) Co-authored-by: Ricardo Bánffy <rbanffy@gmail.com> | 07 October 2019, 21:07:46 UTC |
435b2ee | Victor Stinner | 07 October 2019, 19:12:05 UTC | bpo-38376: Fix _PyUnicode_CheckConsistency() definition (GH-16623) Always define _PyUnicode_CheckConsistency() in the CPython C API. | 07 October 2019, 19:12:05 UTC |
13915a3 | Miss Islington (bot) | 07 October 2019, 16:38:00 UTC | bpo-36356: Fix memory leak in _asynciomodule.c (GH-16598) (cherry picked from commit 321def805abc5b7c92c7e90ca90cb2434fdab855) Co-authored-by: Ben Harper <btharper1221@gmail.com> | 07 October 2019, 16:38:00 UTC |
985ec98 | Miss Islington (bot) | 07 October 2019, 12:05:09 UTC | bpo-38391: Fixing a typo for Py_DECREF (GH-16616) (cherry picked from commit 038503e08ac5b10601b95d5adc2c2cab7be10163) Co-authored-by: Krishna Oza <krishoza15sep@gmail.com> | 07 October 2019, 12:05:09 UTC |
f19b4d7 | Miss Islington (bot) | 07 October 2019, 02:15:44 UTC | bpo-26510: Add versionchanged for required arg of add_subparsers (GH-16588) The `required` argument to `argparse.add_subparsers` was added in GH-3027. This PR specifies the earliest version of Python where it is available. https://bugs.python.org/issue26510 Automerge-Triggered-By: @merwok (cherry picked from commit 9e71917e0290972f65711f75510078f799cf0b59) Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> | 07 October 2019, 02:15:44 UTC |
ce3c913 | Miss Islington (bot) | 06 October 2019, 12:37:20 UTC | bpo-38383: Fix possible integer overflow in startswith() of bytes and bytearray. (GH-16603) (cherry picked from commit 24ddd9c2d6ab61cbce7e68d6de36d4df9bd2c3fb) Co-authored-by: Hai Shi <shihai1992@gmail.com> | 06 October 2019, 12:37:20 UTC |
dc19124 | Miss Islington (bot) | 04 October 2019, 10:28:54 UTC | bpo-13153: Use OS native encoding for converting between Python and Tcl. (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError). (cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 04 October 2019, 10:28:54 UTC |
3af2733 | Miss Islington (bot) | 04 October 2019, 08:14:01 UTC | bpo-38235: Correct some arguments names in logging documentation (GH-16571) (GH-16576) (cherry picked from commit 3142c667b50254daaa28f22c79bdda177136bd03) Co-authored-by: Ashley Whetter <AWhetter@users.noreply.github.com> | 04 October 2019, 08:14:01 UTC |
8edde5c | Miss Islington (bot) | 03 October 2019, 21:26:57 UTC | bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) (cherry picked from commit b23a8423a923077e4f83d3f328bb7542b4c940ed) Co-authored-by: idomic <michael.ido@gmail.com> | 03 October 2019, 21:26:57 UTC |
e74fa70 | Miss Islington (bot) | 03 October 2019, 15:51:12 UTC | bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561) (cherry picked from commit 353fb1ecbfd58752dabae115c4964095e1e35e5f) Co-authored-by: Steve Dower <steve.dower@python.org> | 03 October 2019, 15:51:12 UTC |
6067e1d | Miss Islington (bot) | 03 October 2019, 15:49:56 UTC | bpo-38355: Fix ntpath.realpath failing on sys.executable (GH-16551) (cherry picked from commit a0e3d27e4e3cb5b67e325df080fb18b70c2910cf) Co-authored-by: Steve Dower <steve.dower@python.org> | 03 October 2019, 15:49:56 UTC |
de3195c | Victor Stinner | 03 October 2019, 15:26:25 UTC | [3.8] bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) (GH-16560) * bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) WindowsLoadTracker.read_output() now uses a short buffer for incomplete line. (cherry picked from commit 3e04cd268ee9a57f95dc78d8974b21a6fac3f666) * bpo-36670: Enhance regrtest WindowsLoadTracker (GH-16553) The last line is now passed to the parser even if it does not end with a newline, but only if it's a valid value. (cherry picked from commit c65119d5bfded03f80a9805889391b66fa7bf551) * bpo-36670: Enhance regrtest (GH-16556) * Add log() method: add timestamp and load average prefixes to main messages. * WindowsLoadTracker: * LOAD_FACTOR_1 is now computed using SAMPLING_INTERVAL * Initialize the load to the arithmetic mean of the first 5 values of the Processor Queue Length value (so over 5 seconds), rather than 0.0. * Handle BrokenPipeError and when typeperf exit. * format_duration(1.5) now returns '1.5 sec', rather than '1 sec 500 ms' (cherry picked from commit 098e25672f1c3578855d5ded4f5147795c9ed956) | 03 October 2019, 15:26:25 UTC |
183733d | Miss Islington (bot) | 02 October 2019, 16:52:50 UTC | bpo-38338, test.pythoninfo: add more ssl infos (GH-16539) test.pythoninfo now logs environment variables used by OpenSSL and Python ssl modules, and logs attributes of 3 SSL contexts (SSLContext, default HTTPS context, stdlib context). (cherry picked from commit b3e7045f8314e7b62cd95861d207fe2f97e47198) Co-authored-by: Victor Stinner <vstinner@python.org> | 02 October 2019, 16:52:50 UTC |
a72de93 | Miss Islington (bot) | 02 October 2019, 11:54:18 UTC | bpo-36670: regrtest bug fixes (GH-16537) * Fix TestWorkerProcess.__repr__(): start_time is only valid if _popen is not None. * Fix _kill(): don't set _killed to True if _popen is None. * _run_process(): only set _killed to False after calling run_test_in_subprocess(). (cherry picked from commit 2ea71a07d0a720707094ee55f78fd232c40724bc) Co-authored-by: Victor Stinner <vstinner@python.org> | 02 October 2019, 11:54:18 UTC |
a11df75 | Miss Islington (bot) | 02 October 2019, 00:00:49 UTC | bpo-38343: Fixes version handling for nuget packages (GH-16527) (cherry picked from commit b9a8b8296cd7be22f8b5bf92af686a788c47c7bf) Co-authored-by: Steve Dower <steve.dower@python.org> | 02 October 2019, 00:00:49 UTC |
c4976a6 | Miss Islington (bot) | 01 October 2019, 21:02:29 UTC | Correct typos in the codecs module documentation (GH-15135) (cherry picked from commit 891e9e3b44c99d643dc309a4e63082451271b136) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> | 01 October 2019, 21:02:29 UTC |
3b2f4e9 | Łukasz Langa | 01 October 2019, 20:49:40 UTC | Post v3.8.0rc1 | 01 October 2019, 20:49:40 UTC |
34214de | Łukasz Langa | 01 October 2019, 12:58:26 UTC | v3.8.0rc1 | 01 October 2019, 12:58:26 UTC |
bfe1f74 | Victor Stinner | 01 October 2019, 11:52:00 UTC | [3.8] bpo-3832: Fix compiler warnings (GH-16518) * bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493) bpo-38248, bpo-38321: Fix warning: modules\_asynciomodule.c(2667): warning C4102: 'set_exception': unreferenced label The related goto has been removed by commit edad4d89e357c92f70c0324b937845d652b20afd. (cherry picked from commit efe74b6369a8d08f27c69703fcc1686966e51068) * bpo-38321: Fix PyCStructUnionType_update_stgdict() warning (GH-16492) bpo-22273, bpo-38321: Fix following warning: modules\_ctypes\stgdict.c(704): warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data (cherry picked from commit c9a413ede47171a224c72dd34122005170caaad4) | 01 October 2019, 11:52:00 UTC |
6b4c70a | Miss Islington (bot) | 01 October 2019, 10:47:52 UTC | bpo-36670: Multiple regrtest bugfixes (GH-16511) * Windows: Fix counter name in WindowsLoadTracker. Counter names are localized: use the registry to get the counter name. Original change written by Lorenz Mende. * Regrtest.main() now ensures that the Windows load tracker is also killed if an exception is raised * TestWorkerProcess now ensures that worker processes are no longer running before exiting: kill also worker processes when an exception is raised. * Enhance regrtest messages and warnings: include test name, duration, add a worker identifier, etc. * Rename MultiprocessRunner to TestWorkerProcess * Use print_warning() to display warnings. Co-Authored-By: Lorenz Mende <Lorenz.mende@gmail.com> (cherry picked from commit 982bfa4da07b2e5749a0f4e68f99e972bcc3a549) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 01 October 2019, 10:47:52 UTC |
d49f096 | Miss Islington (bot) | 01 October 2019, 10:26:04 UTC | bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509) PyConfig_InitPythonConfig() and PyConfig_InitIsolatedConfig() no longer return PyStatus: they cannot fail anymore. (cherry picked from commit 8462a4936b3a551dc546a6adea04a70b0a07ca67) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 01 October 2019, 10:26:04 UTC |
938c00c | Miss Islington (bot) | 01 October 2019, 07:55:02 UTC | bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size (GH-16491) (#16506) (cherry picked from commit 94e165096fd65e8237e60de570fb609604ab94c9) Co-authored-by: Giampaolo Rodola <g.rodola@gmail.com> | 01 October 2019, 07:55:02 UTC |
b361207 | Neil Schemenauer | 01 October 2019, 07:49:36 UTC | Restore tp_clear for function object. (#16502) This is a revert of the revert (GH-15826). Having a tp_clear for functions should be safe (and helpful) now that bpo-38006 has been fixed. | 01 October 2019, 07:49:36 UTC |
2f644c0 | Miss Islington (bot) | 01 October 2019, 01:46:43 UTC | Fix and improve `asyncio.run()` docs (GH-16403) (GH-16504) (cherry picked from commit e407013089259e4c0b271703e1975bbcd578a2d5) Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 01 October 2019, 01:46:43 UTC |
bdace21 | Victor Stinner | 30 September 2019, 22:46:42 UTC | bpo-38304: Remove PyConfig.struct_size (GH-16500) For now, we'll rely on the fact that the config structures aren't covered by the stable ABI. We may revisit this in the future if we further explore the idea of offering a stable embedding API. | 30 September 2019, 22:46:42 UTC |
92ca515 | Miss Islington (bot) | 30 September 2019, 17:27:46 UTC | Clear weakrefs in garbage found by the GC (GH-16495) (#16499) Fix a bug due to the interaction of weakrefs and the cyclic garbage collector. We must clear any weakrefs in garbage in order to prevent their callbacks from executing and causing a crash. (cherry picked from commit bcda460baf25062ab68622b3f043f52b9db4d21d) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com> | 30 September 2019, 17:27:46 UTC |
18c4ba9 | Victor Stinner | 30 September 2019, 12:49:42 UTC | bpo-38322: Fix gotlandmark() of PC/getpathp.c (GH-16490) Write the filename into a temporary buffer instead of reusing prefix. The problem is that join() modifies prefix inplace. If prefix is not normalized, join() can make prefix shorter and so gotlandmark() does modify prefix instead of returning it unmodified. | 30 September 2019, 12:49:42 UTC |