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

Add basic support for PEP 702 (@deprecated). #17476

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    f04f4e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    973bf2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a88f4b4 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'mypypy/feature/support_deprecated' into…

    … feature/support_deprecated
    tyralla committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    91612c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. accept deprecated.args >= 1

    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    faa4911 View commit details
    Browse the repository at this point in the history
  2. ": " instead of " - "

    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    101e9b8 View commit details
    Browse the repository at this point in the history
  3. only consider warnings.deprecated and `typing_extensions.deprecated…

    …`, not unresolved `deprecated`
    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e3dfacb View commit details
    Browse the repository at this point in the history
  4. note instead of error

    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    cbf7574 View commit details
    Browse the repository at this point in the history
  5. remove walrusses

    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9a947a5 View commit details
    Browse the repository at this point in the history
  6. document the new option

    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    6d92318 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    afa0336 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7bfb534 View commit details
    Browse the repository at this point in the history
  9. fix a typo in error_code_list2.rst

    Co-authored-by: Ivan Levkivskyi <[email protected]>
    tyralla and ilevkivskyi committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    1042c65 View commit details
    Browse the repository at this point in the history
  10. additional note when PEP 702 is unsatisfied with the order of `@depre…

    …cated` and `@overload`
    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    978b1a2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b0ced07 View commit details
    Browse the repository at this point in the history
  12. Merge remote-tracking branch 'mypypy/feature/support_deprecated' into…

    … feature/support_deprecated
    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    a07fc64 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b527250 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f636024 View commit details
    Browse the repository at this point in the history
  15. Merge remote-tracking branch 'mypypy/feature/support_deprecated' into…

    … feature/support_deprecated
    tyralla committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    63a725e View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    966ac8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a7dfe0 View commit details
    Browse the repository at this point in the history
  3. refactor: merge check_deprecated_function and `check_deprecated_cla…

    …ss` into one method (`check_deprecated`)
    tyralla committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1a40953 View commit details
    Browse the repository at this point in the history
  4. refactor: convert get_deprecation_warning to `create_deprecation_wa…

    …rning` and document it
    tyralla committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    1372e66 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    286371f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f54dab View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Consider CallableType.deprecated in __hash__, __eq__, `serializ…

    …e`, and `deserialize`.
    tyralla committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8c0260e View commit details
    Browse the repository at this point in the history
  2. Add a few fine-grained tests (of which `testAddFunctionDeprecationInd…

    …irectImport1-only_when_nocache`) fails due to currently unknown reasons.
    tyralla committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    cf2dcaf View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/support_deprecated' of https://github.com/tyral…

    …la/mypy into feature/support_deprecated
    tyralla committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    6a93d6a View commit details
    Browse the repository at this point in the history