summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fuzz struct.unpack and catch RecursionError in re.compile (GH-18679)Ammar Askar2020-02-285-1/+76
|
* closes bpo-39721: Fix constness of members of tok_state struct. (GH-18600)Andy Lester2020-02-283-27/+37
| | | | | | | | | | | | | | | | | | | | | The function PyTokenizer_FromUTF8 from Parser/tokenizer.c had a comment: /* XXX: constify members. */ This patch addresses that. In the tok_state struct: * end and start were non-const but could be made const * str and input were const but should have been non-const Changes to support this include: * decode_str() now returns a char * since it is allocated. * PyTokenizer_FromString() and PyTokenizer_FromUTF8() each creates a new char * for an allocate string instead of reusing the input const char *. * PyTokenizer_Get() and tok_get() now take const char ** arguments. * Various local vars are const or non-const accordingly. I was able to remove five casts that cast away constness.
* bpo-39704: Explicitly pass the path to codecov config (GH-18680)Ammar Askar2020-02-273-5/+5
|
* bpo-39609: set the thread_name_prefix for the default asyncio executor ↵Markus Mohrhard2020-02-272-1/+4
| | | | | (GH-18458) Just a small debugging improvement to identify the asyncio executor threads.
* bpo-39087: Optimize PyUnicode_AsUTF8AndSize() (GH-18327)Inada Naoki2020-02-273-43/+92
| | | Avoid using temporary bytes object.
* Suppress the hang (#18457)Andrew Svetlov2020-02-261-2/+9
|
* bpo-36144: Document PEP 584 (GH-18659)Brandt Bucher2020-02-262-0/+22
|
* bpo-39699: Don't silence make on Azure and Github CIs (GH-18583)Ammar Askar2020-02-265-6/+6
|
* bpo-34788: Add support for scoped IPv6 addresses (GH-13772)opavlyuk2020-02-267-37/+544
| | | Automerge-Triggered-By: @asvetlov
* bpo-39737: Remove code repitition in list_richcompare (GH-18638)sweeneyde2020-02-261-2/+1
| | | I may speed up list comparison on some platforms.
* Doc: int -> int or Py_ssize_t (GH-18663)Inada Naoki2020-02-261-11/+11
|
* Post 3.9.0a4Łukasz Langa2020-02-261-1/+1
|
* Merge tag 'v3.9.0a4'Łukasz Langa2020-02-2698-195/+967
|\ | | | | | | Python 3.9.0a4
| * Python 3.9.0a4v3.9.0a4Łukasz Langa2020-02-2598-195/+967
| |
* | 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