https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
4082f60 3.7.5rc1 01 October 2019, 17:23:17 UTC
960068b Update macOS installer displays for 3.7.5rc1 01 October 2019, 16:59:45 UTC
d6a92b5 bpo-36670: Multiple regrtest bugfixes (GH-16511) * Windows: Fix counter name in WindowsLoadTracker. Counter names are localized: use the registry to get the counter name. Original change written by Lorenz Mende. * Regrtest.main() now ensures that the Windows load tracker is also killed if an exception is raised * TestWorkerProcess now ensures that worker processes are no longer running before exiting: kill also worker processes when an exception is raised. * Enhance regrtest messages and warnings: include test name, duration, add a worker identifier, etc. * Rename MultiprocessRunner to TestWorkerProcess * Use print_warning() to display warnings. Co-Authored-By: Lorenz Mende <Lorenz.mende@gmail.com> (cherry picked from commit 982bfa4da07b2e5749a0f4e68f99e972bcc3a549) Co-authored-by: Victor Stinner <vstinner@redhat.com> 01 October 2019, 10:58:53 UTC
2eb1dac Fix and improve `asyncio.run()` docs (GH-16403) (GH-16505) (cherry picked from commit e407013089259e4c0b271703e1975bbcd578a2d5) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 01 October 2019, 01:47:13 UTC
1c3e469 bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe (GH-16472) (cherry picked from commit 58498bc7178608b1ab031994ca09c43889ce3e76) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 29 September 2019, 12:19:11 UTC
80dd66a [3.7] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16448) (GH-16461) * bpo-38216: Allow bypassing input validation * bpo-36274: Also allow the URL encoding to be overridden. * bpo-38216, bpo-36274: Add tests demonstrating a hook for overriding validation, test demonstrating override encoding, and a test to capture expectation of the interface for the URL. * Call with skip_host to avoid tripping on the host checking in the URL. * Remove obsolete comment. * Make _prepare_path_encoding its own attr. This makes overriding just that simpler. Also, don't use the := operator to make backporting easier. * Add a news entry. * _prepare_path_encoding -> _encode_prepared_path() * Once again separate the path validation and request encoding, drastically simplifying the behavior. Drop the guarantee that all processing happens in _prepare_path.. (cherry picked from commit 7774d7831e8809795c64ce27f7df52674581d298) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 28 September 2019, 13:15:05 UTC
6112b91 bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (#16450) (cherry picked from commit 52d1b86bde2b772a76919c76991c326384954bf1) Co-authored-by: Jesús Cea <jcea@jcea.es> 28 September 2019, 02:21:24 UTC
39a0c75 bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) Escape the server title of xmlrpc.server.DocXMLRPCServer when rendering the document page as HTML. (cherry picked from commit e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 27 September 2019, 20:18:14 UTC
2c24f2c [3.7] bpo-38275: Skip ssl tests for disabled versions (GH-16427) test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275 (cherry picked from commit df6ac7e2b82d921a6e9ff5571b40c6dbcf635581) 26 September 2019, 20:54:33 UTC
e6b5ed1 bpo-38239: Fix test_gdb for Link Time Optimization (LTO) (GH-16422) (GH-16426) (cherry picked from commit 64b4a3a2deabcd4103fac2759a311fe94159b4d1) 26 September 2019, 15:30:14 UTC
5017a64 bpo-38130: Fix error in explaining when an exception is re-raised (GH-16016) (GH-16416) Co-Authored-By: Ashwin Ramaswami <aramaswamis@gmail.com> (cherry picked from commit 1ad7be2f16cc9955f271f57a5089602bb41eee85) Co-authored-by: Mohammad Dehghan <md.unicorn@gmail.com> 26 September 2019, 09:15:21 UTC
80bde15 Doc: Use the `with` statement in the first example of the ftplib doc. (GH-16271) (GH-16413) (cherry picked from commit 5d326abf2cb4891b78d9319a81bffb3974b5b745) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 26 September 2019, 07:12:26 UTC
8e4622e [3.7] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16407) Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes.. (cherry picked from commit 52b940803860e37bcc3f6096b2d24e7c20a0e807) Co-authored-by: Benjamin Peterson <benjamin@python.org> 26 September 2019, 04:54:59 UTC
d015714 [3.7] bpo-22273: Changed conditions for ctypes array-in-struct handling. (GH-16381) (GH-16400) (cherry picked from commit c64af8fad3c4f5751af624647fbb0ce023f525dc) 25 September 2019, 20:37:24 UTC
585798f bpo-38271: encrypt private key test files with AES256 (GH-16385) The private keys for test_ssl were encrypted with 3DES in traditional PKCSGH-5 format. 3DES and the digest algorithm of PKCSGH-5 are blocked by some strict crypto policies. Use PKCSGH-8 format with AES256 encryption instead. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38271 Automerge-Triggered-By: @tiran (cherry picked from commit bfd0c963d88f3df69489ee250655e2b8f3d235bd) Co-authored-by: Christian Heimes <christian@python.org> 25 September 2019, 16:12:59 UTC
3b5e924 bpo-38255: super() can search attributes as well as methods (GH-16368) (GH-16392) Improvement suggested by Géry Ogam. (cherry picked from commit 15ccc4fac09b866d61b069c6c136aabfe4bac09c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 25 September 2019, 15:24:24 UTC
d366694 bpo-38260: Add Docs on asyncio.run (GH-16337) Add docs about return and raise exception on asyncio.run https://bugs.python.org/issue38260 Automerge-Triggered-By: @asvetlov (cherry picked from commit 17deb16883fa574a86e42551cc37f044182347ad) Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com> 25 September 2019, 09:13:00 UTC
4042e1a [3.7] bpo-36871: Handle spec errors in assert_has_calls (GH-16364) (GH-16374) Handle spec errors in assert_has_calls (GH-16005) (GH-16364) The fix in PR 13261 handled the underlying issue about the spec for specific methods not being applied correctly, but it didn't fix the issue that was causing the misleading error message. The code currently grabs a list of responses from _call_matcher (which may include exceptions). But it doesn't reach inside the list when checking if the result is an exception. This results in a misleading error message when one of the provided calls does not match the spec. https://bugs.python.org/issue36871 Co-authored-by: Samuel Freilich <sfreilich@google.com> (cherry picked from commit 1a17a054f6314ce29cd2632c28aeed317a615360) 25 September 2019, 05:29:17 UTC
16c0f6d bpo-22273: Update ctypes to correctly handle arrays in small structur… (GH-15839) (GH-16369) (cherry picked from commit 12f209eccb1587e8c98057d9c5f865c21f4a16c1) 25 September 2019, 04:10:43 UTC
46f6c56 bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349) Multiprocessing test test_mymanager() now also expects -SIGTERM, not only exitcode 0. bpo-30356: BaseManager._finalize_manager() sends SIGTERM to the manager process if it takes longer than 1 second to stop, which happens on slow buildbots. (cherry picked from commit b0e1ae5f5430433766e023c1a6936aeba0f2b84e) Co-authored-by: Victor Stinner <vstinner@redhat.com> 24 September 2019, 12:38:38 UTC
c13a4d6 bpo-38212: Increase MP test_queue_feeder_donot_stop_onexc() timeout (GH-16348) Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds. (cherry picked from commit 99799c722065d0524f3ab0bc455e1938bb8dc60f) Co-authored-by: Victor Stinner <vstinner@python.org> 24 September 2019, 11:06:05 UTC
912b5a9 closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230) (cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f) Co-authored-by: Hai Shi <shihai1992@gmail.com> 24 September 2019, 02:39:36 UTC
6641a10 Updated incorrect level-setting code to use setLevel(). (GH-16325) (GH-16326) (cherry picked from commit 1d094af716e8ce5e5710e1dfbce7832ba333be55) 22 September 2019, 03:27:00 UTC
8d4c52f Doc: Fix spelling errors of 'initial' in enum.py (GH-16314) (cherry picked from commit bb16fb2cb8dca1fa1d67621c3175793eda7dbdc2) Co-authored-by: HongWeipeng <hongweichen8888@sina.com> 21 September 2019, 05:40:42 UTC
fd4f28d bpo-37937: Mention frame.f_trace in sys.settrace docs (GH-15439) Mention frame.f_trace in sys.settrace docs, as well as the fact you still need to call `sys.settrace` to enable the tracing machinery before setting `frame.f_trace` will have any effect. (cherry picked from commit 9c2682efc69568e1b42a0c1759489d6f2e3b30ea) Co-authored-by: Ram Rachum <ram@rachum.com> 20 September 2019, 15:25:12 UTC
2552e27 bpo-37353: Updated parser note about source code compatibility(GH-14277) (cherry picked from commit 062cfe3b11c61d03ccc2915e360f9b0d80e23642) Co-authored-by: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com> 20 September 2019, 14:02:00 UTC
5e1400a bpo-37531: sync regrtest with master branch (GH-16285) (GH-16289) (cherry picked from commit fb7746d5d10ec4a34198da672018ba15f5667079) 19 September 2019, 16:40:46 UTC
50ecedc Doc: Clarify dict equality irrespective of ordering. (GH-16266) (cherry picked from commit 3171d67a6aaf7fe88685b3a80644f0284686ef63) Co-authored-by: toonarmycaptain <toonarmycaptain@hotmail.com> 19 September 2019, 05:57:32 UTC
20d3bce [3.7] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16275) Signed-off-by: Jason Plurad <pluradj@us.ibm.com> (cherry picked from commit 9ab6038fe843e1193d795eb58fd5931b44be5a96) Co-authored-by: Jason Plurad <pluradj@us.ibm.com> 19 September 2019, 05:37:38 UTC
1a3a48d bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16260) dump_traceback_later() and cancel_dump_traceback_later() functions of the faulthandler module are always available since Python 3.7. (cherry picked from commit 064e1e384120635330493abf300b1113eadd904c) Co-authored-by: Victor Stinner <vstinner@redhat.com> 18 September 2019, 12:43:17 UTC
8b907a8 bpo-37904: Edition on python tutorial - section 4 (GH-16169) (GH-16235) A little change on first paragraph of python tutorial to be more clearly https://bugs.python.org/issue37904 Automerge-Triggered-By: @ericvsmith (cherry picked from commit b57481318e3e3cbacd398b898f9849ec8f2d7eec) Co-authored-by: Diego Alberto Barriga Martínez <diegobarriga@protonmail.com> 18 September 2019, 10:36:35 UTC
69b3718 [3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222) (GH-16239) This includes such names as "cls", "self", "typename" and "fields". (cherry picked from commit 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d) 17 September 2019, 19:09:09 UTC
fc022f0 bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070) Even when the helper is not started yet. This behavior follows conventional generator one. There is no reason for `async_generator_athrow` to handle `gen.throw()` differently. https://bugs.python.org/issue38013 (cherry picked from commit c275312a6284bd319ea33c9abd7e15c230eca43f) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 17 September 2019, 13:19:25 UTC
6591b4b bpo-37531: regrtest main process uses shorter timeout (GH-16220) (GH-16223) When using multiprocesss (-jN), the main process now uses a timeout of 60 seconds instead of the double of the --timeout value. The buildbot server stops a job which does not produce any output in 1200 seconds. (cherry picked from commit 46b0b81220a23bc4aee5ba3ba67e8cf1b5df7960) Co-authored-by: Victor Stinner <vstinner@redhat.com> 17 September 2019, 12:34:03 UTC
6422392 Doc: Fix grammar/spelling in ssl.VERIFY_CRL_CHECK_LEAF docs (GH-16221) (cherry picked from commit 219fb9d65ef7e5363eccc9dde0988bb085db1c86) Co-authored-by: Jörn Heissler <joernheissler@users.noreply.github.com> 17 September 2019, 10:49:08 UTC
facbd31 bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202) See https://bugs.python.org/issue38192 . https://bugs.python.org/issue38192 (cherry picked from commit 5d359cc62e0244e1fd8d17146a4135079d6843bf) Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com> 17 September 2019, 07:22:48 UTC
80cb055 bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190) (cherry picked from commit f669581a9527afb0d2325f9845a86715c0ba365d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2019, 06:39:49 UTC
3d916a7 bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) One happens when EditorWindow.close is called twice. Printing a traceback, when IDLE is run from a terminal, is useless and annoying. (cherry picked from commit dfd34a9cd58e8150c324190f746de919e140abe8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 17 September 2019, 06:24:02 UTC
4ac1be2 bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) (cherry picked from commit 8debfa50407107ff2329d01081cdc12d359f1d12) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2019, 06:14:30 UTC
89f132a Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211) (cherry picked from commit 63dedef48bba9d54f13b958237696505fa665796) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 17 September 2019, 05:04:19 UTC
523497c bpo-38183: Test_idle ignores user config directory GH-16198) It no longer tries to create or access .idlerc or any files within. Users must run IDLE to discover problems with saving settings. (cherry picked from commit 0048afc16a7e7301d5c565237db271505e5fbed9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 17 September 2019, 03:33:06 UTC
733193d bpo-28556: Update the opening note in typing docs (GH-16204) This PR replaces the old note mentioning that `typing` is a provisional module with a new one mentioning types are not enforced at runtime. I am not sure if there was any official announcement about making `typing` non-provisional, but _de-facto_ no new features were added during Python 3.7, and no backwards incompatible changes were made except for few small things that were considered bugs. (cherry picked from commit 81528ba2e81c39f4d6bca5b785e818c7d08b8501) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 16 September 2019, 22:10:11 UTC
c55f695 [3.7] bpo-33936: Don't call obsolete init methods with OpenSSL 1.1.0+ (GH-16140) (GH-16200) ``OPENSSL_VERSION_1_1`` was never defined in ``_hashopenssl.c``. https://bugs.python.org/issue33936 (cherry picked from commit 724f1a57231f9287c37255adf0e4364d12cf693d) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue33936 Automerge-Triggered-By: @tiran 16 September 2019, 19:49:07 UTC
4651a7a Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) (cherry picked from commit 336b3064d8981bc7f76c5cc6f6a0527df69771d6) Co-authored-by: amist <amistern0@gmail.com> 16 September 2019, 18:55:43 UTC
7aae4f0 [3.7] bpo-38100: Fix spelling error in unittest.mock code (GH-16195) https://bugs.python.org/issue38100 Automerge-Triggered-By: @matrixise 16 September 2019, 18:16:34 UTC
ad4ce9e Doc: Add link of GNU Readline library to interpreter tutorial (GH-16152) (GH-16188) (cherry picked from commit f18242be16714da2cfe013dbadfaf2e31d971562) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 16 September 2019, 16:29:50 UTC
76d8fb7 bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184) 16 September 2019, 14:55:07 UTC
210dc3b [3.7] bpo-33095: Add reference to isolated mode in -m and script option (GH-7764) (GH-16181) Attempt to make isolated mode easier to discover via additional inline documentation. Co-Authored-By: Julien Palard <julien@palard.fr>. (cherry picked from commit bdd6945d4dbd1fe6a7fcff95f7d6908db7d791a1) Co-authored-by: Xtreak <tir.karthi@gmail.com> 16 September 2019, 12:30:33 UTC
e857fe6 [3.7] bpo-38168: Fix a possbile refleak in setint() of mmapmodule.c (GH-16136) (GH-16175) (cherry picked from commit 56a45142e70a1ccf3233d43cb60c47255252e89a) Co-authored-by: Hai Shi <shihai1992@gmail.com> Automerge-Triggered-By: @zhangyangyu 16 September 2019, 06:27:38 UTC
26c44b5 bpo-38117: Updated OpenSSL to 1.1.1d in macOS installer. (GH-16170) (cherry picked from commit 24d1597e430498ebe2d3d18fba2cacb3957b494d) Co-authored-by: Ned Deily <nad@python.org> 16 September 2019, 02:56:04 UTC
701c488 bpo-38178: Don't explicitly pass "loop" to EchoClientProtocol. (GH-16159) https://bugs.python.org/issue38178 (cherry picked from commit c717c73fa33a2f3591442059eaf6e7a673e2c725) Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com> 15 September 2019, 17:12:13 UTC
b9f932f bpo-37635: Update arg name for seek() in IO tutorial (GH-16147) Typically, the second positional argument for ``seek()`` is *whence*. That is the POSIX standard name (http://man7.org/linux/man-pages/man3/lseek.3p.html) and the name listed in the documentation for ``io`` module (https://docs.python.org/3/library/io.htmlGH-io.IOBase.seek). The tutorial for IO is the only location where the second positional argument for ``seek()`` is referred to as *from_what*. I suspect this was created at an early point in Python's history, and was never updated (as this section predates the GitHub repository): ``` $ git grep "from_what" Doc/tutorial/inputoutput.rst:To change the file object's position, use ``f.seek(offset, from_what)``. The position is computed Doc/tutorial/inputoutput.rst:the *from_what* argument. A *from_what* value of 0 measures from the beginning Doc/tutorial/inputoutput.rst:the reference point. *from_what* can be omitted and defaults to 0, using the ``` For consistency, I am suggesting that the tutorial be updated to use the same argument name as the IO documentation and POSIX standard for ``seek()``, particularly since this is the only location where *from_what* is being used. Note: In the POSIX standard, *whence* is technically the third positional argument, but the first argument *fildes* (file descriptor) is implicit in Python. https://bugs.python.org/issue37635 (cherry picked from commit ff603f6c3d3dc0e9ea8c1c51ce907c4821f42c54) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 14 September 2019, 20:47:39 UTC
4fac581 Doc: Fix link to window.getch in curses documentation (GH-16132) (cherry picked from commit a26ace19bddea2d7a999a6de8286b3f27b132f35) Co-authored-by: Anthony Sottile <asottile@umich.edu> 14 September 2019, 06:23:20 UTC
3ac6520 Fix typo in test_api.py. (GH-16119) (cherry picked from commit 0bc17ea2f5966f429b5b8d6b4ccb9c01f1f610d0) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2019, 17:48:02 UTC
3906920 bpo-34706: Preserve subclassing in inspect.Signature.from_callable (GH-16108) (GH-16114) https://bugs.python.org/issue34706 Specifically in the case of a class that does not override its constructor signature inherited from object. These are Buck Evan @bukzor's changes cherrypicked from GH-9344. (cherry picked from commit 5b9ff7a0dcb16d6f5c3cd4f1f52e0ca6a4bde586) Co-authored-by: Gregory P. Smith <greg@krypto.org> 13 September 2019, 17:42:53 UTC
77878ca bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624) (cherry picked from commit d44542f9a231bf725ecd82eb640a672c759a8227) Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com> 13 September 2019, 17:26:51 UTC
0a5a1a1 Run autoreconf. (GH-16106) (cherry picked from commit f3095b0b58ad9d59cf221bb6498f5aa673c0b25a) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2019, 14:51:15 UTC
d112ea6 closes bpo-36002: Use AC_PATH_TOOL to find llvm-profdata and llvm-ar. (GH-14998) (cherry picked from commit 0519d497b04b252f50dfff9101fb7f4b9e33f1c4) Co-authored-by: Doyle Rowland <doyle.rowland@reliaqual.com> 13 September 2019, 13:55:11 UTC
e7b7edf [3.7] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) (GH-16092) * [3.7] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) Handle time comparison for cookies with `expires` attribute when `CookieJar.make_cookies` is called. Co-authored-by: Demian Brecht <demianbrecht@gmail.com> https://bugs.python.org/issue12144 Automerge-Triggered-By: @asvetlov (cherry picked from commit bb41147) Co-authored-by: Xtreak <tir.karthi@gmail.com> * Use warnings module instead of test.support.check_no_warnings * [3.7] bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) Handle time comparison for cookies with `expires` attribute when `CookieJar.make_cookies` is called. Co-authored-by: Demian Brecht <demianbrecht@gmail.com> https://bugs.python.org/issue12144 Automerge-Triggered-By: @asvetlov. (cherry picked from commit bb41147eab15a2958f4ad38261e5bf608f6ace1b) Co-authored-by: Xtreak <tir.karthi@gmail.com> 13 September 2019, 12:22:12 UTC
d3f8a11 Fix the ImportWarning regarding __spec__ and __package__ being None (GH-16003) (cherry picked from commit 6e1a30b15e73ebc82e6790495fd54cc8971723ec) Co-authored-by: Xtreak <tir.karthi@gmail.com> 13 September 2019, 10:54:34 UTC
f14fcbf Revert "bpo-37785: Fix xgettext warning in argparse (GH-15161)" (GH-16082) This reverts commit b50eff65906f8e9b4597cb0128ea1729341346fc because it's an incompatible change that would have broken the existing translations. 13 September 2019, 10:20:14 UTC
b50eff6 bpo-37785: Fix xgettext warning in argparse (GH-15161) (cherry picked from commit 42671aea2db6cbc54369617da0fd3545048e0a45) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> 13 September 2019, 09:44:04 UTC
6e0c066 Emphasize the need to always call PySequence_Fast. (GH-11140) (cherry picked from commit 57b7dbc46e71269d855e644d30826d33eedee2a1) Co-authored-by: Matti Picus <matti.picus@gmail.com> 12 September 2019, 16:25:55 UTC
7da8c0a closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193) The "--" should not be included with long options passed to getopt.getopt. Fixes https://bugs.python.org/issue37803 (cherry picked from commit 855df7f273c3988c72f01e51ba57091887ec38b2) Co-authored-by: Daniel Hahler <github@thequod.de> 12 September 2019, 16:04:34 UTC
e3c25fc bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) (GH-16063) (cherry picked from commit 4210ad5ebd5769f585035e022876e161cd0e9a3e) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 12 September 2019, 15:20:07 UTC
a3c53a1 bpo-21872: fix lzma library decompresses data incompletely (GH-14048) * 1. add test case with wrong behavior * 2. fix bug when max_length == -1 * 3. allow b"" as valid input data for decompress_buf() * 4. when max_length >= 0, let needs_input mechanism works * add more asserts to test case (cherry picked from commit 4ffd05d7ec47cfd0d7fc95dce851633be9663255) Co-authored-by: animalize <animalize@users.noreply.github.com> 12 September 2019, 14:41:30 UTC
c8d1338 bpo-26868: Fix example usage of PyModule_AddObject. (GH-15725) * Add a note to the PyModule_AddObject docs. * Correct example usages of PyModule_AddObject. * Whitespace. * Clean up wording. * 📜🤖 Added by blurb_it. * First code review. * Add < 0 in the tests with PyModule_AddObject (cherry picked from commit 224b8aaa7e8f67f748e8b7b6a4a77a25f6554651) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> 12 September 2019, 12:29:09 UTC
01b47c9 bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040) (cherry picked from commit 967b84c913c7b09ae2fc86272cb9373415e2beaf) Co-authored-by: Windson yang <wiwindson@outlook.com> 12 September 2019, 12:24:56 UTC
07b4148 bpo-32008: Prefer client or TLSv1_2 in examples (GH-5797) (GH-16026) Prefer client or TLSv1_2 in examples Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 894d0f7d5542ee04556ec1bee8c58506f7c916d4) Co-authored-by: Christian Heimes <christian@python.org> 12 September 2019, 11:20:41 UTC
197ac1a closes bpo-38127: _ctypes: PyObject_IsSubclass() should be checked for failure. (GH-16011) An exception may occur during a PyObject_IsSubclass() call. (cherry picked from commit ea683deccc505a78bbbb1eb8c6a88b0835ad5151) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 12 September 2019, 10:30:55 UTC
ff2a5c0 Doc: Update pickle.rst (GH-14128) (GH-16015) * Edits for readability and grammar (cherry picked from commit 362f5350eb5e2c7bfb0b0a8c306a2e128c3aee93) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 12 September 2019, 08:19:33 UTC
b7a310d bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15962) 12 September 2019, 02:50:51 UTC
8892a1d closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007) The >=, checking whether a module index was in already in the module-by-index list, needed to be strict. Also, fold nested ifs into one and fix some bad spacing. (cherry picked from commit 39de95b746c990e6a2fe9af5fad01747f58b2e5f) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2019, 00:02:50 UTC
bf0c76c Doc: Fix missing negation. (GH-14640) (GH-15985) Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise (cherry picked from commit 1fae844451b120b93880d9360f288c70e125520c) Co-authored-by: Julien Palard <julien@palard.fr> 11 September 2019, 17:53:56 UTC
e4be7c8 Improve clarity of try-return-finally-return (GH-15677) (GH-15982) Clarify execution in try-return-finally-return case. (cherry picked from commit 0cc27417f2cd399c432d7dda9aeca1d81af76936) Co-authored-by: toonarmycaptain <toonarmycaptain@hotmail.com> 11 September 2019, 17:42:09 UTC
cec68c3 [3.7] bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) (GH-15994) Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 58ab13479d854491ac9207bacfae25e8b18b044a) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38117 Automerge-Triggered-By: @matrixise 11 September 2019, 17:36:06 UTC
c62da14 bpo-37698: Update doc of PyBuffer_ToContiguous (GH-14992) (GH-15998) https://bugs.python.org/issue37698 (cherry picked from commit 15f5a7527b87e11fcf23069c147fd4cb7d42cfb0) Co-authored-by: Hai Shi <shihai1992@gmail.com> 11 September 2019, 17:34:19 UTC
9b46586 Doc: recursive glob ** follows symlinks to directories (GH-12918) (cherry picked from commit e24594bfe75aff3e654665cb940ddc4d4acffd2f) Co-authored-by: Marc <Marc.Herbert+github@gmail.com> 11 September 2019, 17:28:16 UTC
c112faf bpo-37750: Add doc of PyBuffer_FromContiguous (GH-15988) (GH-15991) https://bugs.python.org/issue37750 Automerge-Triggered-By: @matrixise (cherry picked from commit 5a56ce4a0e820fefcd598b94715a7ff7e199858d) Co-authored-by: Hai Shi <shihai1992@gmail.com> 11 September 2019, 17:10:23 UTC
d126fbd bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974) Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning: ``` $ python3 -m venv test $ source test/bin/activate (test) $ deactivate -bash: $1: unbound variable ``` (cherry picked from commit 5209e586b7cac9a43b2c44349a26b1b0af06ead3) Co-authored-by: Daniel Abrahamsson <hamsson@gmail.com> 11 September 2019, 15:56:27 UTC
195dc14 bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861) (GH-15972) (cherry picked from commit 97b817eae34b77be1ced382e15098a112f547848) Co-authored-by: Anjali Bansal <anjali.mca17.du@gmail.com> 11 September 2019, 15:36:41 UTC
8a19a91 bpo-36634: Fixes activate.bat when existing values contain double quotes (GH-15924) (cherry picked from commit 574b324bdc9a126b5a4488c3613f11ad2555415e) Co-authored-by: Steve Dower <steve.dower@python.org> 11 September 2019, 15:23:07 UTC
e58e18d [3.7] Turn off AppVeyor CI (GH-15929) (GH-15943) (cherry picked from commit 6f55b0394bce8e64a59c61f465fec8079a00e55c) 11 September 2019, 14:39:52 UTC
c211939 bpo-36919: make test_source_encoding.test_issue2301 implementation-independent (GH-13639) (GH-15953) * bpo-36919: make test_issue2301 implementation-independent (cherry picked from commit b6643dcfc26859f935e4b3a6a2a203e8ef5320e2) Co-authored-by: Pavel Koneski <pavel.koneski@gmail.com> 11 September 2019, 14:36:36 UTC
4c2fa5c bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760) (GH-15939) https://bugs.python.org/issue33459 Automerge-Triggered-By: @matrixise (cherry picked from commit dc269971091710563a0d730a0d4b084901826c15) Co-authored-by: Andre Delfino <adelfino@gmail.com> 11 September 2019, 13:37:49 UTC
0fd8c05 bpo-35649: update http client example (GH-11441) (GH-15931) (cherry picked from commit 62cf6981425c6a6b136c5e2abef853364f535e9d) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> 11 September 2019, 13:13:55 UTC
f3480ad [3.8] bpo-37409: fix relative import with no parent (GH-14956) (GH-15913) Relative imports use resolve_name to get the absolute target name, which first seeks the current module's absolute package name from the globals: If __package__ (and __spec__.parent) are missing then import uses __name__, truncating the last segment if the module is a submodule rather than a package __init__.py (which it guesses from whether __path__ is defined). The __name__ attempt should fail if there is no parent package (top level modules), if __name__ is '__main__' (-m entry points), or both (scripts). That is, if both __name__ has no subcomponents and the module does not seem to be a package __init__ module then import should fail.. (cherry picked from commit 92420b3e679959a7d0ce875875601a4cee45231e) Co-authored-by: Ben Lewis <benjimin@users.noreply.github.com> (cherry picked from commit 0a6693a469cfb1dd5c8048d8cb4231a7b5883251) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> 11 September 2019, 12:50:14 UTC
aca878e [3.7] bpo-35168: Make shlex.punctuation_chars read-only (GH-11631) (GH-15926) (cherry picked from commit 972cf5c06a5ba16ad243a442dbb9c15307fbed95) Co-authored-by: Alex <a.v.shkop@gmail.com> 11 September 2019, 12:39:08 UTC
99f0e81 bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) * bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has no content-length header * Add Misc/NEWS.d/next file. * Add rst formatting for NEWS.d/next file * Reaplce assert by self.assertEqual (cherry picked from commit 2d7cacacc310b65b43e7e2de89e7722291dea6a4) Co-authored-by: Pierre Quentel <pierre.quentel@gmail.com> 11 September 2019, 12:22:38 UTC
0553369 bpo-35066: Make trailing percent test more portable. (GH-15907) Different libc implementations have different behavior when presented with trailing % in strftime strings. To make test_strftime_trailing_percent more portable, compare the output of datetime.strftime directly to that of time.strftime rather than hardcoding. (cherry picked from commit f2173ae38fa49235c3cdc28ae2ca2e19a375a596) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2019, 11:51:01 UTC
d378fdb bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) (cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f) Co-authored-by: smokephil <smokephil@gmail.com> 11 September 2019, 10:55:29 UTC
3cd147b bpo-37585: Add clarification regarding comparing dict.values() (GH-14954) (cherry picked from commit 6472ece5a0fe82809d3aa0ffb281796fcd252d76) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 11 September 2019, 10:45:54 UTC
9210b58 bpo-16438: Doc: confusing text regarding numeric precedence corrected (GH-10521) (cherry picked from commit 4576b5431bd597df7581fe3c852b315e47e4b230) Co-authored-by: Anjali <anjali30malik@gmail.com> 11 September 2019, 10:41:28 UTC
5fe153c bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) Fixes a possible hang when using a timeout on subprocess.run() while capturing output. If the child process spawned its own children or otherwise connected its stdout or stderr handles with another process, we could hang after the timeout was reached and our child was killed when attempting to read final output from the pipes. (cherry picked from commit 580d2782f70f8e0bed7ec20abb03d740cb83b5da) Co-authored-by: Gregory P. Smith <greg@krypto.org> 11 September 2019, 10:05:58 UTC
2a8560a bpo-38034: Fix typo in logging.handlers.rst (GH-15708) (GH-15894) (cherry picked from commit efd5741ae953e50a6654e04cf731da86a1307296) Co-authored-by: wwuck <301402+wwuck@users.noreply.github.com> 11 September 2019, 06:56:50 UTC
e0a1561 bpo-37574: Mention helper functions for find_spec documentation (GH-14739) (cherry picked from commit 9cbb97b29eac4b23e916a3233f26b60ac69e335b) Co-authored-by: jdkandersson <51036209+jdkandersson@users.noreply.github.com> 10 September 2019, 17:16:03 UTC
6a494e7 bpo-38089: Move Azure Pipelines to latest VM versions and make macOS tests optional (GH-15851) 10 September 2019, 17:06:38 UTC
14514b6 Docs: Small tweaks to c-api/introGH-Include_Files (GH-14698) (cherry picked from commit b6dafe51399f5c6313a00529118a6052b466942f) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 10 September 2019, 16:40:32 UTC
075a441 Correct info about "f.read(size)". (GH13852) In text mode, the "size" parameter indicates the number of characters, not bytes. (cherry picked from commit faff81c05f838b0b7a64bbc8c53c02a9b04bb79d) Co-authored-by: William Andrea <william.j.andrea@gmail.com> 10 September 2019, 16:02:40 UTC
494b61a [3.7] bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15874) bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) * Write a message when killing a worker process * Put a timeout on the second popen.communicate() call (after killing the process) * Put a timeout on popen.wait() call * Catch popen.kill() and popen.wait() exceptions (cherry picked from commit de2d9eed8bc628533e1628b843cc4c7a5010f6e5) 10 September 2019, 15:54:40 UTC
back to top