Julian / Julian/regret

Deprecation messages for regretted parameters should indicate which parameter is the deprecated one in the call itself

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I.e., currently, what will be shown when parameters are passed positionally (unfortunate as that may be):

```
...: DeprecationWarning: The 'first_name' parameter is deprecated.
print(greeting("Joe", "Smith"))
```

whereas it would be helpful to visually indicate that the first parameter there is `first_name` at the call site.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by locating the code that emits the DeprecationWarning for regretted parameters and reproduce the positional call shown in the issue; done means the warning visually identifies first_name at the call site while preserving the deprecation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.