https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2064bcf 3.7.1rc1 26 September 2018, 06:16:09 UTC
d9cfe5e bpo-34370: Update Tk 8.6 used with macOS installers Have macOS 10.9+ installer builds for 3.7.1rc and 3.6.7rc use a development snapshot of Tk 8.6 (post-8.6.8) to mitigate certain scroller issues seen with IDLE and tkinter apps. 26 September 2018, 05:06:13 UTC
22a5695 [3.7] asyncio/docs: Replace Python 4.0 -> 3.10 (GH-9580) 25 September 2018, 22:00:15 UTC
3cc9557 bpo-34790: [docs] Passing coroutines to asyncio.wait() can be confusing. (GH-9543) (cherry picked from commit 996859a90df51f84eab47351702cb59c6db4428a) Co-authored-by: Yury Selivanov <yury@magic.io> 25 September 2018, 18:57:49 UTC
b2ae550 bpo-34162: idlelib/NEWS.txt entry for squeezer (GH-9573) (cherry picked from commit 22ef31d0b4b497eda5e356528c3e1d29584d6757) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 25 September 2018, 18:02:06 UTC
3637e68 bpo-1529353: IDLE - Squeezer What's New for 3.7.1 (GH-9568) (cherry picked from commit ea718d377db3941ecfc86288a3465fce653cc682) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 25 September 2018, 16:17:57 UTC
92ad261 bpo-1529353: IDLE: Squeezer What's New for 3.6.7 (GH-9567) (cherry picked from commit dac712d51667227ce3862fc61be6a8094b1066fa) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 25 September 2018, 16:15:14 UTC
ef1173a bpo-33937: Catch ENOMEM error in test_socket (GH-9557) Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error. testSendmsgTimeout() and testSendmsgDontWait() randomly fail on Travis CI with: "OSError: [Errno 12] Cannot allocate memory". (cherry picked from commit 46f40be8b907854deb81c6132b7cb038e9e5202a) Co-authored-by: Victor Stinner <vstinner@redhat.com> 25 September 2018, 15:49:28 UTC
321f28c bpo-1529353: IDLE: squeeze large output in the shell (GH-7626) (cherry picked from commit 604e7b9931f9e7881a2941816e538f5f15930db8) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 25 September 2018, 12:38:45 UTC
db23206 bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497) The GlobalLock() call in UpdateDropDescription() was not checked for failure. https://bugs.python.org/issue34770 (cherry picked from commit f6c8007a29b95b3ea3ca687a9b4924769a696328) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 25 September 2018, 04:44:11 UTC
bbdf872 Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533) (cherry picked from commit b60b4683f6c995e9205f68439023c80a0b628f39) Co-authored-by: Joni Kähärä <joni.kahara@gmail.com> 25 September 2018, 03:35:46 UTC
65cc60b bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551) (cherry picked from commit 16fba6231458cc1ff82db8695ee772b74131cc83) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 25 September 2018, 00:23:07 UTC
881ddff [3.7]Documentation minor update related to 3.6 - 3.7 migration (GH-9501) Change version from 3.6 to 3.7 in the documentation when it addresses newcomers. original request from python/python-docs-fr#273 24 September 2018, 16:33:44 UTC
7a26222 bpo-34783: Add test_cmd_line_script.test_nonexisting_script() (GH-9535) Make sure that "./python script.py" does not crash if the script file doesn't exist. (cherry picked from commit a46467ff198c42c8f34768c7be4b4562f6f44736) Co-authored-by: Victor Stinner <vstinner@redhat.com> 24 September 2018, 15:28:23 UTC
75dd688 Update Azure Pipelines badge (GH-9530) 24 September 2018, 12:43:56 UTC
657fdf2 bpo-34582: Update syntax of Azure Pipelines builds (GH-9521) 24 September 2018, 12:43:33 UTC
394e55a [3.7] bpo-17239: Disable external entities in SAX parser (GH-9217) (GH-9511) The SAX parser no longer processes general external entities by default to increase security. Before, the parser created network connections to fetch remote files or loaded local files from the file system for DTD and entities. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239. (cherry picked from commit 17b1d5d4e36aa57a9b25a0e694affbd1ee637e45) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue17239 24 September 2018, 12:38:37 UTC
ddc163d bpo-34783: Fix Py_Main() (GH-9526) Fix a crash with musl libc (on Alpine Linux) when the script filename specified on the command line doesn't exist. pymain_open_filename() now gets the current core configuration from the interpreter state. Modify the code to make it closer to the master branch: * Rename _Py_CommandLineDetails to _PyCmdline * Remove _PyMain.config: replaced with a local variable 'local_config' in pymain_init() * Reorganize pymain_main(): move code using the "local config" into pymain_init() * As soon as possible, switch from the local config to the core configuration attached to the interpreter. 24 September 2018, 12:03:01 UTC
aeadf59 bpo-34548: IDLE: use configured theme colors in TextView (GH-9008) https://bugs.python.org/issue34548 (cherry picked from commit c87d9f406bb23657c1b4cd63017bb7bd7693a1fb) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 23 September 2018, 13:31:35 UTC
c73df53 bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126) (GH-9506) Use "backslashreplace" instead of "unicode-escape". It is not implementation depended and escapes only non-encodable characters. Also simplify the code. (cherry picked from commit 4b860fd) 23 September 2018, 07:31:53 UTC
2756ef3 [3.7] bpo-34670: Add TLS 1.3 post handshake auth (GH-9460) (GH-9505) Add SSLContext.post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3 post-handshake authentication. Signed-off-by: Christian Heimes <christian@python.org>q https://bugs.python.org/issue34670. (cherry picked from commit 9fb051f032c36b9f6086b79086b4d6b7755a3d70) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34670 23 September 2018, 07:22:52 UTC
44989bc bpo-34472: Add data descriptor signature to zipfile (GH-8871) (GH-9399) This makes streamed zips compatible with MacOS Archive Utility and other applications. (cherry picked from commit 4ba3b50bfe6d50cd82d208023ea23e203ab50589) Co-authored-by: Silas Sewell <silas@sewell.org> 22 September 2018, 18:03:04 UTC
0c076ca [3.7] bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328) (GH-9486) * bpo-29577: allow multiple mixin classes 22 September 2018, 05:26:32 UTC
c00f703 bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468) OpenSSL follows the convention that whenever you call a function, it returns an error indicator value; and if this value is negative, then you need to go look at the actual error code to see what happened. Commit c6fd1c1c3a introduced a small mistake in _ssl__SSLSocket_shutdown_impl: instead of checking whether the error indicator was negative, it started checking whether the actual error code was negative, and it turns out that the error codes are never negative. So the effect was that 'unwrap()' lost the ability to raise SSL errors. https://bugs.python.org/issue34759 (cherry picked from commit c0da582b227f311126e278b5553a7fa89c79b054) Co-authored-by: Nathaniel J. Smith <njs@pobox.com> 22 September 2018, 05:00:42 UTC
5c3d8b2 [3.7] bpo-34623: Mention CVE-2018-14647 in news entry (GH-9482) (GH-9488) https://bugs.python.org/issue34623 (cherry picked from commit 026337a7101369297c8083047d2f3c6fc9dd1e2b) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623 22 September 2018, 04:57:46 UTC
e5fde1f bpo-34537: Fix test_gdb:test_strings with LC_ALL=C (GH-9483) We cannot simply call locale.getpreferredencoding() here, as GDB might have been linked against a different version of Python with a different encoding and coercion policy with respect to PEP 538 and PEP 540. Thanks to Victor Stinner for a hint on how to fix this. (cherry picked from commit 7279b5125e7c5d84a473d250b27d353cb7f6628e) Co-authored-by: Elvis Pranskevichus <elvis@magic.io> 22 September 2018, 01:29:34 UTC
e45662c bpo-33649: Fix gather() docs; fix title; few other nits. (GH-9475) (GH-9481) (cherry picked from commit db1a80e97aa7217c561fb3627f70be1882de9534) Co-authored-by: Yury Selivanov <yury@magic.io> 21 September 2018, 20:35:34 UTC
914086a Make docs of exitcode for subprocess.getstatusoutput more clear. (GH-9477) Make it more accurate and not limited to UNIX. (cherry picked from commit 7d161726e4ddd2b2cdd7ac58a7e9e9ea3f57a807) Co-authored-by: Xiang Zhang <angwerzx@126.com> 21 September 2018, 20:34:46 UTC
187f2dd bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473) (cherry picked from commit 2ec872b31e25cee1f983fe07991fb53f3fd1cbac) Co-authored-by: Yury Selivanov <yury@magic.io> 21 September 2018, 19:48:10 UTC
975f3cb bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418) There was a missing PyMem_Free(format) in time_strftime(). (cherry picked from commit 91e6c8717b7dcbcc46b189509de5f2d335819f37) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 21 September 2018, 07:41:50 UTC
ef4306b closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) (cherry picked from commit a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd) Co-authored-by: Benjamin Peterson <benjamin@python.org> 21 September 2018, 01:52:36 UTC
a73e790 Fixes tests requiring extra environment values on Windows (GH-9462) 20 September 2018, 21:39:21 UTC
c56bbae bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426) (cherry picked from commit b10a64d117de6121ea3e79c467c4107f8f399f3d) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 20 September 2018, 17:20:32 UTC
8e5ef58 bpo-33649: More improvements (GH-9439) (cherry picked from commit e247b46cba4f4d32ea96a15dbc36d73265171106) Co-authored-by: Yury Selivanov <yury@magic.io> 20 September 2018, 16:57:19 UTC
015cd0f bpo-32215: Fix performance regression in sqlite3 (GH-8511) (cherry picked from commit 8d1e190fc507a9e304f6817e761e9f628a23cbd8) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 20 September 2018, 15:56:56 UTC
4761770 bpo-19756: Prevent test failures due to EADDRNOTAVAIL (GH-9446) (cherry picked from commit 8213eaddf3ce8e87564d2949454903a1484748b5) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 20 September 2018, 15:23:45 UTC
4fe8dc6 bpo-34746: Fix stop -> close (GH-9437) (cherry picked from commit ffef50f1f5907e5f0f175b12088d3e509011f126) Co-authored-by: Yury Selivanov <yury@magic.io> 20 September 2018, 05:21:08 UTC
9804af2 Enables test result collection for CI builds (GH-9433) (cherry picked from commit fd54a45f7987d5b3343c74cb49a12bd39bdad5bc) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 19 September 2018, 23:41:11 UTC
581890c bpo-34733: Return of the docs search bar (GH-9431) Partially revert changes to Doc/tools/templates/layout.html accidentally committed in 512d7101098b971837cbb406942215244f636547. 19 September 2018, 21:51:17 UTC
71bc694 Ignores failure to update lists (GH-9424) (cherry picked from commit 76531e2e82319a487d659bc469441bd4b8251608) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 19 September 2018, 21:34:29 UTC
d9c8911 bpo-34712: Fix style in examples in "Input and Output" (GH-9361) A couple of fixes here to make this more PEP-8: * Avoid multiple statements on one line with `;` statement separator -- this is very rare in Python and is "generally discouraged" in PEP 8 (and if used, per PEP 8 there shouldn't be a space before the `;`) * Add output for the first "Formatted String Literals" example. (Side note: are the doctests for this being run? If so, why didn't it fail?) * Avoid space before `!r`. I have generally not seen spaces before the `!`, and this also matches the style used in the docs here: https://docs.python.org/3/library/string.htmlGH-format-string-syntax https://bugs.python.org/issue34712 (cherry picked from commit 3705b9862025705ea60041a9e310f99a164db722) Co-authored-by: Ben Hoyt <benhoyt@gmail.com> 19 September 2018, 20:30:40 UTC
95cc3ee Revert "[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379)" (GH-9416) This reverts commit 144f1e2c6f4a24bd288c045986842c65cc289684. 19 September 2018, 19:01:52 UTC
73c0006 bpo-33649: Add a high-level section about Futures; few quick fixes (GH-9403) Co-authored-by: Elvis Pranskevichus <elvis@magic.io> (cherry picked from commit 471503954a91d86cf04228c38134108c67a263b0) Co-authored-by: Yury Selivanov <yury@magic.io> 18 September 2018, 22:09:51 UTC
1a89cb5 bpo-34582: Adds JUnit XML output for regression tests (GH-9210) (cherry picked from commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 18 September 2018, 18:48:22 UTC
470a435 bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623 (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org> 18 September 2018, 13:11:09 UTC
45452b7 bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389) (cherry picked from commit b042cf10c6084d14279c55a7e0d2d7595ff4e694) Co-authored-by: Yury Selivanov <yury@magic.io> 18 September 2018, 07:00:58 UTC
ee2ff1a Fix syntax error on Asyncio example in doc (GH-9387) (GH-9388) The `gather` method requires to close the parenthesis, but it is being closed twice. (cherry picked from commit 9c53fa6ad9cd23fb03867b4a1f74264c426c1772) Co-authored-by: Miguel Ángel García <magmax@users.noreply.github.com> 18 September 2018, 06:27:27 UTC
9a89fd6 Change "set_after" reference to `say_after`. (GH-9384) (GH-9386) (cherry picked from commit 7bfbda46f49c0b2c43e128835106cf13315b6ae8) Co-authored-by: Danny Hermes <daniel.j.hermes@gmail.com> 18 September 2018, 06:27:07 UTC
1f4ea58 bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380) (cherry picked from commit ac94e38d076aebc56c2ff96a249b5e40f32633ea) Co-authored-by: Yury Selivanov <yury@magic.io> 18 September 2018, 04:12:05 UTC
144f1e2 [3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379) * bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371) _PyCoreConfig: * Rename coerce_c_locale to _coerce_c_locale * Rename coerce_c_locale_warn to _coerce_c_locale_warn These fields are now private (name prefixed by "_"). (cherry picked from commit 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27) * bpo-34589: C locale coercion off by default (GH-9073) Py_Initialize() and Py_Main() cannot enable the C locale coercion (PEP 538) anymore: it is always disabled. It can now only be enabled by the Python program ("python3). test_embed: get_filesystem_encoding() doesn't have to set PYTHONUTF8 nor PYTHONCOERCECLOCALE, these variables are already set in the parent. (cherry picked from commit 7a0791b6992d420dc52536257f2f093851ed7215) * bpo-34589: Add -X coerce_c_locale command line option (GH-9378) Add a new -X coerce_c_locale command line option to control C locale coercion (PEP 538). (cherry picked from commit dbdee0073cf0b88fe541980ace1f650900f455cc) 18 September 2018, 01:01:39 UTC
512d710 bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) 17 September 2018, 23:35:30 UTC
c63d81b bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370) (cherry picked from commit c62ab2862db2382808bb2228760eebdda3f608bd) Co-authored-by: Yury Selivanov <yury@magic.io> 17 September 2018, 22:42:09 UTC
a8a8cc7 bpo-34267: Update find_python.bat to use 3.7 if available (GH-8552) (cherry picked from commit 6750922f8d3428d84a016c34d6fcd99659e8610c) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 17 September 2018, 22:39:18 UTC
b7f58d7 bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277) The test tries to fill the receiver's socket buffer and expects an error. But the RDS protocol doesn't require that. Moreover, the Linux implementation of RDS expects that the producer of the messages reduces its rate, it's not the role of the receiver to trigger an error. The test fails on Fedora 28 by design, so remove it. (cherry picked from commit 7484bdfd1e2e33fdd2c44dd4ffa044aacd495337) Co-authored-by: Victor Stinner <vstinner@redhat.com> 17 September 2018, 21:27:59 UTC
1229664 bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) (cherry picked from commit c6fd1c1c3a65217958b68df3a4991e4f306e9b7d) Co-authored-by: Steve Dower <steve.dower@microsoft.com> 17 September 2018, 19:12:13 UTC
f8e34ee bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784) (cherry picked from commit 5e99b56d6b249995a4fa2bc09c0bb03841f49572) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2018, 13:09:32 UTC
efdf316 bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683) (cherry picked from commit 9bdb7be482aef8f60daa1d36606568a132dcb616) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2018, 13:08:45 UTC
e2c0aea bpo-34710: fix SSL module build (GH-9347) Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> (cherry picked from commit b3a271fc0ce3e13e427be8914decfc205a220ca8) Co-authored-by: Alexandru Ardelean <ardeleanalex@gmail.com> 17 September 2018, 12:18:23 UTC
1d30788 bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113) (cherry picked from commit e0e5065daef36dafe10a46eaa8b7800274d73062) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2018, 12:10:56 UTC
e3f6aa7 bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258) (cherry picked from commit 7843caeb909bd907e903606414e238db4082315a) Co-authored-by: Vladimir Matveev <v2matveev@outlook.com> 16 September 2018, 05:53:13 UTC
51dbae8 closes bpo-34515: Support non-ASCII identifiers in lib2to3. (GH-8950) (cherry picked from commit 10a428b64b3f224e2ccd40ff2afb141b9b3425b1) Co-authored-by: Monson Shao <holymonson@gmail.com> 15 September 2018, 17:52:57 UTC
c83c375 bpo-32933: Implement __iter__ method on mock_open() (GH-5974) (cherry picked from commit 2087023fdec2c89070bd14f384a3c308c548a94a) Co-authored-by: Tony Flury <anthony.flury@btinternet.com> 14 September 2018, 21:30:04 UTC
b2ecb8b Fix "Python" casing in a few places (GH-9001) (GH-9313) (cherry picked from commit 271818fe279df5ab292789f97c3a52c477bd8f13) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 14 September 2018, 19:15:10 UTC
ca2fa28 closes bpo-28955: Clarified comparisons between NaN and number in reference documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org> (cherry picked from commit ad8a0004206ba7aec5a8a60fce413da718080db2) Co-authored-by: Tony Flury <anthony.flury@btinternet.com> 14 September 2018, 18:05:38 UTC
78aa3d8 bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are namedtuples. (GH-9151) (GH-9304) (cherry picked from commit 9b9d97dd139a799d28ff8bc90d118b1cac190b03) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 14 September 2018, 17:47:14 UTC
bd979b2 Change the xkcd link in comment over https. (GH-9293) (cherry picked from commit 83df50ea5757816c7338d27f21fd18b1e79206f7) Co-authored-by: 觉 <Xdminsy@users.noreply.github.com> 14 September 2018, 16:28:07 UTC
c974051 Don't run AC_STRUCT_TIMEZONE twice. (GH-9305) (cherry picked from commit a4414ef20b971e6803309acebfa85b1621ac625e) Co-authored-by: Benjamin Peterson <benjamin@python.org> 14 September 2018, 16:22:48 UTC
a8f189f Note that distinct argument patterns can be cached separately (GH-9298) (GH-9299) (cherry picked from commit 902bcd9a1e2c73c6de5510b771c590b618c4c94e) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 14 September 2018, 08:13:17 UTC
d0491cd [3.7] bpo-34490: Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') (GH-8907) (#9286) * [3.7] Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') (GH-8907). (cherry picked from commit 413118ebf3162418639a5c4af14b02d26571a02c) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com> * Update test_events.py 14 September 2018, 00:03:35 UTC
2b16294 bpo-31132: Remove prlimit permission test. (GH-9280) This test is doesn't work when the test process is privledged, which is hard to detect. https://bugs.python.org/issue34668 (cherry picked from commit 01e0afa994c2e840f85e2de103e72a2c0ddf1b1f) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2018, 22:13:55 UTC
b2a6aa3 closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273) (cherry picked from commit 84db4a9978069a98978e9cd7951d1a01d47e5286) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2018, 19:42:26 UTC
3050564 bpo-34247: add porting note to 3.7 What's New (GH-9223) (cherry picked from commit 66755cbb1e529f54c9066639ebbbac81add0affd) Co-authored-by: Ned Deily <nad@python.org> 13 September 2018, 19:14:46 UTC
218b4bf bpo-34661: Fix test skipping call. (GH-9266) (cherry picked from commit e78734d579439861f6d7e12f35d268836b2c1e24) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2018, 18:35:18 UTC
1550b73 closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262) (cherry picked from commit a710ebd21b09efe902dde84d4862ce5c6427f7af) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2018, 17:27:52 UTC
b2ff9a9 bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) [bpo-34658](https://www.bugs.python.org/issue34658): Fix a rare interpreter unhandled exception state SystemError only seen when using subprocess with a preexec_fn while an after_parent handler has been registered with os.register_at_fork and the fork system call fails. https://bugs.python.org/issue34658 (cherry picked from commit a20b6adb5a5880fd22c099961eb9f9787739cefe) Co-authored-by: Gregory P. Smith <greg@krypto.org> 13 September 2018, 17:11:00 UTC
35c94c7 bpo-34652: Remove lchmod from the big func checking block. (GH-9247) A fix for 883702ebb8bbfa749ef0040d1b58d6222bf589ee. (cherry picked from commit ed709d5699716bf7237856dc20aba321e2dfff6d) Co-authored-by: Benjamin Peterson <benjamin@python.org> 13 September 2018, 05:33:02 UTC
90f7d45 bpo-34200: Fix non-determinism of test_pkg (GH-9248) This causes the tearDown code to only unimport the test modules specifically created as part of each test via the self.mkhier method rather than abusing test.support.modules_setup() and the scary test.support.modules_cleanup() code. https://bugs.python.org/issue34200 (cherry picked from commit 4ae8ece5cd4c5853b625381db13429f25512108d) Co-authored-by: Gregory P. Smith <greg@krypto.org> 13 September 2018, 01:29:08 UTC
ea2fcd3 closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) (cherry picked from commit e1a34ceb541ef87e03bb428630097dacc9c658e5) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 23:54:10 UTC
98344a4 closes bpo-34652: Always disable lchmod on Linux. (GH-9234) (cherry picked from commit 40caa05fa4d1810a1a6bfc34e0ec930c351089b7) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 23:36:05 UTC
0aef909 [3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9236) musl doesn't support the scheduler API, but declares stubs that alway return ENOSYS.. (cherry picked from commit c7042224b8a67748f125c22836862483f81a87a6) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 23:00:06 UTC
ec4d099 bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) Reported by Svace static analyzer. (cherry picked from commit 6f82bffd2df63a4072b3f0483cdbe93ddedb87e9) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 12 September 2018, 21:46:40 UTC
b608fcd closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX feature. musl does not provide this feature, so some threadsignal tests fail when Python is built against it. There's no good way to test for musl, so we skip if we're on Linux and not using glibc pthreads. Also, hedge in the threading documentation about when we can provide interrupts from lock acquisition. (cherry picked from commit 5b10d5111d7a855297654af9045f8907b7d3dd08) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 21:10:56 UTC
329ea4e bpo-31577: Fix a crash in os.utime() in case of a bad ns argument. (GH-3752) (cherry picked from commit 0bd1a2dcfdf36b181385ae61361e7692f4ebb0fd) Co-authored-by: Oren Milman <orenmn@gmail.com> 12 September 2018, 19:46:30 UTC
72c34cf closes bpo-31903: Release the GIL when calling into SystemConfiguration (GH-4178) (cherry picked from commit 4859ba0d2ce4506fddc3f55f90f8dce031b3804f) Co-authored-by: Max Bélanger <aeromax@gmail.com> 12 September 2018, 15:37:30 UTC
cadb66e [3.7] closes bpo-25041: Document AF_PACKET socket address format. (GH-9207) (cherry picked from commit 731ff68eeef58babdf2b32dc9a73b141760c2be9) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 12 September 2018, 01:46:36 UTC
01ce535 Delete old expat comment. (GH-9197) (cherry picked from commit b9bf9d025e659b5a1963027eb73690e57cb35dd0) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 September 2018, 01:04:33 UTC
4007e4e Make sure the line comes from the same node as the col offset. (GH-9189) Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. GH- Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. GH- Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. --> (cherry picked from commit d13e59c1b512069d90efe7ee9b613d3913e79c56) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2018, 23:32:52 UTC
d8bc7a6 closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175) Previously, col_offset points to the keyword after "async". (cherry picked from commit 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b) Co-authored-by: guoci <zguoci@gmail.com> 11 September 2018, 22:21:11 UTC
e2b40f4 bpo-34365: Update date object documentation (GH-8814) Python 3.x does not fall back to comparing object addresses when comparing two `dt` objects. <!-- issue-number: [bpo-34365](https://www.bugs.python.org/issue34365) --> https://bugs.python.org/issue34365 <!-- /issue-number --> (cherry picked from commit 9c223794c754408644c16349b85dd27fdba8a926) Co-authored-by: Danish Prakash <grafitykoncept@gmail.com> 11 September 2018, 21:24:53 UTC
d289df1 Update VSTS to Azure DevOps and simplify dependencies (GH-9168) 11 September 2018, 21:01:13 UTC
536e45a closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) (cherry picked from commit 24bd50bdcc97d65130c07d6cd26085fd06c3e972) Co-authored-by: Oren Milman <orenmn@gmail.com> 11 September 2018, 19:08:10 UTC
e02ca42 bpo-34613: document the correct value of limit argument of asyncio.StreamReader (GH-9121) The default value of asyncio.StreamReader *limit* is `_DEFAULT_LIMIT` instead of `None`. <!-- issue-number: [bpo-34613](https://www.bugs.python.org/issue34613) --> https://bugs.python.org/issue34613 <!-- /issue-number --> (cherry picked from commit b4ec36200a959da70eba94c19826446a8efdffdd) Co-authored-by: Bram <cortex@worlddomination.be> 11 September 2018, 18:59:29 UTC
3e648f8 bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086) <!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --> https://bugs.python.org/issue28617 <!-- /issue-number --> (cherry picked from commit 08bcf647d8a92e4bd47531588b284c6820b7a7ef) Co-authored-by: wim glenn <wim.glenn@gmail.com> 11 September 2018, 18:13:33 UTC
3235fac bpo-34405: Update to OpenSSL 1.1.0i for macOS installer builds (GH-9166) (GH-9167) (cherry picked from commit 3102e24d83315eee42a94c460956fbcb92ac510f) Co-authored-by: Ned Deily <nad@python.org> 11 September 2018, 16:07:11 UTC
c9ece5f closes bpo-33883: Mention type checkers in the FAQ. (GH-7760) (cherry picked from commit a37825418649873a0fa971dc7e5e6d142c124574) Co-authored-by: Andrés Delfino <adelfino@gmail.com> 11 September 2018, 05:27:00 UTC
2bc4eea bpo-34625: Update vendorized expat version to 2.2.6. (GH-9150) (cherry picked from commit 5033aa77aacaa5505636f150e8d54baac5bdca9c) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2018, 04:55:27 UTC
2110f78 bpo-33032: Mention the implicit cache in struct.Struct() docs (GH-7700) Mention the implicit cache in struct.Struct() docs. Consistent with the re.compile documentation note. (cherry picked from commit 3666b3c1f695a145adab1bf644c22e564e8eb0ee) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 11 September 2018, 04:50:41 UTC
9c4a63f bpo-32270: Don't close stdin/out/err in pass_fds (GH-6242) (GH-9148) When subprocess.Popen() stdin= stdout= or stderr= handles are specified and appear in pass_fds=, don't close the original fds after dup'ing them. This implementation and unittest primarily came from @izbyshev (see the PR) See also https://github.com/izbyshev/cpython/commit/b89b52f28490b69142d5c061604b3a3989cec66c This also removes the old manual p2cread, c2pwrite, and errwrite closing logic as inheritable flags and _close_open_fds takes care of that properly today without special treatment. This code is within child_exec() where it is the only thread so there is no race condition between the dup and _Py_set_inheritable_async_safe call. (cherry picked from commit ce34410b8b67f49d8275c05d51b3ead50cf97f48) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 11 September 2018, 04:36:20 UTC
6df2005 Fix missing line from example shell session (GH-9143) (GH-9155) (cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 11 September 2018, 02:13:02 UTC
037582e bpo-33460: remove ellipsis that look like continuation prompts (GH-7851) Remove ellipsis that look like continuation prompts, has a side benefit of putting rest of error message in proper text color. (cherry picked from commit f019579828ed62653e2d41c95278308fa076ccaf) Co-authored-by: Lew Kurtz <37632626+lew18@users.noreply.github.com> 11 September 2018, 01:49:39 UTC
back to top