Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated functools.wraps and functools.update_wrapper to use ParamSpec… #6670

Merged
merged 23 commits into from
Feb 26, 2023

Commits on Dec 23, 2021

  1. Updated functools.wraps and functools.update_wrapper to use ParamSpec…

    … to preserve signatures of wrapped and wrapper functions.
    msfterictraut committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    317fe5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea7f5cf View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2021

  1. Based on PR feedback, eliminated second ParamSpec and switched to Pro…

    …tocol for _Wrapped and _Wrapper classes.
    msfterictraut committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    10900e2 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'wraps' of https://github.com/erictraut/typeshed into wraps

    # Conflicts:
    #	stdlib/functools.pyi
    msfterictraut committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    97af48a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0e7ea2 View commit details
    Browse the repository at this point in the history
  4. Trying another attempt to fix wraps. This time, the wrapped function …

    …uses the input signature of the wrapper but the return type of the wrapped.
    msfterictraut committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    3901a15 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'wraps' of https://github.com/erictraut/typeshed into wraps

    # Conflicts:
    #	stdlib/functools.pyi
    msfterictraut committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    c8374cf View commit details
    Browse the repository at this point in the history
  6. Fixed merge conflict

    msfterictraut committed Dec 25, 2021
    Configuration menu
    Copy the full SHA
    27ddc44 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dc71f76 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Configuration menu
    Copy the full SHA
    2a20846 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Configuration menu
    Copy the full SHA
    1d23078 View commit details
    Browse the repository at this point in the history
  2. put wraps back

    JelleZijlstra authored Jan 29, 2022
    Configuration menu
    Copy the full SHA
    2214a68 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Configuration menu
    Copy the full SHA
    743f911 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2022

  1. Configuration menu
    Copy the full SHA
    fad24de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aea60be View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Configuration menu
    Copy the full SHA
    88d705f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    1f7fcfc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    823c32d View commit details
    Browse the repository at this point in the history
  3. Fix flake8

    AlexWaygood authored Sep 13, 2022
    Configuration menu
    Copy the full SHA
    4d7dd16 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    2bab796 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88f4904 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    fb51f0d View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2023

  1. Configuration menu
    Copy the full SHA
    f2aa253 View commit details
    Browse the repository at this point in the history