Deprecation messages for regretted parameters should indicate which parameter is the deprecated one in the call itself
Open
- 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
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