Skip to content
Permalink
master

Commits on Sep 19, 2020

  1. Add missing whatsnew entry for TestCase.assertNoLogs (GH-22317)

    mdickinson committed Sep 19, 2020
  2. bpo-41756: Introduce PyGen_Send C API (GH-22196)

    The new API allows to efficiently send values into native generators
    and coroutines avoiding use of StopIteration exceptions to signal 
    returns.
    
    ceval loop now uses this method instead of the old "private"
    _PyGen_Send C API. This translates to 1.6x increased performance
    of 'await' calls in micro-benchmarks.
    
    Aside from CPython core improvements, this new API will also allow 
    Cython to generate more efficient code, benefiting high-performance
    IO libraries like uvloop.
    vladima committed Sep 19, 2020
  3. Make fractional value accumulation consistent inside and outside the …

    …loop. (GH-22315)
    rhettinger committed Sep 19, 2020

Commits on Sep 18, 2020

  1. bpo-35293: Travis CI uses "make venv" for the doc (GH-22307)

    Doc/requirements.txt becomes the reference for packages and package
    versions needed to build the Python documentation.
    
    * Doc/Makefile now uses Doc/requirements.txt
    * .travis.yml now uses "make env" of Doc/Makefile
    vstinner committed Sep 18, 2020
  2. bpo-35293: Remove RemovedInSphinx40Warning (GH-22198)

    * bpo-35293: Remove RemovedInSphinx40Warning
    
    * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst
    
    Co-authored-by: Victor Stinner <[email protected]>
    
    * bpo-35293: Apply Victor's review
    
    Co-authored-by: Victor Stinner <[email protected]>
    corona10 and vstinner committed Sep 18, 2020
  3. bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)

    Use an unique identifier for the different grammars documented using
    the Sphinx productionlist markup.
    
    productionlist markups of the same grammar, like "expressions" or
    "compound statements", use the same identifier "python-grammar".
    vstinner committed Sep 18, 2020
  4. Remove duplicated words words (GH-22298)

    serhiy-storchaka committed Sep 18, 2020
  5. bpo-41808: Add What's New 3.9 entry missing from master (#22294)

    Entry was added by bpo-40939, #21012 and #21039.
    terryjreedy committed Sep 18, 2020

Commits on Sep 17, 2020

  1. bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998)

    * When the parameters argument is a list, correctly handle the case
      of changing it during iteration.
    * When the parameters argument is a custom sequence, no longer
      override an exception raised in ``__len__()``.
    serhiy-storchaka committed Sep 17, 2020

