Sitelet https://web.archive.org/web/20220418163309/https://github.com/python/typeshed/commits/master
Skip to content
Permalink
master

Commits on Apr 16, 2022

  1. Add wsgiref.types (Python 3.11+) (#7644)

    _typeshed.wsgi: Import from wsgiref.types in Python 3.11+
    
    Make types match wsgiref.types
    srittau committed Apr 16, 2022
  2. Improve sqlite3 types (#7641)

    Read through the code in CPython and made the types more precise
    where possible.
    
    Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
    JelleZijlstra and srittau committed Apr 16, 2022
  3. Move code from decimal.pyi to _decimal.pyi (#7640)

    * Move code from `decimal.pyi` to `_decimal.pyi`
    
    The stub previously did `from decimal import *` in `_decimal.pyi`, but the opposite happens at runtime.
    AlexWaygood committed Apr 16, 2022
  4. sqlite3: add 3.11 additions (#7625)

    - Blob from python/cpython#30680 (and anticipating that python/cpython#91550 will be merged)
    - Aggregate window functions from python/cpython#20903
    - Serialize/deserialize from python/cpython#26728
    - Limit setting from python/cpython#28463
    JelleZijlstra committed Apr 16, 2022
  5. Update gettext translations (#7636)

    * Use a protocol instead of `IO` for `fp` argument.
    * Annotate a few missing return types.
    * Mark some class constants as final.
    
    Fixes #7628
    srittau committed Apr 16, 2022
  6. builtins: Audit bytes arguments (#7631)

    Most use the C buffer protocol, so _typeshed.ReadableBuffer is the right type. A few
    check specifically for bytes and bytearray.
    JelleZijlstra committed Apr 16, 2022

Commits on Apr 15, 2022

  1. Add typing_extensions.assert_type (#7627)

    Hasn't been released yet but I'd like it to be in the next mypy release.
    JelleZijlstra committed Apr 15, 2022

Commits on Apr 14, 2022

  1. Update linecache.pyi (#7623)

    The `mtime` in linecache entries can be set to `None` for files loaded via a `__loader__` (cf: https://github.com/python/cpython/blob/3.10/Lib/linecache.py#L70)
    till-varoquaux committed Apr 14, 2022
  2. Unpin Python micro versions (#7621)

    Fixes #7620
    hauntsaninja committed Apr 14, 2022
Older