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

PEP 702 (@deprecated): descriptors #18090

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

Conversation

tyralla
Copy link
Collaborator

@tyralla tyralla commented Nov 2, 2024

Relatively straightforward this time. Any special cases that need additional consideration?

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@hamdanal hamdanal added the topic-pep-702 PEP 702, @deprecated label Nov 2, 2024
(`--python-version 3.9` did not help)

This comment has been minimized.

…ck_call_expr_with_callee_type` accordingly.
@tyralla tyralla mentioned this pull request Nov 19, 2024
8 tasks
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

dd-trace-py (https://github.com/DataDog/dd-trace-py)
+ ddtrace/internal/flare/flare.py:70: note: overload def (level: builtins.str) -> Any of function logging.getLevelName is deprecated: The str -> int case is considered a mistake.  [deprecated]

pytest (https://github.com/pytest-dev/pytest)
+ src/_pytest/logging.py:518: note: overload def (level: builtins.str) -> Any of function logging.getLevelName is deprecated: The str -> int case is considered a mistake.  [deprecated]

mkosi (https://github.com/systemd/mkosi)
+ mkosi/log.py:101:34: note: overload def (level: builtins.str) -> Any of function logging.getLevelName is deprecated: The str -> int case is considered a mistake.  [deprecated]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-pep-702 PEP 702, @deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants