eb8ac57 | Brandt Bucher | 25 February 2020, 03:47:34 UTC | bpo-36144: Dictionary Union (PEP 584) (#12088) | 25 February 2020, 03:47:34 UTC |
ba22e8f | Berker Peksag | 25 February 2020, 03:19:03 UTC | bpo-30566: Fix IndexError when using punycode codec (GH-18632) Trying to decode an invalid string with the punycode codec shoud raise UnicodeError. | 25 February 2020, 03:19:03 UTC |
8af4712 | idomic | 24 February 2020, 14:59:40 UTC | bpo-39128: Added algorithm description (GH-18624) # [bpo-39128](https://bugs.python.org/issue39128): happy eyeballs description # [3.9] 39128 - happy eyeballs description (GH-18624) # [3.8] 39128 - happy eyeballs description (GH-18624) https://bugs.python.org/issue39128 | 24 February 2020, 14:59:40 UTC |
5143284 | Ned Deily | 24 February 2020, 13:00:58 UTC | Add note to Mac installer ReadMe about macOS 10.15 Gatekeeper changes. (GH-18648) | 24 February 2020, 13:00:58 UTC |
b942ba0 | Stefan Krah | 24 February 2020, 11:24:43 UTC | Give proper credit for figuring out and writing PEP-3118 tests. (#18644) | 24 February 2020, 11:24:43 UTC |
ee3bac4 | Stefan Krah | 24 February 2020, 10:15:26 UTC | Give proper credits for the memoryview implementation. (#18626) | 24 February 2020, 10:15:26 UTC |
c3fa634 | Andy Lester | 24 February 2020, 06:40:43 UTC | closes bpo-39736: const strings in Modules/_datetimemodule.c and Modules/_testbuffer.c (GH-18637) | 24 February 2020, 06:40:43 UTC |
4015d1c | Daniel Hahler | 24 February 2020, 03:14:53 UTC | bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) Appears to be obsolete since 75bb54c3d8. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 24 February 2020, 03:14:53 UTC |
aea045a | Hakan รelik | 24 February 2020, 02:00:40 UTC | bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) Full nested function and class info makes it a module browser. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 24 February 2020, 02:00:40 UTC |
9f37872 | Antoine Pitrou | 23 February 2020, 22:33:53 UTC | bpo-39681: Fix C pickle regression with minimal file-like objects (#18592) Fix a regression where the C pickle module wouldn't allow unpickling from a file-like object that doesn't expose a readinto() method. | 23 February 2020, 22:33:53 UTC |
b76518d | Stefan Krah | 23 February 2020, 13:36:54 UTC | bpo-39576: Clarify the word size for the 32-bit build. (#18616) | 23 February 2020, 13:36:54 UTC |
559e7f1 | Serhiy Storchaka | 23 February 2020, 11:21:29 UTC | bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. (GH-18604) * bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. * Simplify fast path. * Difine lcm() without arguments returning 1. * Apply suggestions from code review Co-Authored-By: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | 23 February 2020, 11:21:29 UTC |
fbe2e0b | ananthan-123 | 22 February 2020, 17:56:02 UTC | bpo-17422: Language reference should specify restrictions on class namespace (#18559) The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman. | 22 February 2020, 17:56:01 UTC |
1c56f8f | Yonatan Goldschmidt | 22 February 2020, 13:11:48 UTC | bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530) Hold reference of __bases__ tuple until tuple item is done with, because by dropping the reference the item may be destroyed. | 22 February 2020, 13:11:48 UTC |
a025d4c | Stefan Krah | 21 February 2020, 20:27:37 UTC | bpo-39576: docs: set context for decimal arbitrary precision arithmetic (#18594) | 21 February 2020, 20:27:37 UTC |
fd5116c | Berker Peksag | 21 February 2020, 17:57:26 UTC | bpo-35950: Raise UnsupportedOperation in BufferedReader.truncate() (GH-18586) The truncate() method of io.BufferedReader() should raise UnsupportedOperation when it is called on a read-only io.BufferedReader() instance. https://bugs.python.org/issue35950 Automerge-Triggered-By: @methane | 21 February 2020, 17:57:26 UTC |
d4d17fd | Julien Danjou | 21 February 2020, 10:47:41 UTC | fix(doc): set correct RST syntax for c:function (GH-18589) The current content is not rendered since the syntax is not correct. | 21 February 2020, 10:47:41 UTC |
c2ac4cf | Christopher Hunt | 21 February 2020, 09:33:04 UTC | bpo-35727: Use exit code 0 on sys.exit() in multiprocessing.Process. (GH-11538) | 21 February 2020, 09:33:04 UTC |
baf29b2 | Denis Chernikov | 21 February 2020, 09:17:50 UTC | Reuse identifier of PREDICT macros as PREDICT_ID (GH-17155) In function `_PyEval_EvalFrameDefault`, macros PREDICT and PREDICTED use the same identifier creation scheme, which may be shared between them, reducing code repetition, and do ensure that the same identifier is generated. | 21 February 2020, 09:17:50 UTC |
d4331c5 | alclarks | 21 February 2020, 08:48:36 UTC | bpo-9495: avoid confusing chained exception in argparse test (GH-17120) | 21 February 2020, 08:48:36 UTC |
424e568 | Pete Wicken | 21 February 2020, 05:53:12 UTC | bpo-38657: Clarify numeric padding behaviour in string formatting (GH-17036) Make the definition of the width more explicit that it includes any extra signs added by other options. https://bugs.python.org/issue38657 Automerge-Triggered-By: @Mariatta | 21 February 2020, 05:53:12 UTC |
933fc53 | Andy Lester | 21 February 2020, 04:51:47 UTC | closes bpo-39684: Combine two if/thens and squash uninit var warning. (GH-18565) | 21 February 2020, 04:51:47 UTC |
90930e6 | Stefan Krah | 21 February 2020, 00:52:47 UTC | bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) | 21 February 2020, 00:52:47 UTC |
6c444d0 | Steve Dower | 20 February 2020, 22:24:44 UTC | bpo-39184: Fix incorrect return value (GH-18580) https://bugs.python.org/issue39184 Automerge-Triggered-By: @zooba | 20 February 2020, 22:24:43 UTC |
1246d89 | Stefan Krah | 20 February 2020, 18:08:53 UTC | Use the new recommended number of repetitions in the refleak tests. (#18569) | 20 February 2020, 18:08:53 UTC |
9b833e0 | Stefan Krah | 20 February 2020, 18:07:31 UTC | Update runall.bat to the latest Windows build system. (#18571) | 20 February 2020, 18:07:31 UTC |
c0cb8be | Stefan Krah | 20 February 2020, 13:39:14 UTC | Valgrind no longer supports --db-attach=yes. (#18568) | 20 February 2020, 13:39:14 UTC |
f2ee21d | ananthan-123 | 19 February 2020, 18:21:37 UTC | bpo-39479:Add math.lcm() function: Least Common Multiple (#18547) * Update math.rst * Update math.rst * updated whats new * Update test_math.py * Update mathmodule.c * Update mathmodule.c.h * Update ACKS * ๐๐ค Added by blurb_it. * Update 3.9.rst * Update 2020-02-18-12-37-16.bpo-39479.j3UcCq.rst * Update math.rst * Update 2020-02-18-12-37-16.bpo-39479.j3UcCq.rst * Update test_math.py * Update ACKS * Update mathmodule.c.h * Update mathmodule.c * Update mathmodule.c.h * Update mathmodule.c.h Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | 19 February 2020, 18:21:37 UTC |
4dee92b | Victor Stinner | 19 February 2020, 13:23:47 UTC | Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed (#18314)" (GH-18553) This reverts commit d83b6600b25487e4ebffd7949d0f478de9538875. | 19 February 2020, 13:23:47 UTC |
ab6423f | ananthan-123 | 19 February 2020, 04:33:05 UTC | bpo-39572: Document โtotalโ flag of TypedDict (GH-18554) | 19 February 2020, 04:33:05 UTC |
a4ba8a3 | Cheryl Sabella | 18 February 2020, 23:01:15 UTC | Include subsections in TOC for PDF version of docs. (GH-9629) | 18 February 2020, 23:01:15 UTC |
af5ee3f | Victor Stinner | 18 February 2020, 15:28:53 UTC | bpo-39674: Revert "bpo-25988: Do not expose abstract collection classes in the collections module. (GH-10596)" (GH-18545) This reverts commit ef092fe9905f61ca27889092ca1248a11aa74498. Update collections __getattr__() and documentation to defer aliases removal to Python 3.10. | 18 February 2020, 15:28:53 UTC |
6e35da9 | Petr Viktorin | 18 February 2020, 15:13:17 UTC | bpo-37207: Use vectorcall for range() (GH-18464) This continues the `range()` part of #13930. The complete pull request is stalled on discussions around dicts, but `range()` should not be controversial. (And I plan to open PRs for other parts if this is merged.) On top of Mark's change, I unified `range_new` and `range_vectorcall`, which had a lot of duplicate code. https://bugs.python.org/issue37207 | 18 February 2020, 15:13:17 UTC |
24bba8c | Jeroen Demeyer | 18 February 2020, 13:14:46 UTC | bpo-36347: stop using RESTRICTED constants (GH-12684) The constants `RESTRICTED` and `PY_WRITE_RESTRICTED` no longer have a meaning in Python 3. Therefore, CPython should not use them. CC @matrixise https://bugs.python.org/issue36347 | 18 February 2020, 13:14:46 UTC |
5d38517 | Hai Shi | 18 February 2020, 11:17:39 UTC | bpo-1635741: Port _bz2 extension module to multiphase initialization(PEP 489) (GH-18050) https://bugs.python.org/issue1635741 | 18 February 2020, 11:17:38 UTC |
8edfc47 | Kyle Meyer | 18 February 2020, 09:48:57 UTC | bpo-39546: argparse: Honor allow_abbrev=False for specified prefix_chars (GH-18337) When `allow_abbrev` was first added, disabling the abbreviation of long options broke the grouping of short flags ([bpo-26967](https://bugs.python.org/issue26967)). As a fix, b1e4d1b603 (contained in v3.8) ignores `allow_abbrev=False` for a given argument string if the string does _not_ start with "--" (i.e. it doesn't look like a long option). This fix, however, doesn't take into account that long options can start with alternative characters specified via `prefix_chars`, introducing a regression: `allow_abbrev=False` has no effect on long options that start with an alternative prefix character. The most minimal fix would be to replace the "starts with --" check with a "starts with two prefix_chars characters". But `_get_option_tuples` already distinguishes between long and short options, so let's instead piggyback off of that check by moving the `allow_abbrev` condition into `_get_option_tuples`. https://bugs.python.org/issue39546 | 18 February 2020, 09:48:57 UTC |
ffda25f | Cheryl Sabella | 18 February 2020, 02:47:52 UTC | bpo-39663: IDLE: Add additional tests for pyparse (GH-18536) Test when find_good_parse_start should return 0. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 18 February 2020, 02:47:52 UTC |
4c1b6a6 | Hai Shi | 17 February 2020, 13:50:35 UTC | bpo-1635741: Port _abc extension to multiphase initialization (PEP 489) (GH-18030) | 17 February 2020, 13:50:35 UTC |
7d79568 | Hai Shi | 17 February 2020, 13:49:26 UTC | bpo-1635741: Port _contextvars module to multiphase initialization (PEP 489) (GH-18374) | 17 February 2020, 13:49:26 UTC |
3d235f5 | Hai Shi | 17 February 2020, 13:41:15 UTC | bpo-39500: Fix compile warnings in unicodeobject.c (GH-18519) | 17 February 2020, 13:41:15 UTC |
1b55b65 | Dong-hee Na | 17 February 2020, 10:09:15 UTC | bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) | 17 February 2020, 10:09:15 UTC |
a784759 | Hai Shi | 17 February 2020, 09:18:19 UTC | bpo-36465: Update doc of init_config.rst (GH-18520) | 17 February 2020, 09:18:19 UTC |
b2b6e27 | Hai Shi | 17 February 2020, 09:11:34 UTC | bpo-1635741: Port _crypt extension module to multiphase initialization (PEP 489) (GH-18404) | 17 February 2020, 09:11:34 UTC |
d83b660 | idomic | 17 February 2020, 09:05:11 UTC | bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed (#18314) * Hard reset + cherry piciking the changes. * ๐๐ค Added by blurb_it. * Added @vstinner News * Update Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst Co-Authored-By: Victor Stinner <vstinner@python.org> * Hard reset to master * Hard reset to master + latest changes Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | 17 February 2020, 09:05:11 UTC |
85a2eef | Serhiy Storchaka | 17 February 2020, 09:03:00 UTC | bpo-32892: Update the documentation for handling constants in AST. (GH-18514) | 17 February 2020, 09:03:00 UTC |
c33bdbb | idomic | 16 February 2020, 19:17:58 UTC | bpo-37970: update and improve urlparse and urlsplit doc-strings (GH-16458) | 16 February 2020, 19:17:58 UTC |
a5cbab5 | Thomas Moreau | 16 February 2020, 18:09:26 UTC | bpo-39104: Fix hanging ProcessPoolExecutor on shutdown nowait with pickling failure (GH-17670) As reported initially by @rad-pat in #6084, the following script causes a deadlock. ``` from concurrent.futures import ProcessPoolExecutor class ObjectWithPickleError(): """Triggers a RuntimeError when sending job to the workers""" def __reduce__(self): raise RuntimeError() if __name__ == "__main__": e = ProcessPoolExecutor() f = e.submit(id, ObjectWithPickleError()) e.shutdown(wait=False) f.result() # Deadlock on get ``` This is caused by the fact that the main process is closing communication channels that might be necessary to the `queue_management_thread` later. To avoid this, this PR let the `queue_management_thread` manage all the closing. https://bugs.python.org/issue39104 Automerge-Triggered-By: @pitrou | 16 February 2020, 18:09:26 UTC |
1ed6161 | Vinay Sajip | 14 February 2020, 22:02:13 UTC | bpo-12915: Add pkgutil.resolve_name (GH-18310) | 14 February 2020, 22:02:13 UTC |
9aeb0ef | Dong-hee Na | 14 February 2020, 07:50:19 UTC | bpo-39573: Update clinic to use Py_IS_TYPE() function (GH-18507) | 14 February 2020, 07:50:19 UTC |
d212c3c | Dong-hee Na | 14 February 2020, 07:48:12 UTC | bpo-39573: PyXXX_Check() macros use Py_IS_TYPE() (GH-18508) Update PyXXX_Check() macros in Include/ to use the new Py_IS_TYPE function. | 14 February 2020, 07:48:12 UTC |
7386a70 | Andy Lester | 14 February 2020, 04:42:56 UTC | closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510) | 14 February 2020, 04:42:56 UTC |
a9edf44 | Ian Norton | 14 February 2020, 03:09:11 UTC | closes bpo-39619 Fix os.chroot on HP-UX 11.31 (GH-18495) Setting `-D_XOPEN_SOURCE=700` on HP-UX causes system functions such as chroot to be undefined. This change stops `_XOPEN_SOURCE` begin set on HP-UX Co-authored-by: Benjamin Peterson <benjamin@python.org> | 14 February 2020, 03:09:11 UTC |
f632736 | Serhiy Storchaka | 13 February 2020, 23:57:35 UTC | bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://bugs.python.org/issue39545 | 13 February 2020, 23:57:35 UTC |
10e87e5 | Vlad Emelianov | 13 February 2020, 19:53:29 UTC | bpo-39627: Fix TypedDict totality check for inherited keys (#18503) (Adapted from https://github.com/python/typing/pull/700) | 13 February 2020, 19:53:29 UTC |
fbeba8f | mpheath | 13 February 2020, 18:32:09 UTC | bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) | 13 February 2020, 18:32:09 UTC |
d905df7 | Dong-hee Na | 13 February 2020, 17:37:17 UTC | bpo-39573: Add Py_IS_TYPE() function (GH-18488) Co-Author: Neil Schemenauer <nas-github@arctrix.com> | 13 February 2020, 17:37:17 UTC |
968dcd9 | Brandt Bucher | 13 February 2020, 17:34:45 UTC | bpo-39573: Fix bad copy-paste in Py_SET_SIZE (GH-18496) | 13 February 2020, 17:34:45 UTC |
925dc7f | Nathaniel J. Smith | 13 February 2020, 08:15:38 UTC | bpo-39606: allow closing async generators that are already closed (GH-18475) The fix for [bpo-39386](https://bugs.python.org/issue39386) attempted to make it so you couldn't reuse a agen.aclose() coroutine object. It accidentally also prevented you from calling aclose() at all on an async generator that was already closed or exhausted. This commit fixes it so we're only blocking the actually illegal cases, while allowing the legal cases. The new tests failed before this patch. Also confirmed that this fixes the test failures we were seeing in Trio with Python dev builds: https://github.com/python-trio/trio/pull/1396 https://bugs.python.org/issue39606 | 13 February 2020, 08:15:38 UTC |
7514f4f | Saiyang Gou | 13 February 2020, 07:47:42 UTC | bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) | 13 February 2020, 07:47:42 UTC |
597ebed | Andy Lester | 13 February 2020, 04:53:01 UTC | closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497) | 13 February 2020, 04:53:01 UTC |
8c3aee6 | Victor Stinner | 12 February 2020, 22:55:09 UTC | bpo-35134: Add Include/cpython/fileutils.h header file (GH-18493) Move CPython C API from Include/fileutils.h into a new Include/cpython/fileutils.h header file which is included by Include/fileutils.h. Exclude the following private symbols from the limited C API: * _Py_error_handler * _Py_GetErrorHandler() * _Py_DecodeLocaleEx() * _Py_EncodeLocaleEx() | 12 February 2020, 22:55:09 UTC |
98921ae | Victor Stinner | 12 February 2020, 22:54:31 UTC | bpo-35134: Add Include/cpython/bytesobject.h file (GH-18494) Add Include/cpython/bytearrayobject.h and Include/cpython/bytesobject.h header files. Move CPython C API from Include/bytesobject.h into a new Include/cpython/bytesobject.h header file which is included by Include/bytesobject.h. Do a similar change for Include/bytearrayobject.h. | 12 February 2020, 22:54:31 UTC |
e9e7d28 | Victor Stinner | 12 February 2020, 21:54:42 UTC | bpo-35081: Move dtoa.h header to the internal C API (GH-18489) Move the dtoa.h header file to the internal C API as pycore_dtoa.h: it only contains private functions (prefixed by "_Py"). The math and cmath modules must now be compiled with the Py_BUILD_CORE macro defined. | 12 February 2020, 21:54:42 UTC |
45876a9 | Victor Stinner | 12 February 2020, 21:32:34 UTC | bpo-35081: Move bytes_methods.h to the internal C API (GH-18492) Move the bytes_methods.h header file to the internal C API as pycore_bytes_methods.h: it only contains private symbols (prefixed by "_Py"), except of the PyDoc_STRVAR_shared() macro. | 12 February 2020, 21:32:34 UTC |
6e619c4 | Serhiy Storchaka | 12 February 2020, 20:37:49 UTC | bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477) | 12 February 2020, 20:37:49 UTC |
674935b | William Chargin | 12 February 2020, 19:56:02 UTC | bpo-18819: tarfile: only set device fields for device files (GH-18080) The GNU docs describe the `devmajor` and `devminor` fields of the tar header struct only in the context of character and block special files, suggesting that in other cases they are not populated. Typical utilities behave accordingly; this patch teaches `tarfile` to do the same. | 12 February 2020, 19:56:02 UTC |
4fac7ed | Victor Stinner | 12 February 2020, 12:02:29 UTC | bpo-21016: pydoc and trace use sysconfig (GH-18476) bpo-21016, bpo-1294959: The pydoc and trace modules now use the sysconfig module to get the path to the Python standard library, to support uncommon installation path like /usr/lib64/python3.9/ on Fedora. Co-Authored-By: Jan Matฤjek <jmatejek@suse.com> | 12 February 2020, 12:02:29 UTC |
8c579b1 | Serhiy Storchaka | 12 February 2020, 10:18:59 UTC | bpo-32856: Optimize the assignment idiom in comprehensions. (GH-16814) Now `for y in [expr]` in comprehensions is as fast as a simple assignment `y = expr`. | 12 February 2020, 10:18:59 UTC |
0cc6b5e | Serhiy Storchaka | 12 February 2020, 10:17:00 UTC | bpo-39219: Fix SyntaxError attributes in the tokenizer. (GH-17828) * Always set the text attribute. * Correct the offset attribute for non-ascii sources. | 12 February 2020, 10:17:00 UTC |
f4f445b | Serhiy Storchaka | 12 February 2020, 10:11:34 UTC | bpo-39567: Add audit for os.walk(), os.fwalk(), Path.glob() and Path.rglob(). (GH-18372) | 12 February 2020, 10:11:34 UTC |
95905ce | Benjamin Peterson | 12 February 2020, 03:36:14 UTC | bpo-39605: Remove a cast that causes a warning. (GH-18473) | 12 February 2020, 03:36:14 UTC |
e5bd736 | Jason R. Coombs | 12 February 2020, 02:58:47 UTC | bpo-39595: Improve zipfile.Path performance (#18406) * Improve zipfile.Path performance on zipfiles with a large number of entries. * ๐๐ค Added by blurb_it. * Add bpo to blurb * Sync with importlib_metadata 1.5 (6fe70ca) * Update blurb. * Remove compatibility code * Add stubs module, omitted from earlier commit Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | 12 February 2020, 02:58:47 UTC |
e6be9b5 | Andy Lester | 12 February 2020, 02:28:35 UTC | closes bpo-39605: Fix some casts to not cast away const. (GH-18453) gcc -Wcast-qual turns up a number of instances of casting away constness of pointers. Some of these can be safely modified, by either: Adding the const to the type cast, as in: - return _PyUnicode_FromUCS1((unsigned char*)s, size); + return _PyUnicode_FromUCS1((const unsigned char*)s, size); or, Removing the cast entirely, because it's not necessary (but probably was at one time), as in: - PyDTrace_FUNCTION_ENTRY((char *)filename, (char *)funcname, lineno); + PyDTrace_FUNCTION_ENTRY(filename, funcname, lineno); These changes will not change code, but they will make it much easier to check for errors in consts | 12 February 2020, 02:28:35 UTC |
029e840 | @RandyMcMillan | 12 February 2020, 01:20:05 UTC | docs: macos - change "versiona" to "versions" (GH-18467) | 12 February 2020, 01:20:05 UTC |
b138dd2 | Steve Dower | 11 February 2020, 17:32:52 UTC | Fix ordering issue in Windows release upload script (GH-18465) Automerge-Triggered-By: @zooba | 11 February 2020, 17:32:52 UTC |
f3fda37 | Victor Stinner | 11 February 2020, 16:50:10 UTC | bpo-38644: Rephrase What's New entry (GH-18461) | 11 February 2020, 16:50:10 UTC |
ffd9753 | Petr Viktorin | 11 February 2020, 16:46:57 UTC | bpo-39245: Switch to public API for Vectorcall (GH-18460) The bulk of this patch was generated automatically with: for name in \ PyObject_Vectorcall \ Py_TPFLAGS_HAVE_VECTORCALL \ PyObject_VectorcallMethod \ PyVectorcall_Function \ PyObject_CallOneArg \ PyObject_CallMethodNoArgs \ PyObject_CallMethodOneArg \ ; do echo $name git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g" done old=_PyObject_FastCallDict new=PyObject_VectorcallDict git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g" and then cleaned up: - Revert changes to in docs & news - Revert changes to backcompat defines in headers - Nudge misaligned comments | 11 February 2020, 16:46:57 UTC |
f3e7ea5 | Victor Stinner | 11 February 2020, 13:29:33 UTC | bpo-39500: Document PyUnicode_IsIdentifier() function (GH-18397) PyUnicode_IsIdentifier() does not call Py_FatalError() anymore if the string is not ready. | 11 February 2020, 13:29:33 UTC |
1ea45ae | Hai Shi | 11 February 2020, 11:16:38 UTC | bpo-1635741: Port _codecs extension module to multiphase initialization (PEP 489) (GH-18065) https://bugs.python.org/issue1635741 | 11 February 2020, 11:16:38 UTC |
4eb9f43 | Roger Hurwitz | 11 February 2020, 06:56:02 UTC | bpo-38374: Remove weakref.ReferenceError from docs (GH-18452) Reflecting changes to the code, removed weakref.ReferenceError from weakref.rst and exceptions.rst. Issue submitter provided evidence that the `weakref.ReferenceError` alias for `ReferenceError` was removed from the code in 2007. Working with @gvanrossum at PyCascades CPython sprint we looked at the code and confirmed that `weakref.ReferenceError` was no longer in `weakref.py`. Based on that analysis I removed references `weakref.ReferenceError` from the two documents where it was still being referenced: `weakref.rst` and `exceptions.rst`. https://bugs.python.org/issue38374 | 11 February 2020, 06:56:02 UTC |
96ce227 | Terry Jan Reedy | 11 February 2020, 01:08:58 UTC | bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) Complete previous patch. | 11 February 2020, 01:08:58 UTC |
038770e | Victor Stinner | 10 February 2020, 23:58:23 UTC | bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448) Skip tests on non-BMP characters of test_winconsoleio. | 10 February 2020, 23:58:23 UTC |
c4a65ed | Ogi Moore | 10 February 2020, 23:51:01 UTC | bpo-39417: Fix broken link to guide to building venvs (GH-18432) | 10 February 2020, 23:51:01 UTC |
bf15d5b | Eric Wieser | 10 February 2020, 23:32:18 UTC | Correct the documented default encoding (GH-18429) From the source for `PyUnicode_Decode`, the implementation is: ``` if (encoding == NULL) { return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL); } ``` which is pretty clearly not defaulting to ASCII. --- I assume this needs neither a news entry nor bpo link. | 10 February 2020, 23:32:18 UTC |
95d024d | Tim D. Smith | 10 February 2020, 22:51:01 UTC | bpo-13826: Clarify Popen constructor example (GH-18438) Clarifies that the use of `shlex.split` is more instructive than normative, and provides a simpler example. https://bugs.python.org/issue13826 | 10 February 2020, 22:51:01 UTC |
37c55b2 | Roger Hurwitz | 10 February 2020, 22:50:19 UTC | bpo-39594: Fix typo in os.times documentation (GH-18443) There was an extra space in the url markup, causing the documentation not rendered properly. https://bugs.python.org/issue39594 | 10 February 2020, 22:50:19 UTC |
d68e0a8 | Carl | 10 February 2020, 21:15:34 UTC | Issue3950: Fix docs for default locale used by gettext to match implementation (#18435) documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63. | 10 February 2020, 21:15:34 UTC |
3c5dec6 | Christophe Nanteuil | 10 February 2020, 20:17:54 UTC | Remove redundant references in struct doc (GH-18053) | 10 February 2020, 20:17:54 UTC |
6c9974e | Wellington Pardim | 10 February 2020, 20:13:41 UTC | bpo-39369 Doc: Update mmap readline method documentation (GH-17957) * Update mmap readline method documentation Update mmap `readline` method description. The fact that the `readline` method does update the file position should not be ignored since this might give the impression for the programmer that it doesn't update it. * ๐๐ค Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | 10 February 2020, 20:13:41 UTC |
ed335cf | Victor Stinner | 10 February 2020, 19:41:26 UTC | bpo-39600, IDLE: Remove duplicated font names (GH-18430) In the font configuration window, remove duplicated font names. | 10 February 2020, 19:41:26 UTC |
e00c1d0 | Brian Curtin | 10 February 2020, 17:47:17 UTC | Remove note saying patch is straightforward (#18431) While `unittest.mock.patch` is a great thing, it is not straightforward. If it were straightforward there wouldn't be such a huge amount of documentation for it, and frankly, when myself and others who I've read about often struggle to figure out what on earth `patch()` wants, coming to the docs to read that it's straightforward is not helpful. | 10 February 2020, 17:47:17 UTC |
29b3fc0 | Hugo van Kemenade | 10 February 2020, 13:26:40 UTC | bpo-39586: Deprecate distutils bdist_msi command (GH-18415) | 10 February 2020, 13:26:40 UTC |
5305cc9 | idomic | 10 February 2020, 09:48:40 UTC | bpo-39128: Added happy_eyeballs_delay, interleave to function signature (GH-18315) | 10 February 2020, 09:48:40 UTC |
3ed4d25 | Don Kirkby | 10 February 2020, 00:57:46 UTC | Grammar fix in tutorial (GH-18425) | 10 February 2020, 00:57:46 UTC |
c6dedde | sweeneyde | 09 February 2020, 08:16:43 UTC | bpo-39590: make deque.__contains__ and deque.count hold strong references (GH-18421) | 09 February 2020, 08:16:43 UTC |
7f6f7ee | Dong-hee Na | 08 February 2020, 23:45:52 UTC | bpo-39573: Use Py_TYPE() macro in ctypes.h (GH-18411) | 08 February 2020, 23:45:52 UTC |
0edc2c7 | Saiyang Gou | 08 February 2020, 00:48:06 UTC | 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`) | 08 February 2020, 00:48:06 UTC |
9a978dd | Fangrui Song | 07 February 2020, 23:46:29 UTC | closes bpo-39575: Change -lgcov to --coverage. (GH-18382) This allows clang to get rid of the dependency on libgcov. When linking, GCC passes -lgcov while clang passes the path to libclang_rt.profile-$arch.a | 07 February 2020, 23:46:29 UTC |
d2e1098 | Lysandros Nikolaou | 07 February 2020, 23:36:32 UTC | bpo-39579: Fix Attribute end_col_offset to point at the current node (GH-18405) | 07 February 2020, 23:36:32 UTC |
dc7a50d | Victor Stinner | 07 February 2020, 22:42:51 UTC | bpo-39350: Fix fractions for int subclasses (GH-18375) Fix regression in fractions.Fraction if the numerator and/or the denominator is an int subclass. The math.gcd() function is now used to normalize the numerator and denominator. math.gcd() always return a int type. Previously, the GCD type depended on numerator and denominator. | 07 February 2020, 22:42:51 UTC |