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

Deprecate __multicall__ #58

Merged
merged 5 commits into from
Jul 16, 2017
Merged

Commits on Jul 7, 2017

  1. Convert pluggy.py into a package module

    Tyler Goodlet committed Jul 7, 2017
    Configuration menu
    Copy the full SHA
    fb00c4e View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2017

  1. Deprecate __multicall__ support

    Add a new `pluggy.callers._MultiCall` implementation which removes
    support the implicit `__multicall__` special argument and drops the
    recursion required to handle hook wrappers. Rename the original
    implementation `_LegacyMultiCall` and load it only when the
    `__multicall__` argument is detected in a hookimpl function
    signature. Add a deprecation warning whenever the legacy fallback
    occurs.
    
    Resolves pytest-dev#23
    Tyler Goodlet committed Jul 9, 2017
    Configuration menu
    Copy the full SHA
    845c502 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2017

  1. Adjust tests to use legacy multicall when necessary

    Tyler Goodlet committed Jul 10, 2017
    Configuration menu
    Copy the full SHA
    09d7589 View commit details
    Browse the repository at this point in the history
  2. Parametrize over legacy versus new multicall types

    Tyler Goodlet committed Jul 10, 2017
    Configuration menu
    Copy the full SHA
    21fd6c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2017

  1. Remove _CallOutcome; embrace _Result

    `_CallOutcome` limits usage due the constructor calling a function
    input. Instead add a `classmethod` constructor `_Result.from_call()`
    which can be used to get the same behaviour and avoids duplicate types.
    Tyler Goodlet committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    88f1b73 View commit details
    Browse the repository at this point in the history