The Wayback Machine - https://web.archive.org/web/20220409135528/https://github.com/python/typeshed/commits/master
Skip to content
Permalink
master

Commits on Apr 8, 2022

  1. pytype_test: Don't mix up stdlib and stub packages starting with stdl…

    …ib. (#7609)
    
    This should fix the pytype_test failure in
    #7608.
    rchen152 committed Apr 8, 2022

Commits on Apr 6, 2022

  1. Update pyVmomi stubs (#7599)

    * Add generic base class `DynamicData`
    * Add missing `key` prop to `OptionValue` 
    * Fix `MethodFault` not inheriting from `Exception`
    * Fix `RetrieveOptions` default `maxObjects` type and default
    HansAarneLiblik committed Apr 6, 2022

Commits on Apr 4, 2022

Commits on Apr 3, 2022

  1. Upgrade black version (#7582)

    AlexWaygood committed Apr 3, 2022
  2. Add types.FunctionType.__module__ (#7581)

    This exists on builtins.function but not here.
    JelleZijlstra committed Apr 3, 2022

Commits on Apr 1, 2022

  1. Catch more potential type errors in builtins.sum (#7578)

    Use a ` TypeVar` bound to a `Protocol` defining `__add__`
    jpy-git committed Apr 1, 2022
  2. Improve imp._FileLike.__exit__ (#7577)

    The signature of this method currently doesn't work quite as intended: see PyCQA/flake8-pyi#199 (comment)
    
    Classes will [still be accepted](https://mypy-play.net/?mypy=latest&python=3.10&gist=77efe095d01edeb1a4614166f0c9cf68) as conforming to this protocol if they have more permissive signatures such as `def __exit__(self, *args: object) -> None: ...`
    AlexWaygood committed Apr 1, 2022
  3. Update SQLalchemy to 1.4.34 (#7573)

    Closes: #7572
    srittau committed Apr 1, 2022

Commits on Mar 31, 2022

  1. Exclude the Python-2 stdlib from flake8 CI check (#7569)

    We should hopefully be getting rid of this entire subdirectory soon anyway (#7367). This will make PRs to flake8-pyi a lot easier.
    AlexWaygood committed Mar 31, 2022

Commits on Mar 30, 2022

  1. logging/handlers.pyi: atTime is datetime.time (#7566)

    It is marked as having type `datetime.datetime` but `atTime`
    refers to a time of day; only the fields on `datetime.time`
    are used. The [docs](https://docs.python.org/3/library/logging.handlers.html#timedrotatingfilehandler)
    clearly state that it is a `time`.
    stroxler committed Mar 30, 2022
  2. Fix source comment typo (#7567)

    Found downstream in mypy
    luzpaz committed Mar 30, 2022

Commits on Mar 28, 2022

  1. locale: getlocale may return None's (#7562)

    According to the docs at https://docs.python.org/3/library/locale.html#locale.getlocale, this function may return None for either of the two items in the return sequence, which is missed in the current form.
    
    Also adjust `locale.setlocale()`, which can accept a tuple of `(None, None)` for the second argument.
    henryiii committed Mar 28, 2022
  2. mypy_test: Add two more config options (#7560)

    `--enable-error-code ignore-without-code` means that mypy will ignore any type: ignore comments that don't have mypy error codes. It doesn't appear to have any effect on type: ignore comments that mypy_test doesn't use (e.g. because they're pyright- or stubtest-specific).
    
    `--strict-equality` means that mypy will raise errors if we do something silly like `if sys.version_info == "linux"`. flake8-pyi should also check this for us, but I don't see any reason not to have mypy check this as well.
    AlexWaygood committed Mar 28, 2022

Commits on Mar 27, 2022

Older