Skip to content
Permalink
master

Commits on Sep 18, 2020

  1. 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
  2. Remove duplicated words words (GH-22298)

    serhiy-storchaka committed Sep 18, 2020
  3. 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 <andrei.daraschenka@leverx.com>
    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
  5. bpo-41513: Add docs and tests for hypot() (GH-22238)

    rhettinger committed Sep 14, 2020
  6. bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)

    ned-deily committed Sep 14, 2020

Commits on Sep 13, 2020

  1. bpo-41778: Change a punctuation on documentation. (GH-22229)

    On this paragrapah the clarification about IIS7 seems there's not
    connection beacuase is in other sentence. Move the punctuation
    to connect both the last sentence with the information in the
    parenthesis.
    
    I think the NEWS is not necessary here.
    
    Automerge-Triggered-By: @ericvsmith
    eamanu committed Sep 13, 2020
  2. bpo-33239: Fix default value of 'buffering' parameter in docs of temp…

    …file.* functions (GH-21763)
    
    `None` doesn't work:
    
    ```python
    >>> import tempfile
    >>> tempfile.TemporaryFile(buffering=None)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/sergey/tmp/cpython-dev/Lib/tempfile.py", line 607, in TemporaryFile
        return _io.open(fd, mode, buffering=buffering,
    TypeError: 'NoneType' object cannot be interpreted as an integer
    ```
    
    Automerge-Triggered-By: @vsajip
    sir-sigurd committed Sep 13, 2020

Commits on Sep 12, 2020

  1. bpo-41672: Fix type mismatches in imaplib docs (GH-22207)

    norbertcyran committed Sep 12, 2020
  2. bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197)

    Fix a race condition in the call_soon_threadsafe() method of
    asyncio.ProactorEventLoop: do nothing if the self-pipe socket has
    been closed.
    vstinner committed Sep 12, 2020
Older
You can’t perform that action at this time.