Skip to content
Permalink
master

Commits on Sep 21, 2020

  1. bpo-40084: Enum - dir() includes member attributes (GH-19219)

    lem2clide committed Sep 21, 2020
  2. bpo-1635741: Convert an _lsprof method to argument clinic (GH-22240)

    koubaa committed Sep 21, 2020
  3. bpo-41819: Fix compiler warning in init_dump_ascii_wstr() (GH-22332)

    Fix the compiler warning:
    
    format specifies type `wint_t` (aka `int`) but the argument has type `unsigned int`
    SamuelMarks committed Sep 21, 2020
  4. bpo-41513: Add accuracy tests for math.hypot() (GH-22327)

    rhettinger committed Sep 21, 2020

Commits on Sep 20, 2020

  1. bpo-12178: Fix escaping of escapechar in csv.writer() (GH-13710)

    Co-authored-by: Itay Elbirt <anotahacou@gmail.com>
    berkerpeksag and Tapuzi committed Sep 20, 2020
  2. bpo-41815: SQLite: segfault if backup called on closed database (GH-2…

    …2322)
    
    # [bpo-41815](): SQLite: fix segfault if backup called on closed database
    
    Attempting to backup a closed database will trigger segfault:
    
    ```python
    import sqlite3
    target = sqlite3.connect(':memory:')
    source = sqlite3.connect(':memory:')
    source.close()
    source.backup(target)
    ```
    pdmccormick committed Sep 20, 2020

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 <vstinner@python.org>
    
    * bpo-35293: Apply Victor's review
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    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 <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
Older
You can’t perform that action at this time.