https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
8623e68 Python 3.8.2rc1 10 February 2020, 19:08:24 UTC
b086ea5 Grammar fix in tutorial (GH-18425) (GH-18426) (cherry picked from commit 3ed4d251587c36c3853daf42602eaad121b59bba) Co-authored-by: Don Kirkby <donkirkby@users.noreply.github.com> 10 February 2020, 11:40:15 UTC
af95d79 bpo-39128: Added happy_eyeballs_delay, interleave to function signature (GH-18315) (cherry picked from commit 5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8) Co-authored-by: idomic <michael.ido@gmail.com> 10 February 2020, 09:54:38 UTC
dc56f5f bpo-39590: make deque.__contains__ and deque.count hold strong references (GH-18421) (GH-18423) (cherry picked from commit c6dedde160a9fce5d049e860f586ad8f93aec822) Co-authored-by: sweeneyde <36520290+sweeneyde@users.noreply.github.com> Co-authored-by: sweeneyde <36520290+sweeneyde@users.noreply.github.com> 09 February 2020, 08:39:28 UTC
0c915e6 Doc: sys.__unraisablehook__ and bytearray.hex separators are new in 3.8 (GH-17884) Minor fix in documentation: - `sys.__unraisablehook__` is new in version 3.8 - Optional `sep` and `bytes_per_sep` parameters for `bytearray.hex` is also supported in Python 3.8 (just like `bytes.hex`) (cherry picked from commit 0edc2c7678266c39a7ceb2df885cb050f887e32b) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 08 February 2020, 00:54:06 UTC
8b9cebc [3.8] bpo-39579: Fix Attribute end_col_offset to point at the current node (GH-18405) (GH-18408) (cherry picked from commit d2e1098641f98594702ef29049c3c4a3f394786f) https://bugs.python.org/issue39579 Automerge-Triggered-By: @gvanrossum 08 February 2020, 00:21:38 UTC
97e00b3 bpo-39534: Doc: Clarify return in finally (GH-18324) (cherry picked from commit 446463f8dbce0556be8020914f37089b63bb8ab6) Co-authored-by: Julien Palard <julien@palard.fr> 06 February 2020, 22:23:04 UTC
30096c9 Fix MinGW library generation command (GH-17917) To print the exports to stdout, the gendef command requires the option "-". Without this option, no output is generated. (cherry picked from commit 2545fa87628b4caca519da8aeb0eeef368b9dc0d) Co-authored-by: Baljak <baljci@hotmail.com> 06 February 2020, 21:54:54 UTC
0d03a10 bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) Some numerator types used (specifically NumPy) decides to not return a Python boolean for the "a != b" operation. Using the equivalent call to bool() guarantees a bool return also for such types. (cherry picked from commit 427c84f13f7719e6014a21bd1b81efdc02a046fb) Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> 06 February 2020, 15:13:38 UTC
708f472 bpo-38149: Call sys.audit() only once per call for glob.glob(). (GH-18360) (cherry picked from commit 54b4f14712b9350f11c983f1c8ac47a3716958a7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 February 2020, 08:45:18 UTC
927d3aa bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) (GH-18359) (cherry picked from commit 787b6d548c250f36df6d3f3179f60d754c8aa5e3) Co-authored-by: schwarzichet <15522755+schwarzichet@users.noreply.github.com> 05 February 2020, 08:39:36 UTC
6470a76 bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791) (cherry picked from commit 89ae20b30e4543f379ee647c965eb46200556496) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> 05 February 2020, 00:48:01 UTC
3498ac5 bpo-39184: Add audit events to command execution functions in os and pty modules (GH-17824) (cherry picked from commit 95f60010219e142a436fae18e1695cbc45407afe) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 05 February 2020, 00:32:32 UTC
30e7693 closes bpo-39510: Fix use-after-free in BufferedReader.readinto() (GH-18295) When called on a closed object, readinto() segfaults on account of a write to a freed buffer: ==220553== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==220553== Access not within mapped region at address 0x2A ==220553== at 0x48408A0: memmove (vg_replace_strmem.c:1272) ==220553== by 0x58DB0C: _buffered_readinto_generic (bufferedio.c:972) ==220553== by 0x58DCBA: _io__Buffered_readinto_impl (bufferedio.c:1053) ==220553== by 0x58DCBA: _io__Buffered_readinto (bufferedio.c.h:253) Reproducer: reader = open ("/dev/zero", "rb") _void = reader.read (42) reader.close () reader.readinto (bytearray (42)) GH-GH-GH- BANG! The problem exists since 2012 when commit dc469454ec added code to free the read buffer on close(). Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com> (cherry picked from commit cb1c0746f277052e45a60d6c436a765e34722821) Co-authored-by: Philipp Gesang <phg@phi-gamma.net> 04 February 2020, 21:41:55 UTC
9a740b6 bpo-37224: Improve test__xxsubinterpreters.DestroyTests (GH-18058) Adds an additional assertion check based on a race condition for `test__xxsubinterpreters.DestroyTests.test_still_running` discovered in the bpo issue. https://bugs.python.org/issue37224 (cherry picked from commit f03a8f8d5001963ad5b5b28dbd95497e9cc15596) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 04 February 2020, 15:31:19 UTC
a0389ba Fixes in sorting descriptions (GH-18317) Improvements in listsort.txt and a comment in sortperf.py. Automerge-Triggered-By: @csabella (cherry picked from commit 24e5ad4689de9adc8e4a7d8c08fe400dcea668e6) Co-authored-by: Stefan Pochmann <stefan.pochmann@gmail.com> 04 February 2020, 00:50:29 UTC
d01ae1b bpo-38558: Link to further docs from walrus operator mention in tutorial (GH-16973) (cherry picked from commit 5807efd4c396d5718325e21f5a14e324a77ff77c) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 03 February 2020, 17:17:17 UTC
db2f311 fixes typos in http.client documentation (GH-18300) (cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1) Co-authored-by: James Corbett <james.h.corbett@gmail.com> 03 February 2020, 12:07:19 UTC
02395fa bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortDescription (GH-18175) (#18323) (cherry picked from commit 032de7324e30c6b44ef272cea3be205a3d768759) Co-authored-by: Steve Cirelli <scirelli+git@gmail.com> 03 February 2020, 08:20:41 UTC
1723687 [3.8] bpo-39492: Fix a reference cycle between reducer_override and a Pickler instance (GH-18266) (#18316) https://bugs.python.org/issue39492 Automerge-Triggered-By: @pitrou (cherry picked from commit 0f2f35e) Co-authored-by: Pierre Glaser <pierreglaser@msn.com> 02 February 2020, 20:22:57 UTC
83d3202 bpo-38792: Remove IDLE shell calltip before new prompt. (GH-17150) Previously, a calltip might be left after SyntaxError, KeyboardInterrupt, or Shell Restart. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tal Einat <taleinat+github@gmail.com> (cherry picked from commit bfdeaa37b3df7466624c17f9450d2bd1c3d95edf) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 31 January 2020, 02:14:16 UTC
b841633 bpo-39502: Skip test_zipfile.test_add_file_after_2107() on AIX (GH-18282) Skip test_zipfile.test_add_file_after_2107() if time.localtime() fails with OverflowError. It is the case on AIX 6.1 for example. (cherry picked from commit c232c9110cfefa0935cbf158e35e91746a8a9361) Co-authored-by: Victor Stinner <vstinner@python.org> 30 January 2020, 15:05:08 UTC
ad4a20b [3.8] bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231) (GH-18234) https://bugs.python.org/issue39401 Automerge-Triggered-By: @zooba 30 January 2020, 06:18:25 UTC
58076df bpo-39493: Fix definition of IO.closed in typing.py (GH-18265) (cherry picked from commit 2e6569b6692298fcc9aae0df3eb3181adb2a5099) Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> 30 January 2020, 05:42:38 UTC
696d232 bpo-39485: fix corner-case in method-detection of mock (GH-18255) Replace check for whether something is a method in the mock module. The previous version fails on PyPy, because there no method wrappers exist (everything looks like a regular Python-defined function). Thus the isinstance(getattr(result, '__get__', None), MethodWrapperTypes) check returns True for any descriptor, not just methods. This condition could also return erroneously True in CPython for C-defined descriptors. Instead to decide whether something is a method, just check directly whether it's a function defined on the class. This passes all tests on CPython and fixes the bug on PyPy. (cherry picked from commit a327677905956ae0b239ff430a1346dfe265709e) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> 29 January 2020, 16:15:36 UTC
2b675f0 bpo-39460: Fix test_zipfile.test_add_file_after_2107() (GH-18247) XFS filesystem is limited to 32-bit timestamp, but the utimensat() syscall doesn't fail. Moreover, there is a VFS bug which returns a cached timestamp which is different than the value on disk. https://bugzilla.redhat.com/show_bug.cgi?id=1795576 https://bugs.python.org/issue39460GH-msg360952 (cherry picked from commit 3cb49b62e61208efcefbc04414e769fc173f205d) Co-authored-by: Victor Stinner <vstinner@python.org> 29 January 2020, 14:41:49 UTC
d1fa905 Doc: Fix external links to functional programming tutorial. (GH-18249) (cherry picked from commit 35eac4500a8bd89b087407f59ba337343b22d403) Co-authored-by: Julien Palard <julien@palard.fr> 29 January 2020, 13:17:40 UTC
526523c bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220) Some of the *SetItem methods in the C API steal a reference to the given value. This annotates the better behaved ones to assure the reader that these are not the ones with the inconsistent behaviour. * 📜🤖 Added by blurb_it. * make docs consistent with signature Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit e1e80002e28e1055f399a20918c49d50d093709e) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 29 January 2020, 11:29:35 UTC
dbb37aa bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) (cherry picked from commit 0be3246d4f9c8eddcd55491901d95b09fe163f15) Co-authored-by: Adam Meily <ameily@users.noreply.github.com> 28 January 2020, 10:52:47 UTC
cee5da8 bpo-39287: Doc: Add UTF-8 mode section in using/windows. (GH-17935) Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 148610d88a2785751ed435a4e60f07a9f1bc50a6) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 28 January 2020, 10:18:09 UTC
46735c7 bpo-39393: Misleading error message on dependent DLL resolution failure (GH-18093) (cherry picked from commit 13c1c3556f2c12d0be2af890fabfbf44280b845c) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 28 January 2020, 10:00:16 UTC
595b516 bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961) In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows. Path.expanduser/home still honored HOME despite being documented as behaving the same as os.path.expanduser. This makes them also ignore HOME so that both implementations behave the same way again. (cherry picked from commit c45a2aa9e255b5c7c211faa79f6b23895b64ab27) Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com> 28 January 2020, 09:59:43 UTC
41f4dc3 bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226) (GH-18227) * Change the source for the SAT data to a primary source. * Fix typo in the standard deviation * Clarify that the binomial probabalities are just for the Python room. (cherry picked from commit 01bf2196d842fc20667c5336e0a7a77eb4fdc25c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 28 January 2020, 03:40:14 UTC
b487a8e bpo-39392: Turtle overlap fill depends on OS (GH-18223) Whether or not overlap regions for self-intersecting polygons or multiple shapes are filled depends on the operating system graphics, typeof overlap, and number of overlaps. (cherry picked from commit 2824c45a0a020f12f27da7e7162e8636c21bf869) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 January 2020, 23:47:08 UTC
cf9d005 [3.8] bpo-39390 shutil: fix argument types for ignore callback (GH-18122) 27 January 2020, 23:46:29 UTC
7b57b15 bpo-30780: Add IDLE configdialog tests (GH-3592) Expose dialog buttons to test code and complete their test coverage. Complete test coverage for highlights and keys tabs. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit dd023ad1619b6f1ab313986e8953eea32c18f50c) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 27 January 2020, 22:35:08 UTC
57e7e57 Ignore NEWS snippets in code coverage stats (GH-18194) (cherry picked from commit 7023288dc500008609e7a4d12ae710c2093c3fc6) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 27 January 2020, 16:27:59 UTC
19be85c [3.8] bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18190) (cherry picked from commit 62865f4532094017a9b780b704686ca9734bc329) Co-authored-by: Matthew Kokotovich <mkokotovich@gmail.com> 26 January 2020, 15:30:27 UTC
eebcff8 bpo-36018: Add another example for NormalDist() (GH-18191) (GH-18192) 26 January 2020, 05:24:13 UTC
eec7636 bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) (GH-17875) (cherry picked from commit 2e9012a3e1e316c54e27f51ba5849ba06eab7da2) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> 25 January 2020, 19:40:27 UTC
1cf0df4 bpo-36654: Add examples for using tokenize module programmatically (GH-18187) (cherry picked from commit 4b09dc79f4d08d85f2cc945563e9c8ef1e531d7b) Co-authored-by: Windson yang <wiwindson@outlook.com> 25 January 2020, 19:34:36 UTC
321491a bpo-15243: Document __prepare__ as classmethod (GH-17124) (cherry picked from commit 7de617455ed788e6730c40cf854c4b72b0432194) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com> 25 January 2020, 19:04:16 UTC
079dfe0 Update 3.8.rst (GH-18173) (#18182) Fixed the name of the contributor (@selik). (cherry picked from commit 9bfb4a7061a3bc4fc5632bccfdf9ed61f62679f7) Co-authored-by: fireattack <human.peng@gmail.com> 25 January 2020, 17:33:36 UTC
a5906b2 bpo-38473: Handle autospecced functions and methods used with attach_mock (GH-16784) (GH-18167) If an autospecced object is attached using attach_mock the child would be a function with mock object as attribute from which signature has to be derived. (cherry picked from commit 66b00a9d3aacf6ed49412f48743e4913104a2bb3) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 25 January 2020, 14:53:08 UTC
a234492 bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit d0d9fa8c5e30aff71b6d5e8b2673396622f33270) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 25 January 2020, 09:17:54 UTC
ea4a61f bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) Use `from ... import ...` to ensure module is fully loaded before accessing its attributes. (cherry picked from commit 9017e0bd5e124ae6d2ed94b9e9cacb2e86270980) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 January 2020, 20:10:42 UTC
0ea7309 Improve test coverage for AsyncMock. (GH-17906) * Add test for nested async decorator patch. * Add test for side_effect and wraps with a function. * Add test for side_effect with an exception in the iterable. (cherry picked from commit 54f743eb315f00b0ff45e115dde7a5d506034153) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 24 January 2020, 13:27:04 UTC
a46728a bpo-39426: Fix outdated default and highest protocols in docs (GH-18154) Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs. https://bugs.python.org/issue39426 (cherry picked from commit e9652e8d58392f5022759ba06b444ce970eb12db) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 24 January 2020, 10:20:35 UTC
5654f83 [3.8] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) (GH-18148) When communicate() is called in a loop, it crashes when the child process has already closed any piped standard stream, but still continues to be running Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>. (cherry picked from commit d3ae95e1e945ed20297e1c38ba43a18b7a868ab6) Co-authored-by: Alex Rebert <alex@forallsecure.com> https://bugs.python.org/issue35182 23 January 2020, 23:31:29 UTC
5a2356b bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) (cherry picked from commit 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1) Co-authored-by: Shanavas M <shanavas.m2@gmail.com> 23 January 2020, 18:22:36 UTC
993811f bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) * bpo-39421: Fix posible crash in heapq with custom comparison operators * fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators * fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators (cherry picked from commit 79f89e6e5a659846d1068e8b1bd8e491ccdef861) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 23 January 2020, 15:22:25 UTC
545fc51 bpo-32989: IDLE - remove unneeded parameter (GH-18138) IDLE does not pass a non-default _synchre in any of its calls to pyparse.find_good_parse_start. (cherry picked from commit f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 23 January 2020, 05:13:41 UTC
3b76188 bpo-39050: The Help button in IDLE's config menu works again (GH-17611) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 2e43b64c94e49f7133b9c26e84c9519935c49063) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 January 2020, 04:13:29 UTC
fdb2160 bpo-39425: Fix list.count performance regression (GH-18119) (GH-18120) https://bugs.python.org/issue39425 Automerge-Triggered-By: @pablogsal (cherry picked from commit 14d80d0b605d8b148e14458e4c1853a940071462) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 22 January 2020, 18:11:22 UTC
f84f65b bpo-39413: os.unsetenv() is not available on Windows (GH-18108) Update os.unsetenv() documentation: it is not available on Windows. 22 January 2020, 12:50:40 UTC
a755410 closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105) (cherry picked from commit 0d5eac8c327251f8edde5261cee43975d81311f6) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 22 January 2020, 03:26:34 UTC
41b3e87 PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110) (cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7) Co-authored-by: Keith Erskine <toastie604@gmail.com> Co-authored-by: Keith Erskine <toastie604@gmail.com> 21 January 2020, 19:22:21 UTC
f4e3e1c Move test_math tests (GH-18098) (GH-18102) testPerm() and testComb() belong to MathTests, not to IsCloseTests(). (cherry picked from commit 59e2d26b258c12f18d8d2e789ef741703d6c52d5) 21 January 2020, 14:04:33 UTC
ab0d8e3 bpo-39389: gzip: fix compression level metadata (GH-18077) As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a gzip member header should indicate whether the DEFLATE algorithm was tuned for speed or compression ratio. Prior to this patch, archives emitted by the `gzip` module always indicated maximum compression. (cherry picked from commit eab3b3f1c60afecfb4db3c3619109684cb04bd60) Co-authored-by: William Chargin <wchargin@gmail.com> 21 January 2020, 11:42:49 UTC
060ad2f bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968) Fix comments and add tests for editor newline_and_indent_event method. Remove unused None default for function parameter of pyparse find_good_parse_start method and code triggered by that default. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ec64640a2c5236d7a5d5470d759172a3d93eab0b) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 21 January 2020, 10:29:39 UTC
070e68a improve the documentation of the LOAD_METHOD and CALL_METHOD (GH-18079) (cherry picked from commit 8698b34b68065b80bd9bd18b8decb425208fa386) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> 21 January 2020, 01:12:07 UTC
c1964e0 bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054) (cherry picked from commit 8d57a4182f0aa68e16d66dea31ba59e732612b4f) Co-authored-by: Peter Bittner <django@bittner.it> 20 January 2020, 23:28:43 UTC
5cadd3f bpo-39386: Prevent double awaiting of async iterator (GH-18081) (cherry picked from commit a96e06db77dcbd3433d39761ddb4615d7d96284a) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 20 January 2020, 23:06:40 UTC
6aeed01 Fix asyncio.get_event_loop() documentation (GH-18051) Mention that the function implicitly creates new event loop only if called from the main thread. (cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 20 January 2020, 22:52:35 UTC
4cdb758 bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFreed (GH-16630) Some objects like Py_None are not initialized with conventional means that prepare the circular linked list pointers, leaving them unlinked from the rest of the objects. For those objects, NULL pointers does not mean that they are freed, so we need to skip the check in those cases. (cherry picked from commit 36e33c360ed7716a2b5ab2b53210da81f8ce1295) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 19 January 2020, 23:43:37 UTC
23793ed bpo-35561: Supress valgrind false alarm on epoll_ctl(event) (GH-18060) Update Misc/valgrind-python.supp to suppress the false alarm. (cherry picked from commit d8ef64422a75f40cecdb1a7ee43492607d3daaf6) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 January 2020, 22:44:35 UTC
c7b16f8 Fix typo from base to based (GH-18055) (cherry picked from commit 558f07891170fe5173f277d3749e92d844de0a27) Co-authored-by: Michael Haas <micha2718l@gmail.com> 19 January 2020, 10:48:04 UTC
34ece35 Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18043) (cherry picked from commit ef8844f1bcbea994a2a69b5a70309369d08b555c) Co-authored-by: Grant Jenks <grant.jenks@gmail.com> Co-authored-by: Grant Jenks <grant.jenks@gmail.com> 17 January 2020, 23:02:06 UTC
19bd3a1 bpo-39348: Fix code highlight for the SOCK_NONBLOCK example (GH-18018) The previous double colon was wrongly place directly after Therefore. Which produced a block without syntax highlighting. This fixes it by separating the double colon from the text. As a result, sphinx now properly highlights the python code. https://bugs.python.org/issue39348 (cherry picked from commit fad8b5674c66d9e00bb788e30adddb0c256c787b) Co-authored-by: Oz N Tiram <oz.tiram@noris.de> 16 January 2020, 00:01:21 UTC
54abd28 [3.8] Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932) (GH-18015) Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation: _Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._ No issue associated with this PR. Should be backported in 3.7 and 3.8. (cherry picked from commit dc0284ee8f7a270b6005467f26d8e5773d76e959) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com> Automerge-Triggered-By: @pitrou 15 January 2020, 20:19:21 UTC
9213577 Fix compiler warning on Windows (GH-18012) Python-ast.h contains a macro named Yield that conflicts with the Yield macro in Windows system headers. While Python-ast.h has an "undef Yield" directive to prevent this, it means that Python-ast.h must be included before Windows header files or we run into a re-declaration warning. In commit c96be811fa7d an include for pycore_pystate.h was added which indirectly includes Windows header files. In this commit we re-order the includes to fix this warning. (cherry picked from commit e92d39303feb1d3b4194c6a8275b1fc63b2153b2) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 15 January 2020, 17:07:09 UTC
9f220e4 Fix documentation in code.py (GH-17988) (cherry picked from commit b4cdb3f60e71888d7f3d4e0d40cb31e968ea160c) Co-authored-by: Kyle Pollina <kylepollina@protonmail.com> 14 January 2020, 20:13:59 UTC
9955f33 [3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642) Fix `NameError` in `zipimport` during hash validation and add a regression test. (cherry picked from commit 79f02fee1a542c440fd906fd54154c73fc0f8235) https://bugs.python.org/issue39033 14 January 2020, 11:39:19 UTC
9362f85 bpo-39310: Update sys.float_info documentation (GH-17982) Specify that sys.float_info.min is only the minimum normalized float. 13 January 2020, 19:24:12 UTC
9671b6b bpo-39307: Fix memory leak on error path in parsetok (GH-17953) (cherry picked from commit 7ba6f18de2582755ae31888ba6a4237d96dddc48) Co-authored-by: Alex Henrie <alexhenrie24@gmail.com> 13 January 2020, 10:54:24 UTC
f1f0c58 [3.8] Fix typos in Misc/NEWS.d (GH-17930) 12 January 2020, 22:56:26 UTC
ef0af30 bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 6680f4a9f5d15ab82b2ab6266c6f917cb78c919a) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 12 January 2020, 20:44:33 UTC
3043ec7 bpo-38293: Allow shallow and deep copying of property objects (GH-16438) Copying property objects results in a TypeError. Steps to reproduce: ``` >>> import copy >>> obj = property() >>> copy.copy(obj) ```` This affects both shallow and deep copying. My idea for a fix is to add property objects to the list of "atomic" objects in the copy module. These already include types like functions and type objects. I also added property objects to the unit tests test_copy_atomic and test_deepcopy_atomic. This is my first PR, and it's highly likely I've made some mistake, so please be kind :) https://bugs.python.org/issue38293 (cherry picked from commit 9f3fc6c5b4993f2b362263b494f84793a21aa073) Co-authored-by: Guðni Natan Gunnarsson <1493259+GudniNatan@users.noreply.github.com> 12 January 2020, 18:04:18 UTC
eb9ba2f bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17964) Although the underlying libffi issue remains open, adding these checks have caused problems in third-party projects which are in widespread use. See the issue for examples. The corresponding tests have also been skipped. (cherry picked from commit c12440c371025bea9c3bfb94945f006c486c2c01) 12 January 2020, 11:41:07 UTC
33dd75a bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552) Motivation for this PR (comment from @vstinner in bpo issue): ``` Warning seen o AMD64 Ubuntu Shared 3.x buildbot: https://buildbot.python.org/all/GH-/builders/141/builds/2593 test_devnull_output (test.test_a=syncio.test_subprocess.SubprocessThreadedWatcherTests) ... Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2) ``` The following implementation details for the new method are TBD: 1) Public vs private 2) Inclusion in `close()` 3) Name 4) Coroutine vs subroutine method 5) *timeout* parameter If it's a private method, 3, 4, and 5 are significantly less important. I started with the most minimal implementation that fixes the dangling threads without modifying the regression tests, which I think is particularly important. I typically try to avoid directly modifying existing tests as much as possible unless it's necessary to do so. However, I am open to changing any part of this. https://bugs.python.org/issue38356 (cherry picked from commit 0ca7cc7fc0518c24dc9b78c38418e6064e64f148) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 12 January 2020, 11:21:00 UTC
a240f05 bpo-39233: Update positional-only section in the glossary (GH-17874) https://bugs.python.org/issue39233 (cherry picked from commit 9a669d58e8cb586fba38c84d5b631cd8a95d0c0c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 12 January 2020, 11:03:15 UTC
98b1c0c bpo-39297: Update for importlib_metadata 1.4. (GH-17947) (GH-17952) * bpo-39297: Update for importlib_metadata 1.4. Includes performance updates. * 📜🤖 Added by blurb_it. * Update blurb Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 136735c1a2efb320e4cbb64b40f1191228745b39) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 11 January 2020, 15:56:57 UTC
0f40482 Fix host in address of socket.create_server example. (GH-17706) Host as None in address raises TypeError since it should be string, bytes or bytearray. (cherry picked from commit 43682f1e39a3c61f0e8a638b887bcdcbfef766c5) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 11 January 2020, 05:39:01 UTC
df2fb60 [3.8] Add test cases for dataclasses. (GH-17909) (GH-17919) * Add test cases for dataclasses. * Add test for repr output of field. * Add test for ValueError to be raised when both default and default_factory are passed. (cherry picked from commit eef1b027ab70704bcaa60a089e4ae1592c504b86) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> Automerge-Triggered-By: @ericvsmith 10 January 2020, 12:12:08 UTC
33e033d bpo-39235: Fix end location for genexp in call args (GH-17925) The fix changes copy_location() to require an extra node from which to extract the end location, and fixing all 5 call sites. https://bugs.python.org/issue39235 (cherry picked from commit a796d8ef9dd1af65f7e4d7a857b56f35b7cb6e78) Co-authored-by: Guido van Rossum <guido@python.org> 09 January 2020, 19:39:00 UTC
e47a7e3 Fix typo in test's docstring (GH-17856) (GH-17923) * Fix typo in test's docstring. contination -> continuation. (cherry picked from commit 2f65aa465865930f8364645b1466d2751c4086d3) Co-authored-by: Daniel Hahler <git@thequod.de> Co-authored-by: Daniel Hahler <github@thequod.de> 09 January 2020, 17:33:05 UTC
8c08518 bpo-25172: Reduce scope of crypt import tests (GH-17881) (cherry picked from commit ed367815eeb9329c48a86a8a7fa3186e27a10f2c) Co-authored-by: Steve Dower <steve.dower@python.org> 09 January 2020, 17:19:59 UTC
20c9902 bpo-39161: Document multi-phase init modules under Py_NewInterpreter() (GH-17896) \+ this also adds a stronger warning against sharing objects between (sub-)interpreters. https://bugs.python.org/issue39161 (cherry picked from commit 6c5d661342d12f6836580b0e75e3569c764527ae) Co-authored-by: Petr Viktorin <encukou@gmail.com> 09 January 2020, 12:27:35 UTC
45e5750 closes bpo-39262: Use specific out-of-memory message in _sharedexception_bind. (GH-17908) (cherry picked from commit 5cae042f686cc174e00093944dc118914c874b7c) Co-authored-by: Alex Henrie <alexhenrie24@gmail.com> 09 January 2020, 03:07:38 UTC
b24e4fa bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) (cherry picked from commit 2e6a8efa837410327b593dc83c57492253b1201e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 08 January 2020, 15:48:33 UTC
39a5c88 bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780) Correctly parenthesize filter-based statements that contain lambda expressions in lib2to3. (cherry picked from commit b821173b5458d137c8d5edb6e9b4997aac800a38) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 07 January 2020, 17:52:06 UTC
bff48c6 bpo-39198: Ensure logging global lock is released on exception in isEnabledFor (GH-17689) (GH-17897) (cherry picked from commit 950c6795aa0ffa85e103a13e7a04e08cb34c66ad) 07 January 2020, 17:03:23 UTC
4112a3d [3.8] bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) (#17894) https://bugs.python.org/issue39191. (cherry picked from commit 10ac0cded26d91c3468e5e5a87cecad7fc0bcebd) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 07 January 2020, 14:55:19 UTC
a6b3758 bpo-38623: Doc: Add section for site module CLI. (GH-17858) (cherry picked from commit ca94677a6216e2d41b04574986ce49d31a0b329c) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 07 January 2020, 08:04:43 UTC
6a8284d Doc: Change Python 2 status to EOL. (GH-17885) (cherry picked from commit f4800b8ed3dbe15a0078869a836d968ab3362b8c) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 07 January 2020, 06:59:28 UTC
fb59f5f bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873) https://bugs.python.org/issue39041 Automerge-Triggered-By: @zooba (cherry picked from commit b1ce22d086660d2505010694c8813cc67adf8f9e) Co-authored-by: Steve Dower <steve.dower@python.org> 06 January 2020, 21:41:33 UTC
a9a43c2 bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818) (cherry picked from commit 7b79dc9200a19ecbac667111dffd58e314be02a8) Co-authored-by: Anthony Wee <awee@box.com> 06 January 2020, 17:17:36 UTC
0048833 bpo-39041: Add GitHub Actions support (GH-17594) (cherry picked from commit a76ba362c4d86adf5e7f8254398135d12d7afd25) Co-authored-by: Steve Dower <steve.dower@python.org> 06 January 2020, 16:46:55 UTC
b2e281a bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860) (cherry picked from commit 5ec91f78d59d9c39b984f284e00cd04b96ddb5db) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 06 January 2020, 16:26:13 UTC
33cb4a6 bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864) (GH-17865) Fixes error attempting to bind to IPv4 address. (cherry picked from commit 7cdc31a14c824000cbe8b487900c9826a33f6940) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 06 January 2020, 13:28:27 UTC
back to top