0bd1469 | Miss Islington (bot) | 14 June 2019, 14:52:14 UTC | Update concurrent.futures.rst (GH-14061) This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation: * the mention that `Future.cancel` also returns `False` if the call finished running; * the mention of the states for `Future` that did not complete: pending or running. (cherry picked from commit 431478d5d74d880692817323198b9605af972fa5) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> | 14 June 2019, 14:52:14 UTC |
5292179 | Pablo Galindo | 14 June 2019, 06:18:51 UTC | [3.7] bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071) (GH-14073) Fix a regression introduced by af8646c8054d0f4180a2013383039b6a472f9698 that was causing code of the form: if True and False: do_something() to be optimized incorrectly, eliminating the block.. (cherry picked from commit 05f831865545b08c9a21cfb7773af58b76ec64cb) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 14 June 2019, 06:18:51 UTC |
6a433f5 | Miss Islington (bot) | 13 June 2019, 13:42:46 UTC | bpo-36779: time.tzname returns empty string on Windows if default cod… (GH-13073) Calling setlocale(LC_CTYPE, "") on a system where GetACP() returns CP_UTF8 results in empty strings in _tzname[]. This causes time.tzname to be an empty string. I have reported the bug to the UCRT team and will follow up, but it will take some time get a fix into production. In the meantime one possible workaround is to temporarily change the locale by calling setlocale(LC_CTYPE, "C") before calling _tzset and restore the current locale after if the GetACP() == CP_UTF8 or CP_UTF7 @zooba https://bugs.python.org/issue36779 (cherry picked from commit b4c7defe58695a6670a8fdeaef67a638bbb47e42) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com> | 13 June 2019, 13:42:46 UTC |
6eb2878 | Miss Islington (bot) | 13 June 2019, 12:22:20 UTC | bpo-36402: Fix threading._shutdown() race condition (GH-13948) (GH-14050) (GH-14054) * bpo-36402: Fix threading._shutdown() race condition (GH-13948) Fix a race condition at Python shutdown when waiting for threads. Wait until the Python thread state of all non-daemon threads get deleted (join all non-daemon threads), rather than just wait until Python threads complete. * Add threading._shutdown_locks: set of Thread._tstate_lock locks of non-daemon threads used by _shutdown() to wait until all Python thread states get deleted. See Thread._set_tstate_lock(). * Add also threading._shutdown_locks_lock to protect access to threading._shutdown_locks. * Add test_finalization_shutdown() test. (cherry picked from commit 468e5fec8a2f534f1685d59da3ca4fad425c38dd) * bpo-36402: Fix threading.Thread._stop() (GH-14047) Remove the _tstate_lock from _shutdown_locks, don't remove None. (cherry picked from commit 6f75c873752a16a7ad8f35855b1e29f59d048e84) (cherry picked from commit e40a97a721d46307dfdc2b0322028ccded6eb571) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 13 June 2019, 12:22:20 UTC |
b4c8ef7 | Miss Islington (bot) | 13 June 2019, 07:18:26 UTC | bpo-35070: test_getgrouplist may fail on macOS if too many groups (GH-13071) (cherry picked from commit 8725c83ed5ca8959195ad8326db99d564a921749) Co-authored-by: Jeffrey Kintscher <49998481+websurfer5@users.noreply.github.com> | 13 June 2019, 07:18:26 UTC |
d561f84 | Miss Islington (bot) | 12 June 2019, 11:50:11 UTC | bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859) Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings. (cherry picked from commit 38ab7d4721b422547f7b46b9d68968863fa70573) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 12 June 2019, 11:50:11 UTC |
534136a | Miss Islington (bot) | 12 June 2019, 04:47:42 UTC | bpo-29505: Fuzz json module, enforce size limit on int(x) fuzz (GH-13991) * bpo-29505: Enable fuzz testing of the json module, enforce size limit on int(x) fuzz and json input size to avoid timeouts. Contributed by by Ammar Askar for Google. (cherry picked from commit a6e190e94b47324f14e22a09200c68b722d55699) Co-authored-by: Ammar Askar <aaskar@google.com> | 12 June 2019, 04:47:42 UTC |
f0cc1a9 | Miss Islington (bot) | 12 June 2019, 03:51:42 UTC | bpo-32625: Updated documentation for EXTENDED_ARG. (GH-13985) Python 3.6 changed the size of bytecode instruction, while the documentation for `EXTENDED_ARG` was not updated accordingly. (cherry picked from commit 405f648db7c44b07348582b5101d4716e0ce5ac3) Co-authored-by: Yao Zuo <laike9m@users.noreply.github.com> | 12 June 2019, 03:51:42 UTC |
0745cc6 | Abhilash Raj | 11 June 2019, 23:27:06 UTC | [3.7] bpo-36520: Email header folded incorrectly (GH-13608) (GH-13910) * [bpo-36520](https://bugs.python.org/issue36520): reset the encoded word offset when starting a new line during an email header folding operation * 📜🤖 Added by blurb_it. * [bpo-36520](https://bugs.python.org/issue36520): add an additional test case, and provide descriptive comments for the test_folding_with_utf8_encoding_* tests * [bpo-36520](https://bugs.python.org/issue36520): fix whitespace issue * [bpo-36520](https://bugs.python.org/issue36520): changes per reviewer request -- remove extraneous backslashes; add whitespace between terminating quotes and line-continuation backslashes; use "bpo-" instead of "issue GH-" in comments (cherry picked from commit f6713e84afc5addcfa8477dbdf2c027787f711c0) Co-authored-by: websurfer5 <49998481+websurfer5@users.noreply.github.com> https://bugs.python.org/issue36520 | 11 June 2019, 23:27:06 UTC |
22e8a6d | Miss Islington (bot) | 11 June 2019, 17:33:36 UTC | Fix test_posix if RWF_HIPRI is defined but not preadv2. (GH-13980) If preadv2 is not available, preadv will raise NotImplementedError. (cherry picked from commit 44867bb9376e324493f0149ac8b3c33f23c9050d) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 11 June 2019, 17:33:36 UTC |
fad8904 | Miss Islington (bot) | 11 June 2019, 16:52:15 UTC | closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977) This test "works" if things are run in the right order, so it's better to use @skip than @expectedFailure here. (cherry picked from commit 910b3fcb01c29f18ffd53086e36cd2cb9e5fae55) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 11 June 2019, 16:52:15 UTC |
5d1d4e3 | Miss Islington (bot) | 11 June 2019, 16:01:20 UTC | bpo-36607: Eliminate RuntimeError raised by asyncio.all_tasks() (GH-13971) If internal tasks weak set is changed by another thread during iteration. https://bugs.python.org/issue36607 (cherry picked from commit 65aa64fae89a24491aae84ba0329eb8f3c68c389) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | 11 June 2019, 16:01:20 UTC |
1b615b2 | Raymond Hettinger | 11 June 2019, 09:01:06 UTC | [3.7] bpo-37219: Remove erroneous optimization for differencing an empty set (GH-13965) (GH-13968) | 11 June 2019, 09:01:06 UTC |
c59b1bb | Makdon | 11 June 2019, 05:38:25 UTC | [3.7] bpo-37216: Fix version and filename in Mac using document (GH-13963) | 11 June 2019, 05:38:25 UTC |
30fd7a4 | Miss Islington (bot) | 11 June 2019, 02:15:24 UTC | closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064) When the line is uncommented, the equals character causes it to be incorrectly interpreted as a macro definition by makesetup. This results in invalid Makefile output. The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary. (cherry picked from commit 408a2ef1aceff1f4270c44552fa39ef93d9283e3) Co-authored-by: aaronpaulhurst <aaronpaulhurst@gmail.com> | 11 June 2019, 02:15:24 UTC |
3621bf2 | Miss Islington (bot) | 09 June 2019, 00:53:20 UTC | Stop using deprecated logging API in Sphinx suspicious checker (GH-9875) (cherry picked from commit ee171a26c1169abfae534b08acc0d95c6e45a22a) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 09 June 2019, 00:53:20 UTC |
51c9cc7 | Miss Islington (bot) | 08 June 2019, 15:27:06 UTC | bpo-37173: Show passed class in inspect.getfile error (GH-13861) Currently, inspect.getfile(str) will report nonsense: ```pytb >>> inspect.getfile(str) TypeError: <module 'builtins' (built-in)> is a built-in class ``` This fixes that https://bugs.python.org/issue37173 (cherry picked from commit d407d2a7265f6102e51a1d62b3fd28b4f7a78d16) Co-authored-by: Philipp A <flying-sheep@web.de> | 08 June 2019, 15:27:06 UTC |
10b4fd9 | Miss Islington (bot) | 08 June 2019, 15:24:10 UTC | bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727) Fix an unintended ValueError from :func:`subprocess.run` when checking for conflicting `input` and `stdin` or `capture_output` and `stdout` or `stderr` args when they were explicitly provided but with `None` values within a passed in `**kwargs` dict rather than as passed directly by name. (cherry picked from commit 8cc605acdda5aff250ab4c9b524a7560f90ca9f3) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> | 08 June 2019, 15:24:10 UTC |
6692d35 | Miss Islington (bot) | 08 June 2019, 15:03:46 UTC | bpo-29505: Fix interpreter in fuzzing targets to be relocatable (GH-13907) (cherry picked from commit a15a7bcaea54e1845ab2abe27e6f583294cd715b) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> | 08 June 2019, 15:03:46 UTC |
e36ed47 | Zackery Spytz | 07 June 2019, 15:41:10 UTC | [3.7] bpo-37170: Fix the cast on error in PyLong_AsUnsignedLongLongMask() (GH-13860) (GH-13896) (cherry picked from commit dc2476500d91082f0c907772c83a044bf49af279) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 07 June 2019, 15:41:10 UTC |
4ea9dbd | Miss Islington (bot) | 07 June 2019, 09:47:16 UTC | Use assertEqual(). (#13886) | 07 June 2019, 09:47:16 UTC |
f09d915 | Miss Islington (bot) | 07 June 2019, 09:29:03 UTC | IDLE: Standardize naming convention for DummyEditwin in tests (GH-13876) * Change from Dummy_Editwin to DummyEditwin to match other tests. (cherry picked from commit 7f8a38a7c47823c17adab469fcb4f762f4e945b7) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | 07 June 2019, 09:29:03 UTC |
8f0bbbd | Miss Islington (bot) | 07 June 2019, 08:34:14 UTC | bpo-37188: Fix a divide-by-zero in arrays of size-0 objects (GH-13881) (#13882) | 07 June 2019, 08:34:14 UTC |
685b806 | Miss Islington (bot) | 07 June 2019, 06:37:32 UTC | bpo-37177: make IDLE's search dialogs transient (GH-13869) This avoids the search dialogs being hidden behind the editor window. (cherry picked from commit 554450fb4e95066e825bdb4a2d544a490daeebdc) Co-authored-by: Tal Einat <taleinat@gmail.com> | 07 June 2019, 06:37:32 UTC |
dc20fc4 | Miss Islington (bot) | 06 June 2019, 17:08:43 UTC | bpo-21315: Fix parsing of encoded words with missing leading ws. (GH-13425) (#13846) * bpo-21315: Fix parsing of encoded words with missing leading ws. Because of missing leading whitespace, encoded word would get parsed as unstructured token. This patch fixes that by looking for encoded words when splitting tokens with whitespace. Missing trailing whitespace around encoded word now register a defect instead. Original patch suggestion by David R. Murray on bpo-21315. (cherry picked from commit 66c4f3f38b867d8329b28c032bb907fd1a2f22d2) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> | 06 June 2019, 17:08:43 UTC |
28be388 | Miss Islington (bot) | 06 June 2019, 10:39:30 UTC | Don't report deleted attributes in __dir__ (GHGH-10148) When an attribute is deleted from a Mock, a sentinel is added rather than just deleting the attribute. This commit checks for such sentinels when returning the child mocks in the __dir__ method as users won't expect deleted attributes to appear when performing dir(mock). (cherry picked from commit 0df635c7f8aa69e56a092bd4f142f0f164741ab2) Co-authored-by: Mario Corchero <mariocj89@gmail.com> | 06 June 2019, 10:39:30 UTC |
f62a372 | Miss Islington (bot) | 05 June 2019, 10:23:37 UTC | bpo-30835: email: Fix AttributeError when parsing invalid CTE (GH-13598) * bpo-30835: email: Fix AttributeError when parsing invalid Content-Transfer-Encoding Parsing an email containing a multipart Content-Type, along with a Content-Transfer-Encoding containing an invalid (non-ASCII-decodable) byte will fail. email.feedparser.FeedParser._parsegen() gets the header and attempts to convert it to lowercase before comparing it with the accepted encodings, but as the header contains an invalid byte, it's returned as a Header object rather than a str. Cast the Content-Transfer-Encoding header to a str to avoid this. Found using the AFL fuzzer. Reported-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Andrew Donnellan <andrew@donnellan.id.au> * Add email and NEWS entry for the bugfix. (cherry picked from commit aa79707262f893428665ef45b5e879129abca4aa) Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> | 05 June 2019, 10:23:37 UTC |
3d75bd1 | Miss Islington (bot) | 05 June 2019, 02:15:48 UTC | bpo-35763: Make IDLE calltip note about '/' less obtrusive (GH-13791) Add it to the end of the first line if there is room. Tests were reworked. (cherry picked from commit 949fe976d5c62ae63ed505ecf729f815d0baccfc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 05 June 2019, 02:15:48 UTC |
beba8c7 | Miss Islington (bot) | 04 June 2019, 23:21:34 UTC | Doc: Python 3.9 in sidebar and version switcher. (GH-13824) (cherry picked from commit 59e7bbcaa4d0d556591f774c5ea4869c41fa95b0) Co-authored-by: Julien Palard <julien@palard.fr> | 04 June 2019, 23:21:34 UTC |
5f8443e | Miss Islington (bot) | 04 June 2019, 19:07:03 UTC | bpo-37153: test_venv.test_mutiprocessing() calls pool.terminate() (GH-13816) (GH-13819) test_venv.test_mutiprocessing() now explicitly calls pool.terminate() to wait until the pool completes. (cherry picked from commit bc6469f79ca13217b784fb47da7ec83484a3debe) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 04 June 2019, 19:07:03 UTC |
250b62a | Miss Islington (bot) | 04 June 2019, 16:15:13 UTC | bpo-36742: Corrects fix to handle decomposition in usernames (GH-13812) (cherry picked from commit 8d0ef0b5edeae52960c7ed05ae8a12388324f87e) Co-authored-by: Steve Dower <steve.dower@python.org> | 04 June 2019, 16:15:13 UTC |
12c1787 | Miss Islington (bot) | 04 June 2019, 15:25:16 UTC | bpo-30699: Improve example on datetime tzinfo instances (GH-4290) * Improve example on tzinfo instances Move from GMTX to TZX when naming the classes, as GMT1 might be rather confusing as seen in the reported issue. In addition, move to UTC over GMT and improve the tzname implementation. * Simplify datetime with tzinfo example Move the example in the documentation to just use timezone.utc and a user defined Kabul timezone rather than having two user defined timezones with DST. Kabul timezone is still interesting as it changes its offset but not based on DST. This is more accurate as the previous example was missing information about the fold attribute. Additionally, implementing the fold attribute was rather complex and probably not relevant enough for the section "datetime with tzinfo". (cherry picked from commit f0b5ae4567637b24035ecda93a3240efc96b6dd9) Co-authored-by: Mario Corchero <mcorcherojim@bloomberg.net> | 04 June 2019, 15:25:16 UTC |
cad4ff6 | Miss Islington (bot) | 03 June 2019, 19:02:11 UTC | bpo-36868: Fix what's new for SSLContext.hostname_checks_common_name (GH-13248) What's new now mentions SSLContext.hostname_checks_common_name instead of SSLContext.host_flags. https://bugs.python.org/issue36868 (cherry picked from commit 47eb2234061524562a4b484e3a395f4fdd6c1b76) Co-authored-by: Christian Heimes <christian@python.org> | 03 June 2019, 19:02:11 UTC |
3344197 | Miss Islington (bot) | 03 June 2019, 18:39:57 UTC | [3.7] bpo-37081: Test with OpenSSL 1.1.1c (GH-13631) (GH-13782) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 06651ee418b5e4e013195d6b702763a1220706a7) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37081 | 03 June 2019, 18:39:57 UTC |
15bde92 | Miss Islington (bot) | 03 June 2019, 15:25:52 UTC | Doc fix: duplicate object description of email.message (GH-13742) (cherry picked from commit 141da44bb45bc182886303fce92cbbae5631cb4c) Co-authored-by: Julien Palard <julien@palard.fr> | 03 June 2019, 15:25:52 UTC |
ab4d42a | Miss Islington (bot) | 03 June 2019, 04:39:32 UTC | IDLE: Fix typos in docs and comments (GH-13749) (cherry picked from commit d9677f36fe486e86bb86f2cd59cb7fc3804bdac1) Co-authored-by: Xtreak <tir.karthi@gmail.com> | 03 June 2019, 04:39:32 UTC |
4a941e6 | Miss Islington (bot) | 03 June 2019, 03:36:33 UTC | Fix variable name copy/paste error in build-installer.py (GH-13038) (cherry picked from commit d337169156933eaf732566bf29eb968549ada5e8) Co-authored-by: cclauss <cclauss@me.com> | 03 June 2019, 03:36:33 UTC |
8766cb7 | Inada Naoki | 03 June 2019, 01:51:32 UTC | [3.7] bpo-27987: align PyGC_Head to alignof(long double) (GH-13335) (GH-13581) This reverts commit 2156fec1f7a8f9972e90cdbaf404e3fd9eaccb35. Now that https://github.com/python/cpython/commit/1b85f4ec45a5d63188ee3866bd55eb29fdec7fbf is in, this change makes sense. | 03 June 2019, 01:51:31 UTC |
9390e98 | Miss Islington (bot) | 02 June 2019, 23:18:50 UTC | bpo-19184: Update the documentation of dis module. (GH-13652) (GH-13755) * bpo-19184: Update the documentation of dis module * Explain the behavior of the number of arguments of RAISE_VARGARGS opcode. * bpo-19184: Update blurb. * bpo-19184: Fix typo in the dis Documentation. * bpo-19184: Address review comments and improve the doc * bpo-19184: Remove news file. (cherry picked from commit e1179a5096fb12297ececd7a1c79969aa5747e28) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com> | 02 June 2019, 23:18:50 UTC |
6bd438e | Miss Islington (bot) | 02 June 2019, 21:36:34 UTC | bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) (GH-13753) * bpo-37014: Update docstring and Documentation of fileinput.FileInput() * Explain the behavior of fileinput.FileInput() when reading stdin. * Update blurb. * bpo-37014: Fix typo in the docstring and documentation. (cherry picked from commit aca273e2401ca3151e15e984f400233b7f255e15) Co-authored-by: Michele Angrisano <michele.angrisano@gmail.com> | 02 June 2019, 21:36:34 UTC |
b4e0bfd | Miss Islington (bot) | 02 June 2019, 19:35:53 UTC | bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307) Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant. (cherry picked from commit 6bdc4dee01788599808c7858e2fe9fdd72cf6792) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | 02 June 2019, 19:35:53 UTC |
c76add7 | Miss Islington (bot) | 02 June 2019, 00:23:40 UTC | Improve version added references in `typing` module docs (GH-13457) (cherry picked from commit b7daabd711274a009e70556020efeae502a85f0b) Co-authored-by: Anthony Sottile <asottile@umich.edu> | 02 June 2019, 00:23:40 UTC |
ac60d1a | Miss Islington (bot) | 01 June 2019, 22:26:00 UTC | bpo-32411: IDLE: Remove line number sort in browser.py (GH-5011) Insertion in line order makes sorting keys by line order unneeded. (cherry picked from commit 1a4d9ffa1aecd7e750195f2be06d3d16c7a3a88f) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | 01 June 2019, 22:26:00 UTC |
fefdc00 | Miss Islington (bot) | 01 June 2019, 21:58:33 UTC | Fix the error handling in bytesio_sizeof(). (GH-10459) bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf(). (cherry picked from commit 36dcaab7fde5d2e54cdeff5b705b5adcb27726dd) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 01 June 2019, 21:58:33 UTC |
fc914dd | Miss Islington (bot) | 01 June 2019, 11:47:15 UTC | Doc: Correct the creation year and the credits of the Logo Programming language (GH-13520) (cherry picked from commit 66501058fef76a5d77e6879f6da3282f0a9eef1b) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> | 01 June 2019, 11:47:15 UTC |
f286e03 | Miss Islington (bot) | 01 June 2019, 09:36:29 UTC | bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113) Fixed QueueListener in order to avoid random deadlocks. Unable to add regression tests atm due to time constraints, will add it in a bit. Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO). https://bugs.python.org/issue36813 (cherry picked from commit 6b282e18877ec84e927b381b4ce187eaf4ba3dd7) Co-authored-by: Bar Harel <bzvi7919@gmail.com> | 01 June 2019, 09:36:29 UTC |
18e23f2 | Miss Islington (bot) | 01 June 2019, 06:58:54 UTC | bpo-18911: clarify that the minidom XML writer receives texts but not bytes (GH-13718) (cherry picked from commit 5ac0b988fd5f1428efe35329c531c7b5c74d37f6) Co-authored-by: Windson yang <wiwindson@outlook.com> | 01 June 2019, 06:58:54 UTC |
464c1ec | Miss Islington (bot) | 31 May 2019, 20:26:01 UTC | bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354) (cherry picked from commit a747c3a5edf21fa5670bc30f5e1d804de89ebf62) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | 31 May 2019, 20:26:01 UTC |
a6dc5d4 | Miss Islington (bot) | 31 May 2019, 20:03:22 UTC | bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) (cherry picked from commit a6ec1ce1ac05b1258931422e96eac215b6a05459) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> | 31 May 2019, 20:03:22 UTC |
49fc57a | Miss Islington (bot) | 31 May 2019, 17:22:14 UTC | bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id(). (cherry picked from commit c8d5bf6c3fa09b43f6a5ee779d493d251dbcc53c) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 31 May 2019, 17:22:14 UTC |
fc3b843 | Miss Islington (bot) | 31 May 2019, 16:58:27 UTC | bpo-25735: math.factorial doc should mention integer return type (GH-6420) (cherry picked from commit 4612671df2742eade8ecf8003a6ce1247973c135) Co-authored-by: Akshay Sharma <akshay.sharma09695@gmail.com> | 31 May 2019, 16:58:27 UTC |
8135455 | Miss Islington (bot) | 31 May 2019, 16:31:53 UTC | bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094 (cherry picked from commit ffed76b6fc4d7dd0244b662d6e5738eb496d9def) Co-authored-by: Makdon <makdon@makdon.me> | 31 May 2019, 16:31:53 UTC |
ee114d7 | Miss Islington (bot) | 31 May 2019, 08:44:29 UTC | IDLE - Capitalize search dialogs' 'Close' button label. (GH-13691) It seems to be the only widget label not capitalized. (cherry picked from commit ba0430211f5101c9d748d72b03926ca79c5252a8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 31 May 2019, 08:44:29 UTC |
e8661c1 | Miss Islington (bot) | 30 May 2019, 20:41:06 UTC | bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761) (cherry picked from commit 2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8) Co-authored-by: Antti Haapala <antti@haapala.name> | 30 May 2019, 20:41:06 UTC |
f1487b3 | Miss Islington (bot) | 30 May 2019, 05:58:30 UTC | bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369) (cherry picked from commit a16387ab2d85f19665920bb6ff91a7e57f59dd2a) Co-authored-by: Ying Wang <me@yingw787.com> | 30 May 2019, 05:58:30 UTC |
3a98bbf | Anthony Sottile | 30 May 2019, 04:05:33 UTC | [3.7] bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) (GH-13662) https://bugs.python.org/issue36983 Fixes issue 36983 | 30 May 2019, 04:05:33 UTC |
4e1e887 | Miss Islington (bot) | 29 May 2019, 18:24:32 UTC | bpo-36794: Document that Lock.acquire is fair. (GH-13082) https://bugs.python.org/issue36794 (cherry picked from commit 34f4f5efea730504216ee19f237734e0bb0104ee) Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com> | 29 May 2019, 18:24:32 UTC |
cee95fe | Miss Islington (bot) | 29 May 2019, 03:48:12 UTC | bpo-36739: Update controlflow.rst (GH-12983) in addition to global-statement also mention nonlocal-statement (in the paragraph describing access to variables which are non local to a function (cherry picked from commit e1f95e77e0647aff602e0660ba3c282b71045875) Co-authored-by: pbhd <p-bauer-schriesheim@t-online.de> | 29 May 2019, 03:48:12 UTC |
3708316 | Petr Viktorin | 29 May 2019, 03:35:33 UTC | [3.7] Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304) (GH-13495) If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc(). (cherry picked from commit 0613c1e481440aa8f54ba7f6056924c175fbcc13) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 29 May 2019, 03:35:33 UTC |
8ea0fd8 | Miss Islington (bot) | 29 May 2019, 03:12:30 UTC | bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132) (GH-13643) Co-Authored-By: brianquinlan <brian@sweetapp.com> (cherry picked from commit 39889864c09741909da4ec489459d0197ea8f1fc) Co-authored-by: Brian Quinlan <brian@sweetapp.com> | 29 May 2019, 03:12:30 UTC |
0eb6999 | Miss Islington (bot) | 28 May 2019, 23:33:21 UTC | bpo-22102: Fixes zip files with disks set to 0 (GH-5985) (cherry picked from commit ab0716ed1ea2957396054730afbb80c1825f9786) Co-authored-by: Francisco Facioni <fran6co@gmail.com> | 28 May 2019, 23:33:21 UTC |
218abd1 | Miss Islington (bot) | 28 May 2019, 23:09:14 UTC | Docs: FIX broken links. (GH-13491) (cherry picked from commit 7114c6504a60365b8b0cd718da0ec8a737599fb9) Co-authored-by: Julien Palard <julien@palard.fr> | 28 May 2019, 23:09:14 UTC |
d6a14a1 | karl ding | 28 May 2019, 19:32:12 UTC | [3.7] Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635) (GH-13637) There is an extra "one" in the text description for the constant socket.CAN_RAW_FD_FRAMES (cherry picked from commit 1b05aa219041eb1c9dbcb4ec6c1fa5b20f060bf5) | 28 May 2019, 19:32:12 UTC |
95b7706 | Miss Islington (bot) | 28 May 2019, 13:20:58 UTC | Doc: Add missing forward reference in the tutorial. (GH-13499) (cherry picked from commit 51ddab8dae056867f3595ab3400bffc93f67c8d4) Co-authored-by: Julien Palard <julien@palard.fr> | 28 May 2019, 13:20:58 UTC |
e7ddf58 | Miss Islington (bot) | 28 May 2019, 13:17:43 UTC | bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606) Fix possible overflow in wrap_lenfunc() when sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows). (cherry picked from commit 05f16416d99dc9fc76fef11e56f16593e7a5955e) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 28 May 2019, 13:17:43 UTC |
1cfb90b | Miss Islington (bot) | 28 May 2019, 12:28:34 UTC | Doc: Space breaking whole definition. (GH-13615) (cherry picked from commit 0811f2d81a12a3415dc2cb2744b41520c48d4db5) Co-authored-by: Julien Palard <julien@palard.fr> | 28 May 2019, 12:28:34 UTC |
a6733fd | Miss Islington (bot) | 28 May 2019, 10:56:05 UTC | Remove outdated time.monotonic reference (GH-13264) Per ae58649, time.monotonic is always available, making the old note outdated. (cherry picked from commit 293e9f86b8d10fcd88d6a2015babae76e9a8bd8f) Co-authored-by: Brad <brad.solomon.1124@gmail.com> | 28 May 2019, 10:56:05 UTC |
d57bb1c | Miss Islington (bot) | 28 May 2019, 04:22:25 UTC | Fix broken :ref: in asyncio docs (GH-11805) (cherry picked from commit 5033e315d28d54a41bcd987d04e6e6453d5b275f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 28 May 2019, 04:22:25 UTC |
1062cf7 | Miss Islington (bot) | 28 May 2019, 00:14:21 UTC | bpo-36856: Handle possible overflow in faulthandler_stack_overflow (GH-13205) (cherry picked from commit 6236c9823ef3e8e2229b0598d3d8189adf5e00f2) Co-authored-by: Xi Ruoyao <xry111@mengyan1223.wang> | 28 May 2019, 00:14:21 UTC |
0f352d4 | Miss Islington (bot) | 28 May 2019, 00:05:49 UTC | bpo-37054, _pyio: Fix BytesIO and TextIOWrapper __del__() (GH-13601) Fix destructor _pyio.BytesIO and _pyio.TextIOWrapper: initialize their _buffer attribute as soon as possible (in the class body), because it's used by __del__() which calls close(). (cherry picked from commit a3568417c49f36860393075b21c93996a5f6799b) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 28 May 2019, 00:05:49 UTC |
abdda3a | Miss Islington (bot) | 27 May 2019, 23:48:04 UTC | bpo-37039: IDLE - zoomheight fixes (GH-13576) Move doc entry to match menu and refactor zoom function. A followup patch will include a blurb. (cherry picked from commit df9b032f47e4edaf306d95449370e565ee470018) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 27 May 2019, 23:48:04 UTC |
e8318f3 | Miss Islington (bot) | 27 May 2019, 17:43:18 UTC | bpo-37051: Refine note on what objects are hashable (GH-13587) (GH-13595) (cherry picked from commit cc1c582f6fe450ce1c7de849137039e9b5fab8eb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 27 May 2019, 17:43:18 UTC |
a79b6c5 | Andrew Svetlov | 27 May 2019, 15:52:05 UTC | [3.7] bpo-37035: Don't log OSError (GH-13548) (#13594) https://bugs.python.org/issue37035. (cherry picked from commit 1f39c28e489cca0397fc4c3675d13569318122ac) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | 27 May 2019, 15:52:05 UTC |
bfd0b77 | Miss Islington (bot) | 26 May 2019, 22:14:23 UTC | [3.7] bpo-28866: No type cache for types with specialized mro, invalidation is hard. (GH-13157) (GH-13589) * No type cache for types with specialized mro, invalidation is hard. * FIX: Don't disable method cache custom types that do not implement mro(). * fixing implem. * Avoid storing error flags, also decref. * news entry * Clear as soon as we're getting an error. * FIX: Reference leak. (cherry picked from commit 180dc1b0f4a57c3f66351568ae8488fa8576d7f0) Co-authored-by: Julien Palard <julien@palard.fr> https://bugs.python.org/issue28866 | 26 May 2019, 22:14:23 UTC |
f3d9094 | Michael Blahay | 26 May 2019, 14:28:09 UTC | BPO-27639: Correct return type for UserList slicing operation (#13203) Added logic to __getitem__ magic method for UserList to ensure that the return type matches that of self. | 26 May 2019, 14:28:09 UTC |
1b85f4e | Miss Islington (bot) | 25 May 2019, 17:18:34 UTC | bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) (cherry picked from commit f0be4bbb9b3cee876249c23f2ae6f38f43fa7495) Co-authored-by: Inada Naoki <songofacandy@gmail.com> | 25 May 2019, 17:18:34 UTC |
2156fec | Gregory P. Smith | 25 May 2019, 17:05:01 UTC | [3.7] Revert "align PyGC_Head to alignof(long double) (GH-13335)" (GH-13569) This reverts commit ea2b76bdc5f97f49701213d105b8ec2387ea2fa5. See the bug for discussion. https://bugs.python.org/issue27987 | 25 May 2019, 17:05:01 UTC |
ea2b76b | Inada Naoki | 25 May 2019, 12:13:33 UTC | bpo-27987: align PyGC_Head to alignof(long double) (GH-13335) | 25 May 2019, 12:13:33 UTC |
c70ab1c | Miss Islington (bot) | 25 May 2019, 05:10:09 UTC | bpo-37038: Make idlelib.run runnable; add test clause (GH-13560) (cherry picked from commit 81bb97df6138c755e229dcdac9bed747e31b61b3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 25 May 2019, 05:10:09 UTC |
cee4ac8 | Victor Stinner | 24 May 2019, 21:29:10 UTC | bpo-35907: Clarify the NEWS entry (GH-13558) | 24 May 2019, 21:29:10 UTC |
310f414 | Miss Islington (bot) | 24 May 2019, 09:22:38 UTC | bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not handled (GH-7778) ``_thread.interrupt_main()`` now avoids setting the Python error status if the ``SIGINT`` signal is ignored or not handled by Python. (cherry picked from commit 608876b6b1eb59538e6c29671a733033fb8b5be7) Co-authored-by: Matěj Cepl <mcepl@cepl.eu> | 24 May 2019, 09:22:38 UTC |
a3488e5 | Miss Islington (bot) | 23 May 2019, 14:19:41 UTC | bpo-36797: Reduce levels of indirection in outdated distutils docs (GH-13462) (cherry picked from commit e788057a9188ff37e232729815dfda2529079420) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> | 23 May 2019, 14:19:41 UTC |
7cc47e9 | Miss Islington (bot) | 23 May 2019, 10:21:11 UTC | bpo-37008: make mock_open handle able to honor next() (GH-13492) I've reported the issue on https://bugs.python.org/issue37008 and now I'm trying to bring a solution to this minor issue. I think it could be trivially backported to 3.7 branch. https://bugs.python.org/issue37008 (cherry picked from commit 394119afc6611f17bac96f5ec6fefa00000ae795) Co-authored-by: Damien Nadé <Anvil@users.noreply.github.com> | 23 May 2019, 10:21:11 UTC |
0416d6f | Miss Islington (bot) | 23 May 2019, 01:41:43 UTC | bpo-27737: Allow whitespace only headers encoding (GH-13478) (#13517) (cherry picked from commit ef5bb25e2d6147cd44be9c9b166525fb30485be0) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> | 23 May 2019, 01:41:43 UTC |
367fe57 | Miss Islington (bot) | 23 May 2019, 00:18:55 UTC | bpo-35091: Objects/listobject.c: Replace overflow checks in gallop fu… (GH-10202) …nctions with asserts The actual overflow can never happen because of the following: * The size of a list can't be greater than PY_SSIZE_T_MAX / sizeof(PyObject*). * The size of a pointer on all supported plaftorms is at least 4 bytes. * ofs is positive and less than the list size at the beginning of each iteration. https://bugs.python.org/issue35091 (cherry picked from commit 6bc5917903b722bdd0e5d3020949f26fec5dfe9a) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> | 23 May 2019, 00:18:55 UTC |
b73c21c | Miss Islington (bot) | 22 May 2019, 22:02:24 UTC | bpo-33110: Catch errors raised when running add_done_callback on already completed futures (GH-13141) Wrap the callback call within the `add_done_callback` function within concurrent.futures, in order to behave in an identical manner to callbacks added to a running future are triggered once it has completed. (cherry picked from commit 2a3a2ece502c05ea33c95dd0db497189e0354bfd) Co-authored-by: Sam Martin <ABitMoreDepth@users.noreply.github.com> | 22 May 2019, 22:02:24 UTC |
34bab21 | Victor Stinner | 22 May 2019, 21:28:28 UTC | bpo-35907, CVE-2019-9948: urllib rejects local_file:// scheme (GH-13474) (GH-13505) CVE-2019-9948: Avoid file reading as disallowing the unnecessary URL scheme in URLopener().open() and URLopener().retrieve() of urllib.request. Co-Authored-By: SH <push0ebp@gmail.com> (cherry picked from commit 0c2b6a3943aa7b022e8eb4bfd9bffcddebf9a587) | 22 May 2019, 21:28:28 UTC |
81c5ec9 | Jelle Zijlstra | 22 May 2019, 16:28:39 UTC | [3.7] bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779) (GH-13502) A very simple fix. I found this while writing typeshed stubs for StreamRecoder. https://bugs.python.org/issue33482. (cherry picked from commit b3be4072888a4ce054993c2801802721466ea02d) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> https://bugs.python.org/issue33482 | 22 May 2019, 16:28:38 UTC |
a58db96 | Victor Stinner | 22 May 2019, 16:23:28 UTC | bpo-36829: Enhance PyErr_WriteUnraisable() (GH-13487) PyErr_WriteUnraisable() now displays the exception even if displaying the traceback failed. Moreover, hold a strong reference to sys.stderr while using it. Document that an exception must be set when calling PyErr_WriteUnraisable(), but don't add an assertion to check it at runtime. Cleanup: use longer names for variables and create write_unraisable_exc_file() subfunction. | 22 May 2019, 16:23:28 UTC |
d092caf | Jeroen Demeyer | 22 May 2019, 12:52:13 UTC | bpo-36907: fix refcount bug in _PyStack_UnpackDict() (GH-13381) (GH-13493) | 22 May 2019, 12:52:13 UTC |
791e5fc | Erik Janssens | 22 May 2019, 11:04:06 UTC | bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-13421) (GH-13471) Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant. Moreover, include windows.h on Windows, not only when MSC is used. (cherry picked from commit 925af1d99b69bf3e229411022ad840c5a0cfdcf8) | 22 May 2019, 11:04:06 UTC |
aea49b1 | Miss Islington (bot) | 21 May 2019, 19:05:08 UTC | [3.7] bpo-36035: fix Path.rglob for broken links (GH-11988) (GH-13469) Links creating an infinite symlink loop would raise an exception. (cherry picked from commit d5c120f7eb6f2a9cdab282a5d588afed307a23df) Co-authored-by: Jörg Stucke <joerg.stucke@fkie.fraunhofer.de> https://bugs.python.org/issue36035 | 21 May 2019, 19:05:08 UTC |
390d88e | Tal Einat | 21 May 2019, 19:03:58 UTC | [3.7] bpo-19376: Added doc mentioning `datetime.strptime()` without a year fails for Feb 29. (GH-10243) (cherry picked from commit 56027ccd6b9dab4a090e4fef8574933fb9a36ff2) Co-authored-by: Abhishek Kumar Singh <toanant@users.noreply.github.com> | 21 May 2019, 19:03:58 UTC |
6b48e65 | Miss Islington (bot) | 21 May 2019, 17:51:56 UTC | bpo-36929: Modify io/re tests to allow for missing mod name (GH-13392) * bpo-36929: Modify io/re tests to allow for missing mod name For a vanishingly small number of internal types, CPython sets the tp_name slot to mod_name.type_name, either in the PyTypeObject or the PyType_Spec. There are a few minor places where this surfaces: * Custom repr functions for those types (some of which ignore the tp_name in favor of using a string literal, such as _io.TextIOWrapper) * Pickling error messages The test suite only tests the former. This commit modifies the test suite to allow Python implementations to omit the module prefix. https://bugs.python.org/issue36929 (cherry picked from commit ccb7ca728e09b307f9e9fd36ec40353137e68a3b) Co-authored-by: Max Bernstein <tekknolagi@users.noreply.github.com> | 21 May 2019, 17:51:56 UTC |
3c9c2dc | Miss Islington (bot) | 21 May 2019, 15:41:44 UTC | bpo-34144: Fix of venv acvtivate.bat for win 10 (GH-8321) The script needs to be updated to support win 10/ 1803 chcp.com command (output has trailing dot) https://bugs.python.org/issue34144 (cherry picked from commit 6955d44b41058e3bcc59ff41860bd4cc8948c441) Co-authored-by: Lorenz Mende <Lorenz.mende@gmail.com> | 21 May 2019, 15:41:44 UTC |
cdb2dbf | Geoff Shannon | 21 May 2019, 09:36:58 UTC | [3.7] bpo-22865: Expand on documentation for the pty.spawn function (GH-11980) (GH-13455) (cherry picked from commit 522ccef8690970fc4f78f51a3adb995f2547871a) Co-authored-by: Geoff Shannon <earthlingzephyr@gmail.com> | 21 May 2019, 09:36:57 UTC |
50b3f20 | Miss Islington (bot) | 20 May 2019, 22:34:23 UTC | bpo-36969: Make PDB args command display keyword only arguments (GH-13452) (cherry picked from commit bf457c7d8224179a023957876e757f2a7ffc3d9d) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> | 20 May 2019, 22:34:23 UTC |
3887932 | Miss Islington (bot) | 20 May 2019, 12:35:56 UTC | bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fails (GH-11553) This slightly expands an existing test case `test_popen_error` to trigger a `ResourceWarning` and fixes it. https://bugs.python.org/issue35721 (cherry picked from commit 9932fd91e878b740704ff599522e945a4bbe2ae1) Co-authored-by: Niklas Fiekas <niklas.fiekas@backscattering.de> | 20 May 2019, 12:35:56 UTC |
2d94d4f | Miss Islington (bot) | 20 May 2019, 07:16:53 UTC | bpo-36958: In IDLE, print exit message (GH-13435) Print any argument other than None or int passed to SystemExit or sys.exit(). (cherry picked from commit 6d965b39b7a486dd9e96a60b19ee92382d668299) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 20 May 2019, 07:16:53 UTC |
64b0bdb | Miss Islington (bot) | 20 May 2019, 00:54:08 UTC | closes bpo-36951: Correct some types in the type_members struct in typeobject.c. (GH-13403) (cherry picked from commit 53d378c81286644138415cb56da52a7351e1a477) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 20 May 2019, 00:54:08 UTC |