Staging
v0.8.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
e9e6495 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:28 UTC
0ff1746 [3.6] bpo-34189: Add simple tests for new Tk widget options. (GH-8396) (GH-8399) (cherry picked from commit e271ca78e37a502b3dc1036f824aa3999efcd56b) (cherry picked from commit c75c1e0e8aeb720ac3fcfab119b70cabba4e8235) 22 July 2018, 19:14:45 UTC
9c13670 bpo-34179: Make sure decimal context doesn't affect other tests. (GH-8376) (#8384) (cherry picked from commit 938045f335b52ddb47076e9fbe4229a33b4bd9be) Co-authored-by: Bo Bayles <bbayles@gmail.com> 21 July 2018, 18:38:49 UTC
916bcc6 bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367) (cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> 21 July 2018, 07:24:41 UTC
9176962 [3.6] bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8348) Cherry-picked from 2c5c0a3 20 July 2018, 06:49:15 UTC
226f064 [3.6] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887) (cherry picked from commit b12112b5ba608cdd7a0962a6b18cad4fe58b46e6) 20 July 2018, 02:51:18 UTC
2fe1c6b 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:44:29 UTC
e13180b bpo-34130: Fix test_signal.test_socket() (GH-8326) (GH-8330) 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) Co-authored-by: Victor Stinner <vstinner@redhat.com> 18 July 2018, 17:02:06 UTC
c774f76 Clarify ValueError's broad applicability (GH-8313) (GH-8317) (cherry picked from commit feabae961707b00008c15a31352e458f4e8b3a6c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 17 July 2018, 20:24:27 UTC
cf30d5c bpo-24618: Add a check in the code constructor. (GH-8283) (GH-8311) Check that the size of the varnames tuple is enough at least for all arguments. (cherry picked from commit bd47384e07bde38a8f18b90b4cea02a505d95c75) 17 July 2018, 07:33:55 UTC
cc13016 bpo-34068: _io__IOBase_close_impl could call _PyObject_SetAttrId with an exception set (GH-8282). (GH-8312) (cherry picked from commit 28f07364f066792ceee93231dbb80ae8ad98b2bb) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 17 July 2018, 07:33:14 UTC
8b5d191 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:38:28 UTC
f1ab9ca 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, 19:41:48 UTC
336c953 bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) (GH-8295) 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:26:49 UTC
8487ef6 [3.6] bpo-34121: Fix detection of C11 atomic support on clang. (GH-8290) (cherry picked from commit 15c7b2abdfb93f8902dd72474818aee2bf97fa66) Co-authored-by: Benjamin Peterson <benjamin@python.org> 16 July 2018, 00:48:46 UTC
b2f8aa0 bpo-34087: Backport tests for int/float/complex (GH-8274) Cherrypick tests from 16dfca4d829e45f36e71bf43f83226659ce49315 While the regression is not in 3.6, it's worth to backport test cases to 3.6 branch too. 14 July 2018, 07:38:14 UTC
083a836 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:54:18 UTC
8df4770 bpo-33716, test_concurrent_futures: increase timeout (GH-7828) (GH-8264) Increase the timeout from 1 min to 5 min. Replace also time.time() with time.monotonic() for timeouts. (cherry picked from commit 3ad8decd76c736f393755537aeb19b5612c21761) 12 July 2018, 09:11:29 UTC
3b06285 bpo-34080: Fix a memory leak in the compiler. (GH-8222) (GH-8257) (cherry picked from commit 993030aac576710a46b3dd0b4864f819d4a94145) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 July 2018, 22:05:29 UTC
ec75620 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, 17:10:40 UTC
d68cb9d bpo-34092, test_logging: increase SMTPHandlerTest timeout (GH-8245) (GH-8249) 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) 11 July 2018, 11:14:36 UTC
b3cc7ca 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:52:27 UTC
def4b06 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, 01:08:43 UTC
cb14eb7 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:13:06 UTC
6ceab46 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, 08:00:35 UTC
a2aabad [3.6] prefix internal sqlite symbols with _pysqlite_ (GH-8215). (GH-8218) (cherry picked from commit 7762e4d3872818272800dfbd8e1d8e3a689eb8f2) Co-authored-by: Benjamin Peterson <benjamin@python.org> 10 July 2018, 05:36:41 UTC
9a390b6 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:49 UTC
eeaae26 [3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159) (GH-8198) 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, 16:02:25 UTC
13d1025 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:54:27 UTC
d73497b bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684). (GH-8193) (GH-8195) (cherry picked from commit 2a9b8babf0d09946ebebfdb2931cc0d3db5a1d3d) (cherry picked from commit 7c43b801503c802ed6ea4b811f5bc73791249d94) 09 July 2018, 11:38:27 UTC
336c715 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:52:44 UTC
4041565 bpo-34061: Document sqlite3.NotSupportedError (GH-8172) (cherry picked from commit bc9aa813a34474e517af8999565ff6151559d42f) Co-authored-by: Marcin Niemira <marcin@niemira.net> 08 July 2018, 13:58:49 UTC
b7874c8 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:50:33 UTC
becb527 [3.6] closes bpo-34050: Fix link in SSL docs (GH-8173) (GH-8178) (cherry picked from commit 9c5ba097485c8c643b670acd4026f4382bc92f4b) Co-authored-by: Marcin Niemira <marcin@niemira.net> 07 July 2018, 23:03:37 UTC
445f9ed 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:20 UTC
770937b 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:45:07 UTC
3271fba Add missing closing parentheses (GH-8144) (cherry picked from commit 03dd0e794e26afb5fa998d10ae2071e2cb0bc634) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 07 July 2018, 19:34:43 UTC
dc33d4a 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:30:40 UTC
c14e332 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:40:23 UTC
cad4a27 [3.6] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8155) (cherry picked from commit 2800dcf656229c2ca4c90b4ddbace0717c41bb9e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 07 July 2018, 16:11:22 UTC
3ca69f8 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:32:54 UTC
972458a 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:14:33 UTC
e544d65 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:43 UTC
11c36a3 [3.6] bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior (GH-7891) (GH-8134) 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:22:25 UTC
c6671ae 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, 06:02:55 UTC
e1adc65 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:34 UTC
878c4fe 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:48:47 UTC
55f39bd bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8092) 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:03 UTC
aea19a0 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:46:15 UTC
ae23d8d 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:15:13 UTC
d7a0ad7 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:43:42 UTC
de6a2de Don't export pending_threadfunc from _testcapi. (GH-8075) (cherry picked from commit b4588c2fffbda91e4c2f0cf2b0fc3d14def95608) Co-authored-by: Benjamin Peterson <benjamin@python.org> 04 July 2018, 06:00:13 UTC
e1ebf51 bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH-8069) PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case. (cherry picked from commit d8cba5d16f1333fd625726fc72e66afbd45b8d00) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 July 2018, 20:17:46 UTC
f55a818 bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8067) (cherry picked from commit 831c29721dcb1b768c6315a4b8a4059c4c97ee8b) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 03 July 2018, 12:37:26 UTC
dd5f43a bpo-34019: Fix wrong arguments for Opera Browser (GH-8047) The Opera Browser was using a outdated command line invocation that resulted in an incorrect URL being opened in the browser when requested using the webbrowser module. * Correct the arguments passed to the Opera Browser when opening a new URL. (cherry picked from commit 3cf1f154edb88c108877729ea09f4ac174697fea) Co-authored-by: Bumsik Kim <k.bumsik@gmail.com> 03 July 2018, 12:16:56 UTC
3bd9d3b bpo-33735: Fix test_multiprocessing random failure (GH-8059) When hunting memory leaks using -R 3:3, test_imap_unordered() of test_multiprocessing leaks randomly a few memory blocks. It is a false alarm: when testing using -R 3:20 for example, no leak is detected. Modify test_imap_unordered() to be closer to test_imap(): * Only test 10 numbers instead of 1000: it's a pool of 4 processes, so 10 is enough to test at least one number per process * Use chunksize=100 instead of chunksize=53 to mimick test_imap() (cherry picked from commit 23401fb960bb94e6ea62d2999527968d53d3fc65) Co-authored-by: Victor Stinner <vstinner@redhat.com> 03 July 2018, 11:51:00 UTC
580c7db bpo-34006: Revert line length limit for Windows help docs (GH-8051) The line-length limit is not needed because the pages appear in a separate app rather than on a browser tab. It can also interact badly with the DPI setting. (cherry picked from commit d824ca7f4df9b5f77cf02490b0e98c2408e21fee) Co-authored-by: Zachary Ware <zachary.ware@gmail.com> 02 July 2018, 22:23:46 UTC
b6c1989 [3.6] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008). (GH-8045) (cherry picked from commit 087570af6d5d39b51bdd5e660a53903960e58678) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com> 02 July 2018, 09:35:52 UTC
b1707ab Doc: Remove unused image file (GH-8027) (cherry picked from commit fe524df37cf3a8d4de291e7fc48257f96ff91bbe) Co-authored-by: INADA Naoki <methane@users.noreply.github.com> 30 June 2018, 18:31:17 UTC
e5153d0 bpo-25862: Fix several bugs in the _io module. (GH-8026) They can be exposed when some C API calls fail due to lack of memory. * Failed Py_BuildValue() could cause an assertion error in the following TextIOWrapper.tell(). * input_chunk could be decrefed twice in TextIOWrapper.seek() after failed Py_BuildValue(). * initvalue could leak in StringIO.__getstate__() after failed PyDict_Copy(). (cherry picked from commit fdb5a50ef34f7951c3b01eb77b1359725a9ad670) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 30 June 2018, 18:25:50 UTC
db7ac30 [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025) * `flags` is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. * The docs say that `sizehint` is deprecated and ignored, but it is still used when `epoll_create1()` is unavailable. This adds mention of this in the docs. * `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`. This is needed to have a default value available at the Python level, since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938) * Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`. The relevant tests have also been updated. (cherry picked from commit 0cdf5f42898350261c5ff65d96334e736130780f) 30 June 2018, 13:15:53 UTC
b2e88fc bpo-33974: Fix passing special characters to ttk widgets. (GH-7986) Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets. (cherry picked from commit 5bb5bbfca847524bab5f2368bdb48eedf5dba74f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 30 June 2018, 06:43:22 UTC
d6a283b [3.6] bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918). (GH-8012) (cherry picked from commit 23db935bcf258657682e66464bf8512def8af830) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 June 2018, 19:30:07 UTC
a730279 Fix the indentation in the documentation of bin() and hash() (GH-7998) (cherry picked from commit bda9c3eae3ad16e43145599ac6359bfdcaf1fd4a) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 29 June 2018, 10:17:43 UTC
00e0524 bpo-14117: Make minor tweaks to turtledemo (GH-8002) The 'wikipedia' example is now 'rosette', describing what it draws. The 'penrose' print output is reduced. The 'tree' '1024' output is eliminated. (cherry picked from commit 891a1f86d415779cf67ca23e626a868e586feb05) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 29 June 2018, 05:32:16 UTC
c00144c bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) (cherry picked from commit d904c238ca3551750cb97d15d827c3e525970867) Co-authored-by: Yury Selivanov <yury@magic.io> 29 June 2018, 02:22:39 UTC
0ebd1bc bpo-31546: Fix input hook integration (GH-7978) (cherry picked from commit 9b9d58f0d88b338eb8d2ae0da5cd91d60d1b0e39) Co-authored-by: Thomas A Caswell <tcaswell@gmail.com> 28 June 2018, 17:47:54 UTC
ff41cc7 bpo-33958: Doc: Remove unused variable in example (GH-7927) (cherry picked from commit 62b6cea6b843076cfd6631eccd9347e8c3dd9458) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> 28 June 2018, 06:45:28 UTC
28c6b94 Fix NEWS entry for bpo-31647 27 June 2018, 22:01:58 UTC
fab3ba4 start 3.6.6+ 27 June 2018, 22:00:56 UTC
853a36a Merge 3.6.6 final changes 27 June 2018, 21:59:12 UTC
404250e bpo-33715: Fix multiprocessing test_wait_result() (GH-7971) Increase timeouts from 10 seconds to 1 minute. (cherry picked from commit 492572715aa0f4ddab51f979f7f56465c762227c) Co-authored-by: Victor Stinner <vstinner@redhat.com> 27 June 2018, 21:20:09 UTC
1d06be8 bpo-33913: Fix test_multiprocessing_main_handling (GH-7972) (GH-7976) bpo-30339, bpo-33913: * Increase timeout from 10 seconds to 1 minute in test_source_main_skipped_in_children source of test_multiprocessing_main_handling. * Replace time.time() with time.monotonic(). * On timeout, include the duration in the error message. (cherry picked from commit 64737e9ae2081e529935ecf07f44e89f362d1c4b) 27 June 2018, 21:14:53 UTC
a599323 bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968) test_mymanager_context() now also accepts -SIGTERM as an expected exitcode for the manager process. The process is killed with SIGTERM if it takes longer than 1 second to stop. (cherry picked from commit fbd7172325e6ce55b6d5d3d7603e4c1c8a219cb8) Co-authored-by: Victor Stinner <vstinner@redhat.com> 27 June 2018, 16:45:01 UTC
acda5ea bpo-24567: Random subnormal.diff (GH-7954) (GH-7956) Handle subnormal weights for choices() (cherry picked from commit ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 27 June 2018, 09:37:17 UTC
6abf8c1 bpo-30317, test_multiprocessing: fix test_timeout() (GH-7957) Tolerate a different of 50 ms, instead of just 30 ms, in test_timeout() of multiprocessing tests. This change should fix such test failure on Windows: FAIL: test_timeout (test.test_multiprocessing_spawn.WithProcessesTestQueue) Traceback (most recent call last): File "lib\test\_test_multiprocessing.py", line 753, in test_timeout self.assertGreaterEqual(delta, 0.170) AssertionError: 0.16138982772827148 not greater than or equal to 0.17 (cherry picked from commit f15f66d275d1166839312c9ff3a67c00b486c7d6) Co-authored-by: Victor Stinner <vstinner@redhat.com> 27 June 2018, 09:33:35 UTC
5d2d9d7 bpo-33975: Avoid small type when running IDLE's htests. (GH-7944) Import pyshell first in htest to call SetProcessDpiAwareness on Windows before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()' undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right. Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing as when running IDLE. (cherry picked from commit 3c8043d8fac4c0d05c0ba9e4e555e2f3165f2fe0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 June 2018, 04:48:55 UTC
c0327ce use rich markup for PEP reference (GH-7939) it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page. (cherry picked from commit df748c20dabcec5a6e89e0dd74fff21110f8755a) Co-authored-by: Behzad B. Mokhtari <35877268+perplexionist@users.noreply.github.com> 27 June 2018, 04:20:10 UTC
57389db bpo-29514: Make magic number test work for candidates (GH-7945) 27 June 2018, 03:55:07 UTC
5dc3f23 bpo-33956: update vendored expat to 2.2.5 (GH-7925) (cherry picked from commit 4e21100fa7bf66e0b32146d3f46ae16afc73fee1) Co-authored-by: Benjamin Peterson <benjamin@python.org> 27 June 2018, 02:48:17 UTC
4cf1f54 3.6.6 final 26 June 2018, 23:39:50 UTC
1d55888 bpo-33873: Backport regrtest from master to 3.7 (GH-7935) (GH-7937) * bpo-33718: regrtest: use format_duration() to display failed tests (GH-7686) * Enhance also format_duration(): work on integers and rounds towards +infinity (math.ceil). * Write unit tests on format_duration() (cherry picked from commit 4ffe9c2b251f6e027b26250b7a2618e78d4edd22) * bpo-33873: regrtest: Add warning on -R 1:3 (GH-7736) regrtest: Add warning when using less than 3 warmup runs like -R 1:3. (cherry picked from commit cac4fef8860e66a9da67d09762f5b614b9471a12) * bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` parameters (GH-7735) Fix bug in `Lib/test/libregrtest/runtest.py` that makes running tests an extra time than the specified number of runs. Add check for invalid --huntrleaks/-R parameters. (cherry picked from commit 58ed7307ea0b5c5aa052291ebc3030f314f938d8) (cherry picked from commit d1f9481b7a2d31c40fca1347ef99d819eb656ce7) 26 June 2018, 22:44:43 UTC
c604063 bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) These should have been included in PR 7836. (cherry picked from commit 42397731d7ba8bdf63025d48008d133cb2070229) Co-authored-by: Mark Roseman <mark@markroseman.com> 26 June 2018, 01:42:09 UTC
8fd8cfa [3.6] bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) (GH-7907) (cherry picked from commit fdd6e0bf18517c3dc5e24c48fbfe890229fad1b5) 25 June 2018, 11:27:01 UTC
ac5a6e3 bpo-33952: Fix typo in str.upper() documentation (GH-7898) (GH-7904) (cherry picked from commit 4a6e746079441d18c30e3c4d014f106faaf7792f) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 25 June 2018, 10:44:16 UTC
73848e0 bpo-33943: Add references in the docs for logging.basicConfig (GH-7858) (GH-7899) Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels. (cherry picked from commit a8ddf85a84364d2c660e6670a7e06621993d1fdc) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 25 June 2018, 06:31:24 UTC
cef5da5 bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892) This avoids a failure in at least one case when running only a single test method rather than all tests in the module. The issue came up when testing the following on Windows 10 Pro 64-bit: HighPageTest.test_highlight_target_text_mouse (cherry picked from commit 2af9f5d334eeca588eeee87d177faf0012c63a03) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 24 June 2018, 21:06:30 UTC
36294d2 [3.6] Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890) (cherry picked from commit 3f197f94d67be25d5489e14f2f06b4a00e818747) 24 June 2018, 15:53:42 UTC
8f8ad2c bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884) Directly executed pyc files were being kept open longer than necessary. (cherry picked from commit ea737751b10fff752aafed0231e8a02b82ba365d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 24 June 2018, 03:41:40 UTC
7729d6d bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881) In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago. (cherry picked from commit 5ae70f66ff1949eec35ff207c97cfe572c4e74c8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 23 June 2018, 21:58:41 UTC
a845b7a bpo-33887: Add TOC to Design and History FAQ(GH-7766) (cherry picked from commit 38cf49bf695903ac7a8516bca6bbb6b32d935bb5) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 23 June 2018, 18:48:28 UTC
1094891 bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) (GH-7872) bz2, lzma: When Decompressor.__init__() is called twice, free the old lock to not leak memory. (cherry picked from commit 9b7cf757213cf4d7ae1d436d86ad53f5ba362d55) 23 June 2018, 13:06:11 UTC
688325e bpo-33877: Remove UNIX qualification for running complete programs (GH-7744) The statement is true for Windows (and macOS) also. (cherry picked from commit c9d43c702a53804c23ecb22a0dbf6a47c804d2b1) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 22 June 2018, 21:54:26 UTC
c45cb47 bpo-33885: Replace "hook function" with "callable" (GH-7765) 22 June 2018, 21:10:23 UTC
7839288 bpo-30345: Add -g to LDFLAGS for LTO (GH-7709) (GH-7826) Add -g to LDFLAGS when compiling with LTO to get debug symbols. 22 June 2018, 07:10:42 UTC
a0622f1 bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852) Increases coverage by 44%. (cherry picked from commit bcd3a1a18d841338f57c39f6a7de8cf14d0c3e03) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 22 June 2018, 02:49:06 UTC
b225cb7 bpo-33894: Clarified the tempfile.tempdir documentation (GH-7829) (GH-7842) (cherry picked from commit 940ae608566fd4446ff92a22705f646cde1d087c) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com> 21 June 2018, 08:05:07 UTC
06deaf4 bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836) Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window'). (cherry picked from commit 33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 21 June 2018, 04:40:57 UTC
2839da4 bpo-33906: Rename idlelib.windows as window (GH-7833) Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name. (cherry picked from commit a361e89d5ae3daefe9e8b8a7e889cd2ad8c45b77) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 21 June 2018, 01:52:20 UTC
7c853d0 bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830) The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files. (cherry picked from commit 87a927325e3856621790a39d8718ff24a19510aa) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 20 June 2018, 21:33:14 UTC
back to top