summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38403: Update nuspec file for deprecated field and git repository (GH-18657)Steve Dower2020-02-254-0/+9
|
* bpo-36144: Dictionary Union (PEP 584) (#12088)Brandt Bucher2020-02-254-18/+107
|
* bpo-30566: Fix IndexError when using punycode codec (GH-18632)Berker Peksag2020-02-253-1/+15
| | | | Trying to decode an invalid string with the punycode codec shoud raise UnicodeError.
* bpo-39128: Added algorithm description (GH-18624)idomic2020-02-241-0/+11
| | | | | | | | | | # [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
* Add note to Mac installer ReadMe about macOS 10.15 Gatekeeper changes. ↵Ned Deily2020-02-241-2/+8
| | | | (GH-18648)
* Give proper credit for figuring out and writing PEP-3118 tests. (#18644)Stefan Krah2020-02-241-0/+2
|
* Give proper credits for the memoryview implementation. (#18626)Stefan Krah2020-02-241-1/+11
|
* closes bpo-39736: const strings in Modules/_datetimemodule.c and ↵Andy Lester2020-02-242-4/+4
| | | | Modules/_testbuffer.c (GH-18637)
* bpo-39649: Remove obsolete check for `__args__` in ↵Daniel Hahler2020-02-242-8/+2
| | | | | | | | bdb.Bdb.format_stack_entry (GH-18531) Appears to be obsolete since 75bb54c3d8. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39654: Update pyclbr doc to reflect additional information returned ↵Hakan Çelik2020-02-242-3/+8
| | | | | | | | | (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>
* bpo-39681: Fix C pickle regression with minimal file-like objects (#18592)Antoine Pitrou2020-02-233-9/+59
| | | | Fix a regression where the C pickle module wouldn't allow unpickling from a file-like object that doesn't expose a readinto() method.
* bpo-39576: Clarify the word size for the 32-bit build. (#18616)Stefan Krah2020-02-231-2/+2
|
* bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. ↵Serhiy Storchaka2020-02-236-175/+171
| | | | | | | | | | | | | | | | (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>
* bpo-17422: Language reference should specify restrictions on class namespace ↵ananthan-1232020-02-222-2/+5
| | | | | (#18559) The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman.
* bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530)Yonatan Goldschmidt2020-02-224-3/+34
| | | | | Hold reference of __bases__ tuple until tuple item is done with, because by dropping the reference the item may be destroyed.
* bpo-39576: docs: set context for decimal arbitrary precision arithmetic (#18594)Stefan Krah2020-02-211-8/+58
|
* bpo-35950: Raise UnsupportedOperation in BufferedReader.truncate() (GH-18586)Berker Peksag2020-02-214-5/+25
| | | | | | | | | | | | | | | 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
* fix(doc): set correct RST syntax for c:function (GH-18589)Julien Danjou2020-02-211-2/+2
| | | The current content is not rendered since the syntax is not correct.
* bpo-35727: Use exit code 0 on sys.exit() in multiprocessing.Process. (GH-11538)Christopher Hunt2020-02-214-11/+22
|
* Reuse identifier of PREDICT macros as PREDICT_ID (GH-17155)Denis Chernikov2020-02-211-5/+7
| | | | 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.
* bpo-9495: avoid confusing chained exception in argparse test (GH-17120)alclarks2020-02-212-1/+3
|
* bpo-38657: Clarify numeric padding behaviour in string formatting (GH-17036)Pete Wicken2020-02-211-2/+3
| | | | | | | | | | | 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
* closes bpo-39684: Combine two if/thens and squash uninit var warning. (GH-18565)Andy Lester2020-02-211-8/+3
|
* bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581)Stefan Krah2020-02-213-6/+245
|
* bpo-39184: Fix incorrect return value (GH-18580)Steve Dower2020-02-201-1/+1
| | | | | | | https://bugs.python.org/issue39184 Automerge-Triggered-By: @zooba
* Use the new recommended number of repetitions in the refleak tests. (#18569)Stefan Krah2020-02-201-1/+1
|
* Update runall.bat to the latest Windows build system. (#18571)Stefan Krah2020-02-201-41/+59
|
* Valgrind no longer supports --db-attach=yes. (#18568)Stefan Krah2020-02-201-1/+1
|
* bpo-39479:Add math.lcm() function: Least Common Multiple (#18547)ananthan-1232020-02-197-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags ↵Victor Stinner2020-02-195-2658/+2647
| | | | | passed (#18314)" (GH-18553) This reverts commit d83b6600b25487e4ebffd7949d0f478de9538875.
* bpo-39572: Document ’total’ flag of TypedDict (GH-18554)ananthan-1232020-02-193-3/+29
|
* Include subsections in TOC for PDF version of docs. (GH-9629)Cheryl Sabella2020-02-182-0/+2
|
* bpo-39674: Revert "bpo-25988: Do not expose abstract collection classes in ↵Victor Stinner2020-02-184-6/+20
| | | | | | | | the collections module. (GH-10596)" (GH-18545) This reverts commit ef092fe9905f61ca27889092ca1248a11aa74498. Update collections __getattr__() and documentation to defer aliases removal to Python 3.10.
* bpo-37207: Use vectorcall for range() (GH-18464)Petr Viktorin2020-02-182-17/+35
| | | | | | | 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
* bpo-36347: stop using RESTRICTED constants (GH-12684)Jeroen Demeyer2020-02-183-10/+8
| | | | | | | | 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
* bpo-1635741: Port _bz2 extension module to multiphase initialization(PEP ↵Hai Shi2020-02-182-21/+36
| | | | | 489) (GH-18050) https://bugs.python.org/issue1635741
* bpo-39546: argparse: Honor allow_abbrev=False for specified prefix_chars ↵Kyle Meyer2020-02-184-28/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | (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
* bpo-39663: IDLE: Add additional tests for pyparse (GH-18536)Cheryl Sabella2020-02-183-2/+17
| | | | | | Test when find_good_parse_start should return 0. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-1635741: Port _abc extension to multiphase initialization (PEP 489) ↵Hai Shi2020-02-172-9/+19
| | | | (GH-18030)
* bpo-1635741: Port _contextvars module to multiphase initialization (PEP 489) ↵Hai Shi2020-02-172-26/+30
| | | | (GH-18374)
* bpo-39500: Fix compile warnings in unicodeobject.c (GH-18519)Hai Shi2020-02-171-2/+2
|
* bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521)Dong-hee Na2020-02-1733-56/+56
|
* bpo-36465: Update doc of init_config.rst (GH-18520)Hai Shi2020-02-171-1/+1
|
* bpo-1635741: Port _crypt extension module to multiphase initialization (PEP ↵Hai Shi2020-02-172-3/+7
| | | | 489) (GH-18404)
* bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed ↵idomic2020-02-175-2647/+2658
| | | | | | | | | | | | | | | | | | | | | (#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>
* bpo-32892: Update the documentation for handling constants in AST. (GH-18514)Serhiy Storchaka2020-02-172-3/+13
|
* bpo-37970: update and improve urlparse and urlsplit doc-strings (GH-16458)idomic2020-02-161-6/+35
|
* bpo-39104: Fix hanging ProcessPoolExecutor on shutdown nowait with pickling ↵Thomas Moreau2020-02-163-23/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* bpo-12915: Add pkgutil.resolve_name (GH-18310)Vinay Sajip2020-02-144-0/+169
|
* bpo-39573: Update clinic to use Py_IS_TYPE() function (GH-18507)Dong-hee Na2020-02-145-17/+15
|