Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GrahamDumpleton/wrapt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.1
Choose a base ref
...
head repository: GrahamDumpleton/wrapt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.1.2
Choose a head ref
  • 16 commits
  • 7 files changed
  • 2 contributors

Commits on Feb 3, 2026

  1. Merge tag '2.1.1' into develop

    no message
    GrahamDumpleton committed Feb 3, 2026
    Configuration menu
    Copy the full SHA
    27c5248 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2026

  1. Raise ReferenceError when bound method instance is garbage collected

    WeakFunctionProxy.__call__ checks self._self_instance (a weakref.ref)
    for truthiness to detect expired references, but weakref.ref objects
    are always truthy even after the referent is garbage collected.
    
    When the instance dies but the function still lives (the usual case
    since functions live in the class dict), _self_instance() returns
    None, making the code fall into the unbound-function path. This calls
    the original function without 'self', producing a confusing TypeError
    instead of the expected ReferenceError.
    
    Add an explicit check: if _self_instance was set (bound method) but
    the dereferenced value is None, raise ReferenceError directly.
    bysiber committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    f2ed5a8 View commit details
    Browse the repository at this point in the history
  2. Add __annotations__ case to ObjectProxy.__delattr__

    ObjectProxy.__setattr__ has special handling for both __qualname__
    and __annotations__, forwarding them to both the proxy and the
    wrapped object. However, __delattr__ only handles __qualname__ and
    misses __annotations__, so deleting annotations on the proxy doesn't
    propagate to the wrapped object.
    
    This adds the missing __annotations__ branch to __delattr__ to match
    the behavior of __setattr__.
    bysiber committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    0f5e28f View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. Configuration menu
    Copy the full SHA
    e51cd3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ea0090 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d44747 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #312 from bysiber/fix/weakfunctionproxy-expired-in…

    …stance
    
    Raise ReferenceError when bound method instance is garbage collected
    GrahamDumpleton authored Mar 3, 2026
    Configuration menu
    Copy the full SHA
    2cda4e6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e53a71 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4fc2c23 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. Merge pull request #313 from bysiber/fix/delattr-annotations

    Fix ObjectProxy.__delattr__ missing __annotations__ special case
    GrahamDumpleton authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    6e6ed87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06c698f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b48debf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87baf75 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fbdbef4 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. Configuration menu
    Copy the full SHA
    26ab4fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1381ae8 View commit details
    Browse the repository at this point in the history
Loading