Commits on Sep 16, 2020

  1. Enum: make `Flag` and `IntFlag` members iterable (GH-22221)

    ethanfurman committed Sep 16, 2020
  2. _auto_called cleanup (GH-22285)

    ethanfurman committed Sep 16, 2020
  3. bpo-41746: Add type information to asdl_seq objects (GH-22223)

    * Add new capability to the PEG parser to type variable assignments. For instance:
    ```
           | a[asdl_stmt_seq*]=';'.small_stmt+ [';'] NEWLINE { a }
    ```
    
    * Add new sequence types from the asdl definition (automatically generated)
    * Make `asdl_seq` type a generic aliasing pointer type.
    * Create a new `asdl_generic_seq` for the generic case using `void*`.
    * The old `asdl_seq_GET`/`ast_seq_SET` macros now are typed.
    * New `asdl_seq_GET_UNTYPED`/`ast_seq_SET_UNTYPED` macros for dealing with generic sequences.
    * Changes all possible `asdl_seq` types to use specific versions everywhere.
    pablogsal committed Sep 16, 2020
  4. acknowledge Weipeng Hong's contributions (GH-22284)

    ethanfurman committed Sep 16, 2020
  5. bpo-39728: Enum: fix duplicate `ValueError` (GH-22277)

    fix default `_missing_` to return `None` instead of raising a `ValueError`
    Co-authored-by: Andrey Darascheka <[email protected]>
    ethanfurman committed Sep 16, 2020
  6. [doc] Minor improvements to is_typeddict (GH-22280)

    1. The check is on the type
    2. Add link to TypeDict
    andresdelfino committed Sep 16, 2020
  7. bpo-41517: do not allow Enums to be extended (#22271)

    fix bug that let Enums be extended via multiple inheritance
    ethanfurman committed Sep 16, 2020
  8. bpo-41792: Add is_typeddict function to typing.py (GH-22254)

    Closes issue41792.
    
    Also closes python/typing#751.
    pxeger committed Sep 16, 2020

Commits on Sep 15, 2020

  1. bpo-41789: honor object overrides in Enum classes (GH-22250)

    EnumMeta double-checks that `__repr__`, `__str__`, `__format__`, and `__reduce_ex__` are not the same as `object`'s, and replaces them if they are -- even if that replacement was intentionally done in the Enum being constructed.  This patch fixes that.
    
    Automerge-Triggered-By: @ethanfurman
    ethanfurman committed Sep 15, 2020
  2. Doc: Fix broken manpage link (GH-21937)

    sigprocmask is in section 2, not 3.
    tipabu committed Sep 15, 2020
  3. bpo-39587: Enum - use correct mixed-in data type (GH-22263)

    ethanfurman committed Sep 15, 2020
  4. bpo-41780: Fix __dir__ of types.GenericAlias (GH-22262)

    Automerge-Triggered-By: @gvanrossum
    isidentical committed Sep 15, 2020
  5. Fix all Python Cookbook links (#22205)

    andresdelfino committed Sep 15, 2020
  6. minor reformat of enum tests (GH-22259)

    Automerge-Triggered-By: @ethanfurman
    ethanfurman committed Sep 15, 2020
  7. Improve the description of difflib in the documentation (GH-22253)

    From "can produce difference information in various formats ..."
    to " can produce information about file differences in various formats ..."
    
    Automerge-Triggered-By: @Mariatta
    Mandeepahlawat committed Sep 15, 2020
  8. bpo-41631: _ast module uses again a global state (#21961)

    Partially revert commit ac46eb4:
    "bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)".
    
    Using a module state per module instance is causing subtle practical
    problems.
    
    For example, the Mercurial project replaces the __import__() function
    to implement lazy import, whereas Python expected that "import _ast"
    always return a fully initialized _ast module.
    
    Add _PyAST_Fini() to clear the state at exit.
    
    The _ast module has no state (set _astmodule.m_size to 0). Remove
    astmodule_traverse(), astmodule_clear() and astmodule_free()
    functions.
    vstinner committed Sep 15, 2020
  9. bpo-41776: Revise example of "continue" in the tutorial documentation (

    …GH-22234)
    
    Revise example of "continue" in the tutorial documentation
    neerajsamtani committed Sep 15, 2020
  10. bpo-41513: Remove broken tests that fail on Gentoo (GH-22249)

    rhettinger committed Sep 15, 2020

Commits on Sep 14, 2020

  1. bpo-40721: add note about enum member name case (GH-22231)

    * UPPER_CASE preferred as enum members are constants
    ethanfurman committed Sep 14, 2020
  2. bpo-41744: Package python.props with correct name in NuGet package (G…

    …H-22154)
    
    NuGet automatically includes .props file from the build directory in the
    target using the package, but only if the .props file has the correct
    name: it must be $(id).props
    
    Rename python.props correspondingly in all the nuspec variants. Also
    keep python.props as it were for backward compatibility.
    vslavik committed Sep 14, 2020
  3. bpo-41646: Mention path-like objects support in the docs for shutil.c…

    …opy() (GH-22208)
    ZackerySpytz committed Sep 14, 2020
  4. Fix a typo in locale Docs (#22233)

    abdnh committed Sep 14, 2020
    1
Older
You can’t perform that action at this time.