KotlinIsland / KotlinIsland/basedtyping

why doesn't `deprecated` have a `condition`/`when` flag?

Open
#130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

```py
@deprecated("asdf", when=sys.version_info >= (3, 12))
def f(): ...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point; first locate the existing Python `deprecated` implementation and any related tests. Clarify the intended behavior of the proposed `when` condition from the example, then verify that the conditional deprecation behavior is covered and the expected result is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.