twisted.python.deprecate.deprecated gets the name of methods wrong
Open
@cyli is already working on this.
Since Jun 27, 2022.
bug
core
new
priority-normal
- Dominant language
- Python
- Stars
- 6k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Description
| @glyph reported | |
|---|---|
| Trac ID | trac#4804 |
| Type | defect |
| Created | 2011-01-14 22:02:26Z |
| Branch | https://github.com/twisted/twisted/tree/deprecated-instance-methods-4804-2 |
If you deprecate a method x on a class Y in the module z, twisted.python.deprecate.deprecated thinks that the FQPN of the thing that it's decorating is z.x and reports it as such, not reporting the fairly interesting detail of the class Y.
It should get this right.
Attachments:
- deprecate-methods.patch (5214 bytes) - added by Julian on 2014-01-12 02:02:18Z -
Searchable metadata
trac-id__4804 4804
type__defect defect
reporter__glyph glyph
priority__normal normal
milestone__
branch__branches_deprecated_instance_methods_4804_2 branches/deprecated-instance-methods-4804-2
branch_author__cyli cyli
status__new new
resolution__
component__core core
keywords__
time__1295042546000000 1295042546000000
changetime__1417552788670215 1417552788670215
version__None None
owner__cyli cyli
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.