Visitar URL original
Commits · python/typeshed · GitHub
The Wayback Machine - https://web.archive.org/web/20230508145144/https://github.com/python/typeshed/commits/main
Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 7, 2023

  1. update constructor args of the CFuncPtr to expand acceptable types (#…

    …10155)
    
    * allow the second element of `_PF` to be `None`
    
    * allow `__paramflags` to be `None`
    
    * allow `__iid` to be `None` or `_CData`
    
    * remove unused symbols
    junkmd committed May 7, 2023
  2. [stubsabot] Bump flake8-2020 to 1.8.* (#10153)

    Release: https://pypi.org/pypi/flake8-2020/1.8.0
    Homepage: https://github.com/asottile/flake8-2020
    Diff: asottile/flake8-2020@v1.7.0...v1.8.0
    
    Stubsabot analysis of the diff between the two releases:
     - 0 public Python files have been added.
     - 0 files included in typeshed's stubs have been deleted.
     - 1 file included in typeshed's stubs has been modified or renamed: `flake8_2020.py`.
     - Total lines of Python code added: 9.
     - Total lines of Python code deleted: 7.
    github-actions[bot] committed May 7, 2023
  3. fix _ctypes.CFuncPtr constructor args (#10154)

    * add a conditional branch for Windows only
    
    * fix argname spelling
    `vtlb_index` -> `vtbl_index`
    
    * add an overload
    for the case where no arguments are passed to the constructor
    
    * mark all of the arguments as positional-only
    junkmd committed May 7, 2023

Commits on May 4, 2023

  1. [stubsabot] Bump regex to 2023.5.5 (#10138)

    Release: https://pypi.org/pypi/regex/2023.5.5
    Homepage: https://github.com/mrabarnett/mrab-regex
    Diff: mrabarnett/mrab-regex@2023.5.4...2023.5.5
    
    Stubsabot analysis of the diff between the two releases:
     - Total lines of Python code added: 2.
     - Total lines of Python code deleted: 2.
    github-actions[bot] committed May 4, 2023

Commits on May 3, 2023

  1. [fpdf2] Update stubs for fpdf 2.7.4 (#10136)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    srittau and AlexWaygood committed May 3, 2023
  2. [docutils] Add items to docutils.node (#10102)

    * Add class paragraph
    * Add class TextElement
    * Add Element.index(), .remove(), and .insert()
    danieleades committed May 3, 2023
  3. [stubsabot] Bump regex to 2023.5.4 (#10131)

    Release: https://pypi.org/pypi/regex/2023.5.4
    Homepage: https://github.com/mrabarnett/mrab-regex
    Diff: mrabarnett/mrab-regex@2023.3.23...2023.5.4
    
    Stubsabot analysis of the diff between the two releases:
     - Total lines of Python code added: 8.
     - Total lines of Python code deleted: 3.
    github-actions[bot] committed May 3, 2023

Commits on May 2, 2023

  1. move some non-pointer-related definitions from ctypes/__init__.pyi …

    …to `_ctypes.pyi` (#10130)
    
    - `ArgumentError`
    - `addressof`
    - `alignment`
    - `get_errno`
    - `resize`
    - `set_errno`
    - `sizeof`
    junkmd committed May 2, 2023
  2. Move some Windows-specific things from ctypes/__init__.pyi to `_cty…

    …pes.pyi` (#10128)
    
     - `FormatError`
    - `get_last_error`
    - `set_last_error`
    junkmd committed May 2, 2023

Commits on Apr 29, 2023

  1. chardet: UniversalDetector.feed accepts bytearray (#10107)

    Technically it accepts any buffer, but the inline type annotations
    now say bytes | bytearray, so let's stick to that.
    
    Part of #9006
    JelleZijlstra committed Apr 29, 2023
Older