7cbde0e | Miss Islington (bot) | 27 July 2018, 16:17:20 UTC | bpo-30722: Fix NEWS entries (GH-8501) (cherry picked from commit 612dbefe9dfce0f67bce358613e472e913be8a57) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | 27 July 2018, 16:17:20 UTC |
0964aac | Miss Islington (bot) | 27 July 2018, 08:05:35 UTC | vsts: Avoid conflict with Homebrew Python (GH-8430) /usr/local/lib/pythonX.Y is used by Homebrew's Python already. (cherry picked from commit 3e7d18a54b9243b9652c9ddab87c2b9153dc365f) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | 27 July 2018, 08:05:35 UTC |
21ed29a | Miss Islington (bot) | 27 July 2018, 04:40:37 UTC | bpo-12743: Delete comment from marshal.rst (GH-8457) Also, update the list of exceptions that may raised by PyMarshal_* functions. We usually don't document exceptions raised by a function, but in this case most of them were already documented in C API and standard library documentation. (cherry picked from commit defcffdf86780e3a184ebb25dc9a7b807753d57a) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | 27 July 2018, 04:40:37 UTC |
3cc505e | Steve Dower | 26 July 2018, 16:17:02 UTC | bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. (GH-8464) | 26 July 2018, 16:17:02 UTC |
89352b0 | Miss Islington (bot) | 26 July 2018, 13:58:16 UTC | bpo-32663 Make SMTPUTF8SimTests run (GH-5314) (#8471) Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in). (cherry picked from commit 48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51) Co-authored-by: chason <chason@gmail.com> | 26 July 2018, 13:58:16 UTC |
9736493 | Miss Islington (bot) | 25 July 2018, 20:34:09 UTC | bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385) (GH-8466) On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows. (cherry picked from commit 96d1e69a12ed8ab80203277e1abdaf573457a964) Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> | 25 July 2018, 20:34:09 UTC |
ec02c58 | Miss Islington (bot) | 25 July 2018, 17:52:18 UTC | bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208) (cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com> | 25 July 2018, 17:52:18 UTC |
6f7fd96 | Miss Islington (bot) | 24 July 2018, 17:30:33 UTC | Fix site module documentation. (GH-8441) The script will exit with the number 0 (zero), instead of the letter O. (cherry picked from commit 95d34c2a37f4c5046f6439abef881925d34fe4ac) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> | 24 July 2018, 17:30:33 UTC |
23a3297 | Miss Islington (bot) | 24 July 2018, 12:05:57 UTC | [3.7] bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364) (GH-8365) (cherry picked from commit 06ca3f0c09d017b9d741553818459cca2d5da587) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 24 July 2018, 12:05:57 UTC |
0b27169 | Miss Islington (bot) | 24 July 2018, 10:53:39 UTC | bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) (GH-8435) Now base64.Error is always raised instead of UnboundLocalError or OverflowError. (cherry picked from commit ac0b3c2f4d86fc056b833a4e6b9a380741244a63) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 24 July 2018, 10:53:39 UTC |
220afff | Miss Islington (bot) | 23 July 2018, 22:41:26 UTC | bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) (GH-8423) (cherry picked from commit aba24ff3601ddc86b85e01880a8be596fb799287) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 23 July 2018, 22:41:26 UTC |
519fc55 | Miss Islington (bot) | 23 July 2018, 22:02:00 UTC | bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. (GH-8381) (GH-8422) (cherry picked from commit db8e3a1e4476620b2b5aaf57acfc3ef58a08213b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 23 July 2018, 22:02:00 UTC |
25b87d3 | Miss Islington (bot) | 23 July 2018, 21:45:26 UTC | bpo-34190: Fix reference leak in call_function() (GH-8413) (GH-8418) (cherry picked from commit 147d95511f59cfdd2d522f9d736f2335457bae20) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> | 23 July 2018, 21:45:26 UTC |
4e166ff | Miss Islington (bot) | 23 July 2018, 21:38:18 UTC | bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816) (GH-8425) (cherry picked from commit bde782bb594edffeabe978abeee2b7082ab9bc2a) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> | 23 July 2018, 21:38:18 UTC |
6353382 | Miss Islington (bot) | 23 July 2018, 21:25:11 UTC | bpo-34184: Fix running Lib/test/test_dataclasses.py as a script. (GH-8382) (GH-8421) (cherry picked from commit 3fe5cccb08283f5f4817ac432560972a4c0f5290) | 23 July 2018, 21:25:11 UTC |
96bba04 | Miss Islington (bot) | 23 July 2018, 13:54:46 UTC | bpo-33336, imaplib: Legalize MOVE command (GH-6569) (GH-8409) imaplib now allows MOVE command in IMAP4.uid() (RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of IMAP4 object. (cherry picked from commit caa331d492acc67d8f4edd16542cebfabbbe1e79) Co-authored-by: Matěj Cepl <mcepl@cepl.eu> | 23 July 2018, 13:54:46 UTC |
ba1810e | Miss Islington (bot) | 23 July 2018, 12:39:11 UTC | bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) (GH-8407) When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test. (cherry picked from commit 752d4b7531093c55d6f0a5846748f981d79b29d3) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 23 July 2018, 12:39:11 UTC |
05a72f1 | Miss Islington (bot) | 23 July 2018, 08:11:22 UTC | bpo-21446: Update reload fixer to use importlib (GH-8391) (cherry picked from commit 7a3056fa7dd1223fe7112e53b236c43d71f33f64) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | 23 July 2018, 08:11:22 UTC |
14f58f0 | Miss Islington (bot) | 23 July 2018, 06:51:54 UTC | bpo-940286: Fix pydoc to show cross refs correctly (GH-8390) (cherry picked from commit d04f46c59f1d07d9bcc0ba910741296ac88d370d) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | 23 July 2018, 06:51:54 UTC |
c7b91d9 | Serhiy Storchaka | 22 July 2018, 19:14:15 UTC | [3.7] bpo-34189: Add simple tests for new Tk widget options. (GH-8396) (GH-8398) (cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b) (cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235) | 22 July 2018, 19:14:15 UTC |
81f85d0 | Miss Islington (bot) | 22 July 2018, 10:41:41 UTC | bpo-34181: Fix running Lib/test/test_typing.py as a script. (GH-8380) (GH-8385) (cherry picked from commit 961360923e7997a04833652623ea549b0dc02262) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 22 July 2018, 10:41:41 UTC |
7cf7541 | Miss Islington (bot) | 21 July 2018, 23:04:54 UTC | Fix versionchanged indentation in popitem documentation (GH-8387) (cherry picked from commit cb9c299a55c244f77563c60e5a4afcc2221eac21) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 21 July 2018, 23:04:54 UTC |
92ce6a6 | Miss Islington (bot) | 21 July 2018, 18:38:19 UTC | bpo-34179: Make sure decimal context doesn't affect other tests. (GH-8376) (#8383) (cherry picked from commit 938045f335b52ddb47076e9fbe4229a33b4bd9be) Co-authored-by: Bo Bayles <bbayles@gmail.com> | 21 July 2018, 18:38:19 UTC |
7638eb8 | Miss Islington (bot) | 21 July 2018, 16:58:35 UTC | bpo-34126: Fix crashes while profiling invalid calls. (GH-8300) (GH-8371) (cherry picked from commit 56868f940e0cc0b35d33c0070107ff3bed2d8766) Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be> | 21 July 2018, 16:58:35 UTC |
25326de | Xtreak | 21 July 2018, 07:25:03 UTC | [3.7] bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367) (GH-8369) (cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> | 21 July 2018, 07:25:03 UTC |
a7a6eac | Miss Islington (bot) | 21 July 2018, 01:52:44 UTC | bpo-33723: Fix test_time.test_process_time() (GH-8358) (GH-8362) The test failed on my laptop because the busy loop took 15.9 ms whereas the test expects at least 20 ms. Modify test_process_time() as test_thread_time() has been modified recently: only require 15 ms instead of 20 ms. (cherry picked from commit e78dace8dcb23c371df19c9add65895adf436995) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 21 July 2018, 01:52:44 UTC |
03ec4df | Miss Islington (bot) | 21 July 2018, 00:16:22 UTC | bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043) (GH-8352) Py_Main() can again be called after Py_Initialize(), as in Python 3.6. The new configuration is ignored, except of _PyMainInterpreterConfig.argv which is used to update sys.argv. (cherry picked from commit fb47bca9ee2d07ce96df94b4e4abafd11826eb01) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 21 July 2018, 00:16:22 UTC |
49abd30 | Miss Islington (bot) | 20 July 2018, 20:38:06 UTC | bpo-34161: Remove extra parentheses in output formatting tutorial (GH-8350) The parentheses were incorrect. (cherry picked from commit cb5f3fdb9d353a572dd22fb50a110e52d5bb81b1) Co-authored-by: Aaqa Ishtyaq <aaqaishtyaq@gmail.com> | 20 July 2018, 20:38:06 UTC |
97c079c | Terry Jan Reedy | 20 July 2018, 06:48:17 UTC | bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8347) Cherry-picked from 2c5c0a3 | 20 July 2018, 06:48:17 UTC |
cede1e1 | Zachary Ware | 20 July 2018, 02:50:52 UTC | [3.7] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887) (cherry picked from commit b12112b5ba608cdd7a0962a6b18cad4fe58b46e6) | 20 July 2018, 02:50:52 UTC |
339e0c1 | Miss Islington (bot) | 19 July 2018, 09:27:42 UTC | bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331) Increase the timeout: give timeout x 4 instead of timeout x 2 to threads to wait until the Event is set, but reduce the sleep from 500 ms to 250 ms. So the test should be more reliable and faster! (cherry picked from commit 81950495ba2c36056e0ce48fd37d514816c26747) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 19 July 2018, 09:27:42 UTC |
296e572 | Victor Stinner | 18 July 2018, 16:49:27 UTC | [3.7] bpo-34130: Fix 2 race conditions in test_signal (GH-8329) * bpo-34130: Fix test_signal.test_socket() (GH-8326) test_signal.test_socket(): On Windows, sometimes even if the C signal handler succeed to write the signal number into the write end of the socketpair, the test fails with a BlockingIOError on the non-blocking read.recv(1) because the read end of the socketpair didn't receive the byte yet. Fix the race condition on Windows by setting the read end as blocking. (cherry picked from commit 99bb6df66a42625367c4f38e6802c8bb527baf4a) * bpo-34130: Fix test_signal.test_warn_on_full_buffer() (GH-8327) On Windows, sometimes test_signal.test_warn_on_full_buffer() fails to fill the socketpair buffer. In that case, the C signal handler succeed to write into the socket, it doesn't log the expected send error, and so the test fail. On Windows, the test now uses a timeout of 50 ms to fill the socketpair buffer to fix this race condition. Other changes: * Begin with large chunk size to fill the buffer to speed up the test. * Add error messages to assertion errors to more easily identify which assertion failed. * Don't set the read end of the socketpair as non-blocking. (cherry picked from commit 686b4b5ff219ed66714f3b811815776dafadc23b) | 18 July 2018, 16:49:27 UTC |
68833dc | Miss Islington (bot) | 17 July 2018, 20:22:50 UTC | Clarify ValueError's broad applicability (GH-8313) (GH-8315) (cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | 17 July 2018, 20:22:50 UTC |
6020d98 | Miss Islington (bot) | 17 July 2018, 07:09:32 UTC | bpo-34068: _io__IOBase_close_impl could call _PyObject_SetAttrId with an exception set (GH-8282) (cherry picked from commit 28f07364f066792ceee93231dbb80ae8ad98b2bb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 17 July 2018, 07:09:32 UTC |
892df9d | Miss Islington (bot) | 17 July 2018, 05:18:56 UTC | bpo-33967: Fix wrong use of assertRaises (GH-8306) (cherry picked from commit 56d8f57b83a37b05a6f2fbc3e141bbc1ba6cb3a2) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | 17 July 2018, 05:18:56 UTC |
bfa8a35 | Miss Islington (bot) | 17 July 2018, 02:08:13 UTC | bpo-34123: Fix missed documentation update for dict.popitem(). (GH-8292) (GH#8307) | 17 July 2018, 02:08:13 UTC |
43c2fab | Miss Islington (bot) | 16 July 2018, 18:43:41 UTC | bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297) (cherry picked from commit c9265c1534b7e62bb9b15460d0420c0c3bb57ff9) Co-authored-by: Jon Ribbens <jribbens@gmail.com> | 16 July 2018, 18:43:41 UTC |
0a820a2 | Miss Islington (bot) | 16 July 2018, 09:40:11 UTC | bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) (GH-8296) It was added in test_functools at 445f1b3. (cherry picked from commit 9e9b2c32a34594e901b5b9a03c561a2a2bf63ece) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 16 July 2018, 09:40:11 UTC |
bbddd66 | Miss Islington (bot) | 16 July 2018, 09:02:23 UTC | bpo-33911: Fixed deprecation warning in xmlrpc.server (GH-7847) (GH-8294) Replace deprecated inspect.getfullargspec() with inspect.signature(). (cherry picked from commit 35c0809158be7feae4c4f877a08b93baea2d8291) Co-authored-by: Nicolas Noé <nicolas@niconoe.org> | 16 July 2018, 09:02:23 UTC |
5594f1d | Miss Islington (bot) | 16 July 2018, 07:09:44 UTC | bpo-24618: Add a check in the code constructor. (GH-8283) Check that the size of the varnames tuple is enough at least for all arguments. (cherry picked from commit bd47384e07bde38a8f18b90b4cea02a505d95c75) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 16 July 2018, 07:09:44 UTC |
3fc12f0 | Miss Islington (bot) | 16 July 2018, 00:44:11 UTC | bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288) (cherry picked from commit 15c7b2abdfb93f8902dd72474818aee2bf97fa66) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 16 July 2018, 00:44:11 UTC |
c721472 | Miss Islington (bot) | 14 July 2018, 03:58:12 UTC | bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274) `_PyUnicode_TransformDecimalAndSpaceToASCII()` missed trailing NUL char. It caused buffer overflow in `_Py_string_to_number_with_underscores()`. This bug is introduced in 9b6c60cb. (cherry picked from commit 16dfca4d829e45f36e71bf43f83226659ce49315) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> | 14 July 2018, 03:58:12 UTC |
cf21d00 | Miss Islington (bot) | 13 July 2018, 19:24:19 UTC | bpo-34108: Fix double carriage return in 2to3 on Windows (GH-8271) (#8275) * Add test capturing failure. * Honor newlines as present in the original file. (cherry picked from commit cafaf0447b950fd4f59edd8cbde040c61ae528f8) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | 13 July 2018, 19:24:19 UTC |
08c1da7 | Miss Islington (bot) | 13 July 2018, 13:35:31 UTC | bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924) (cherry picked from commit 379e9d639a52766f79c7a206c5096c8333d1896f) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 13 July 2018, 13:35:31 UTC |
4ada0cf | Miss Islington (bot) | 12 July 2018, 14:05:43 UTC | bpo-33723: Fix test_time.test_thread_time() (GH-8267) The test failed on AMD64 Debian root 3.x buildbot because the busy loop of 100 ms only increased time.thread_time() by 19.9 ms which is smaller than 20 ms. Modify the test to tolerate a delta of at least 15 ms instead of 20 ms. (cherry picked from commit d6345def68d3a0227253da26213dadb247f786db) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 12 July 2018, 14:05:43 UTC |
b89776f | Miss Islington (bot) | 12 July 2018, 09:05:49 UTC | bpo-33716, test_concurrent_futures: increase timeout (GH-7828) Increase the timeout from 1 min to 5 min. Replace also time.time() with time.monotonic() for timeouts. (cherry picked from commit 3ad8decd76c736f393755537aeb19b5612c21761) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 12 July 2018, 09:05:49 UTC |
9beed0c | Miss Islington (bot) | 11 July 2018, 21:54:29 UTC | bpo-34080: Fix a memory leak in the compiler. (GH-8222) (cherry picked from commit 993030aac576710a46b3dd0b4864f819d4a94145) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 11 July 2018, 21:54:29 UTC |
48d2aeb | Miss Islington (bot) | 11 July 2018, 16:56:05 UTC | bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192) (cherry picked from commit 504373c59b48f1ea12132d515459022730db6047) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 11 July 2018, 16:56:05 UTC |
020f5ab | Miss Islington (bot) | 11 July 2018, 14:48:42 UTC | bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114) This code does not appear to be used anywhere in the python code base. The use was removed in eb81795d7d3a8c898fa89. (cherry picked from commit b91a3a0d61596cafb1b46c98fab65fee16a8bbbb) Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com> | 11 July 2018, 14:48:42 UTC |
0a1db32 | Miss Islington (bot) | 11 July 2018, 13:56:45 UTC | bpo-34092, test_logging: increase SMTPHandlerTest timeout (GH-8245) (GH-8247) Change test_logging.SMTPHandlerTest timeout from 8 seconds to 1 minute. The test failed randomly on the slow x86 Gentoo Refleaks 3.7 buildbot. (cherry picked from commit 31b50b8cbfbf49d5fc17c612cf0dfaa4d0c24983) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 11 July 2018, 13:56:45 UTC |
151820e | Miss Islington (bot) | 11 July 2018, 11:21:52 UTC | bpo-34083: Update dict order in Functional HOWTO (GH-8230) (cherry picked from commit 5e5bbbec467a1569c914a048a94e7597528f92cf) Co-authored-by: Stig Johan Berggren <stigjb@gmail.com> | 11 July 2018, 11:21:52 UTC |
6b1b6e4 | Miss Islington (bot) | 11 July 2018, 10:32:31 UTC | Doc: Point to Simple statements section instead of PEP (GH-8238) (cherry picked from commit 33aefad3424853ff197c23431efec89d6598b19d) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 11 July 2018, 10:32:31 UTC |
bcea15a | Miss Islington (bot) | 11 July 2018, 10:11:11 UTC | Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (GH-8038) (GH-8237) Change example function to append rather than add lists. (cherry picked from commit da5e9476bbfbe61f7661fd22caba1b675e5b4397) Co-authored-by: Tom Faulkner <tomfaulkner@gmail.com> | 11 July 2018, 10:11:11 UTC |
c87b1aa | Miss Islington (bot) | 11 July 2018, 00:51:03 UTC | Fix documentation for input and output tutorial (GH-8231) The ValueError message ends with a period. (cherry picked from commit 9cffdbffc3b2dec18def1c3e8cfa166d01d609df) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | 11 July 2018, 00:51:03 UTC |
5cca6f9 | Miss Islington (bot) | 10 July 2018, 13:24:06 UTC | bpo-34009: Expand on platform support changes (GH-8022) Many users won't realise the implications the OpenSSL 1.0.2 minimum version requirement has when it comes to Ubuntu 14.04 and Debian 8, so expand on that in the platform support section. Also explicitly note the non-ASCII-based locale requirement for full Unicode text handling support on non-Windows systems. (cherry picked from commit 5fe7c98a54d127759cfce323fab831008c945964) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> | 10 July 2018, 13:24:06 UTC |
125371d | Miss Islington (bot) | 10 July 2018, 10:08:43 UTC | bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091) Contributed by Bradley Laney. (cherry picked from commit 6b490b5db40fc29588e8e6cc23bb89c4fed74ad5) Co-authored-by: Bradley Laney <bradley.laney@gmail.com> | 10 July 2018, 10:08:43 UTC |
df9f633 | Miss Islington (bot) | 10 July 2018, 07:48:57 UTC | bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184) (cherry picked from commit 445f1b35ce8461268438c8a6b327ddc764287e05) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 10 July 2018, 07:48:57 UTC |
c3bdea4 | Miss Islington (bot) | 10 July 2018, 04:48:02 UTC | prefix internal sqlite symbols with _pysqlite_ (GH-8215) (cherry picked from commit 7762e4d3872818272800dfbd8e1d8e3a689eb8f2) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 10 July 2018, 04:48:02 UTC |
ba10da1 | Miss Islington (bot) | 10 July 2018, 04:02:29 UTC | delete some unused pysqlite forward declarations (GH-8211) (cherry picked from commit d6d4432724b12efc0d280b8eb80bca0deb8d4323) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 10 July 2018, 04:02:29 UTC |
8d6b6d1 | Miss Islington (bot) | 09 July 2018, 21:50:29 UTC | Move Code_of_Conduct.rst to the root level. (GH-8209) Follow up from https://github.com/python/peps/pull/712GH-issuecomment-403591108: "people using the repo without using GitHub still ought to be reminded of the COC" - GvR (cherry picked from commit 3ed919290e0a67a1299afbdaeab4946bc479f92c) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> | 09 July 2018, 21:50:29 UTC |
22fb674 | Miss Islington (bot) | 09 July 2018, 19:37:23 UTC | bpo-24459: Document missing env variables in python.man (GH-4142) Initial patch by Joshua Jay Herman. (cherry picked from commit 9863de0355caf23c44b708a5d68b603e135f7ae9) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | 09 July 2018, 19:37:23 UTC |
6f4fbf8 | Miss Islington (bot) | 09 July 2018, 19:06:02 UTC | bpo-22689: Copy the result of getenv() in sys_breakpointhook(). (GH-8194) (cherry picked from commit f60bf0e168255b7675a4c049250ba6b202f8e647) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 09 July 2018, 19:06:02 UTC |
958a25e | Miss Islington (bot) | 09 July 2018, 15:47:14 UTC | Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191) Fixed also testing the "always" warning filter. (cherry picked from commit b796e7dcdc24ff7ec53044af041254c83a8ace21) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | 09 July 2018, 15:47:14 UTC |
1b6e217 | Miss Islington (bot) | 09 July 2018, 14:11:42 UTC | bpo-34067: Include a more easily understood example for nullcontext (GH-8158) Include a more easily understood example for nullcontext (cherry picked from commit c287545d62edf1a1ee65727d3c57befa8c99c13a) Co-authored-by: Daniel Porteous <danielporteous1@gmail.com> | 09 July 2018, 14:11:42 UTC |
80a5f04 | Miss Islington (bot) | 09 July 2018, 13:52:48 UTC | bpo-28626: rearrange discussion of output formatting to encourage f-strings (GH-6036) The 'output formatting' section of the tutorial talks a lot about manual formatting with things like .rjust() and .zfill(), with only a passing reference to 3.6's new f-strings. This doesn't drop all of the old material, but it does rearrange the topics into a more modern order: f-strings first, discussing formatting specifiers a bit; then calling .format(); finally manual formatting with .ljust(). (cherry picked from commit ced350b1952857a9b9c68ec7e2786358bcb61050) Co-authored-by: Andrew Kuchling <amk@amk.ca> | 09 July 2018, 13:52:48 UTC |
f5197dd | Miss Islington (bot) | 09 July 2018, 13:31:03 UTC | bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159) This will prevent emitting a resource warning when the execution was interrupted by Ctrl-C between calling open() and entering a 'with' block in "with open()". (cherry picked from commit 3f4d90d4d72921f16babd3f52d7df804916af224) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 09 July 2018, 13:31:03 UTC |
7c43b80 | Serhiy Storchaka | 09 July 2018, 09:55:35 UTC | [3.7] bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) (cherry picked from commit 2a9b8babf0d09946ebebfdb2931cc0d3db5a1d3d) | 09 July 2018, 09:55:35 UTC |
79c6b35 | Miss Islington (bot) | 09 July 2018, 00:48:02 UTC | Fix margin in sentinel and mock_open (GH-8188) (cherry picked from commit f85af035c5cb9a981f5e3164425f27cf73231b5f) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 09 July 2018, 00:48:02 UTC |
0b63759 | Marcin Niemira | 08 July 2018, 13:59:48 UTC | bpo-34061: Document sqlite3.NotSupportedError (GH-8172) (cherry picked from commit bc9aa813a34474e517af8999565ff6151559d42f) Co-authored-by: Marcin Niemira <marcin@niemira.net> | 08 July 2018, 13:59:48 UTC |
a410f9f | Miss Islington (bot) | 08 July 2018, 08:09:21 UTC | bpo-31014: Fix the webbrowser module. (GH-7267) webbrowser._synthesize() called webbrowser.register() with outdated signature. Co-Authored-By: John Still <john@jmsdvl.com> (cherry picked from commit 25b804a9c21c735ce322877f105ebab2539ccfc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 08 July 2018, 08:09:21 UTC |
21fe81c | Miss Islington (bot) | 07 July 2018, 23:42:33 UTC | bpo-33888: Use CPython instead of Python in the FAQ (GH-7767) Make the change where discussing the CPython implementation of lists and dicts. (cherry picked from commit 8d41278045ee4e8bf1cadb58a7db58d70ad55237) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 07 July 2018, 23:42:33 UTC |
a912305 | Miss Islington (bot) | 07 July 2018, 22:47:35 UTC | closes bpo-34050: Fix link in SSL docs (GH-8173) (cherry picked from commit 9c5ba097485c8c643b670acd4026f4382bc92f4b) Co-authored-by: Marcin Niemira <marcin@niemira.net> | 07 July 2018, 22:47:35 UTC |
6d16a91 | Miss Islington (bot) | 07 July 2018, 22:42:28 UTC | Make PySimpleQueueType static. (GH-8175) (cherry picked from commit 9b50a7f29b761920c04d8c3435d216145da15311) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 07 July 2018, 22:42:28 UTC |
80c188f | Miss Islington (bot) | 07 July 2018, 21:09:09 UTC | bpo-33702: Add some missing links in production lists and do a little polish (GH-7259) (cherry picked from commit caccca78e46bf3c3b24e09b3afb1c1b08c39990c) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 07 July 2018, 21:09:09 UTC |
e5b47ea | Miss Islington (bot) | 07 July 2018, 20:39:03 UTC | bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510) (cherry picked from commit b6bb77c2b8e83ba6cb845c7b512ac564276e854f) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 07 July 2018, 20:39:03 UTC |
c5e4c76 | Miss Islington (bot) | 07 July 2018, 19:32:08 UTC | Fix moduleauthor/sectionauthor directives in Enum (GH-8117) (cherry picked from commit 2d748389dc9c8d083f51c7d28761e088a5468c86) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 07 July 2018, 19:32:08 UTC |
c8b18d3 | Miss Islington (bot) | 07 July 2018, 19:19:55 UTC | Add missing closing parentheses (GH-8144) (cherry picked from commit 03dd0e794e26afb5fa998d10ae2071e2cb0bc634) Co-authored-by: Andrés Delfino <adelfino@gmail.com> | 07 July 2018, 19:19:55 UTC |
c34e4e9 | Miss Islington (bot) | 07 July 2018, 18:37:54 UTC | Make various internal _testbuffer symbols static. (GH-8160) (cherry picked from commit 6cfe45a5c3d41c08d09f319ea68065b10200b13f) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 07 July 2018, 18:37:54 UTC |
75f2eb5 | Dong-hee Na | 07 July 2018, 16:12:11 UTC | [3.7] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8156) (cherry picked from commit 2800dcf656229c2ca4c90b4ddbace0717c41bb9e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | 07 July 2018, 16:12:11 UTC |
e019f98 | Miss Islington (bot) | 07 July 2018, 16:05:36 UTC | Fix typo in TypeVar docstring (GH-8142) "can be used do declare" → "can be used to declare" (cherry picked from commit 86bfed372b81b8111a56a3311d537566d5df7f61) Co-authored-by: João D. Ferreira <jotomicron@gmail.com> | 07 July 2018, 16:05:36 UTC |
8e4c851 | Miss Islington (bot) | 07 July 2018, 04:25:22 UTC | Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147) (cherry picked from commit cb4bae72c965ce946e0fdb48db67c73afdcb5649) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 07 July 2018, 04:25:22 UTC |
7bd6f0e | Miss Islington (bot) | 07 July 2018, 04:00:45 UTC | closes bpo-34056: Always return bytes from _HackedGetData.get_data(). (GH-8130) * Always return bytes from _HackedGetData.get_data(). Ensure the imp.load_source shim always returns bytes by reopening the file in binary mode if needed. Hash-based pycs have to receive the source code in bytes. It's tempting to change imp.get_suffixes() to always return 'rb' as a mode, but that breaks some stdlib tests and likely 3rdparty code, too. (cherry picked from commit b0274f2cddd36b49fe5080efbe160277ef546471) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 07 July 2018, 04:00:45 UTC |
127bd9b | Miss Islington (bot) | 06 July 2018, 16:40:17 UTC | bpo-34042: Fix dict.copy() to maintain correct total refcount (GH-8119) (cherry picked from commit 0b75228700e0077d8bf2636e74733389514b4b2f) Co-authored-by: Yury Selivanov <yury@magic.io> | 06 July 2018, 16:40:17 UTC |
4bd5fce | Miss Islington (bot) | 06 July 2018, 12:11:21 UTC | bpo-34054: multiprocessing uses time.monotonic() (GH-8118) The multiprocessing module now uses the monotonic clock time.monotonic() instead of the system clock time.time() to implement timeouts. (cherry picked from commit c2368cbc83ca2bafeaea0e4760be4996046d0444) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 06 July 2018, 12:11:21 UTC |
4e9d9b3 | Miss Islington (bot) | 06 July 2018, 12:08:51 UTC | fix two typos in Objects/odictobject.c comments (GH-8040) (cherry picked from commit 6f19fc6d5607040ee36153a64a2ed004582af91f) Co-authored-by: Robert Krzyzanowski <technoguyrob@gmail.com> | 06 July 2018, 12:08:51 UTC |
ab75d9e | Ammar Askar | 06 July 2018, 10:21:05 UTC | [3.7] bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior (GH-7891) (GH-8132) Most of the change involves fixing up the test suite, which previously made the assumption that there wouldn't be a new line if the input didn't end in one. Contributed by Ammar Askar. (cherry picked from commit c4ef4896eac86a6759901c8546e26de4695a1389) | 06 July 2018, 10:21:05 UTC |
625755e | Miss Islington (bot) | 06 July 2018, 09:43:05 UTC | Fix GCC warning in Python/hamt.c (GH-7618) (cherry picked from commit d8c3e820b4fcdc45b80ba47f615c95e99e2e931b) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 06 July 2018, 09:43:05 UTC |
e217d23 | Miss Islington (bot) | 06 July 2018, 09:34:24 UTC | Doc: Remove superfluous markup. (GH-8112) The line is speaking of a list of commands, not the list command. (cherry picked from commit 7943c5e8b525694b837d097d0fcce5097efc5626) Co-authored-by: Julien Palard <julien@palard.fr> | 06 July 2018, 09:34:24 UTC |
e6f7ee0 | Julien Palard | 06 July 2018, 09:33:02 UTC | Update Stackless Python wiki URL (GH-8072) It was moved from bitbucket to GitHub. (cherry picked from commit a6e1e41e0563c87e93085d3a7f7d96e9bbf792d7) | 06 July 2018, 09:33:02 UTC |
60214dd | Miss Islington (bot) | 06 July 2018, 05:58:27 UTC | Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127) (cherry picked from commit 3c8aae9ffe13d0f2ad4ff81cdf56bc6393af362a) Co-authored-by: Benjamin Peterson <benjamin@python.org> | 06 July 2018, 05:58:27 UTC |
3a7ee28 | Miss Islington (bot) | 05 July 2018, 23:28:18 UTC | Fix typo in dataclasses documentation (GH-8102) (cherry picked from commit e55ca3fdcbb8dda04f6f9fb2ccd1069aa1100cd5) Co-authored-by: Artjom <tjomk@users.noreply.github.com> | 05 July 2018, 23:28:18 UTC |
29be3bd | Victor Stinner | 05 July 2018, 21:15:28 UTC | bpo-34044: subprocess.Popen copies startupinfo (GH-8090) (GH-8121) subprocess.Popen now copies the startupinfo argument to leave it unchanged: it will modify the copy, so that the same STARTUPINFO object can be used multiple times. Add subprocess.STARTUPINFO._copy() private method. Python 3.7 backport from master makes the copy() private: renamed to _copy(). (cherry picked from commit 483422f57e5d8c8bf8820fec29fc9b96bb15d4ef) | 05 July 2018, 21:15:28 UTC |
f5770f3 | Xtreak | 05 July 2018, 16:59:46 UTC | bpo-33988: Fix test_warnings using -W error (GH-7985) Use DeprecationWarning instead of PendingDeprecationWarning. | 05 July 2018, 16:59:46 UTC |
51a346d | Miss Islington (bot) | 05 July 2018, 10:44:11 UTC | Fix fuzz testing for marshal.loads(). (GH-8106) (cherry picked from commit 09bb918a61031377d720f1a0fa1fe53c962791b6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 05 July 2018, 10:44:11 UTC |
3f121a4 | Miss Islington (bot) | 05 July 2018, 08:45:24 UTC | bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336) (cherry picked from commit fc05e68d8fac70349b7ea17ec14e7e0cfa956121) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 05 July 2018, 08:45:24 UTC |
4881360 | Miss Islington (bot) | 05 July 2018, 05:08:26 UTC | Removed unused import from tzinfo_examples.py. (GH-7994) (cherry picked from commit 3a9bb5f269c8534606eb02d1faa2c882d8cb8530) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | 05 July 2018, 05:08:26 UTC |
a8bb18b | Miss Islington (bot) | 04 July 2018, 23:04:24 UTC | bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8093) This commit fixes the -timedelta overfllow issue not documented properly. Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com> (cherry picked from commit 5b6e49a1393b3e2313471696e3568e26296137b4) Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com> | 04 July 2018, 23:04:24 UTC |
6b3ff35 | Miss Islington (bot) | 04 July 2018, 10:35:08 UTC | bpo-32942: Fix environment dependent test_script_helper (GH-8034) Result of function interpreter_requires_environment() depends on os.environ. This was not covered by the tests, leading to fail when PYTHONHOME was set. (cherry picked from commit a390cb6b6fb6638e91d699513167e8f35b47f846) Co-authored-by: Lorenz Mende <Lorenz.mende@gmail.com> | 04 July 2018, 10:35:08 UTC |
eb700f8 | Miss Islington (bot) | 04 July 2018, 10:10:14 UTC | bpo-34040, multiprocessing: Fix test_forkserver_sigkill() (GH-8081) Fix test_forkserver_sigkill() of test_multiprocessing_forkserver: give more time to the first child process to complete, double the sleep in the parent process. Reduce also the child process sleep from 1000 ms to 500 ms, to not change the total duration of the test. (cherry picked from commit 07888e1cce89e9bb7dc501e287b4cb126e01c378) Co-authored-by: Victor Stinner <vstinner@redhat.com> | 04 July 2018, 10:10:14 UTC |
c1b75b5 | Miss Islington (bot) | 04 July 2018, 08:32:41 UTC | bpo-34010: Fix tarfile read performance regression (GH-8020) During buffered read, use a list followed by join instead of extending a bytes object. This is how it was done before but changed in commit b506dc32c1a. (cherry picked from commit 12a08c47601cadea8e7d3808502cdbcca87b2ce2) Co-authored-by: hajoscher <hajoscher@gmail.com> | 04 July 2018, 08:32:41 UTC |