gh-149609: Raise deprecation warnings for abc.{abstractclassmethod,abstractstaticmethod,abstractproperty}#149636
gh-149609: Raise deprecation warnings for abc.{abstractclassmethod,abstractstaticmethod,abstractproperty}#149636sobolevn wants to merge 7 commits into
abc.{abstractclassmethod,abstractstaticmethod,abstractproperty}#149636Conversation
…thod,abstractstaticmethod,abstractproperty}`
Documentation build overview
20 files changed ·
|
|
Any reason to rush removal after the min two years instead of the recommended five? |
|
Please also list in the relevant |
I think it's because they've been deprecated since 3.3. But as I said, IDEs still pick them up in the suggestion list but they would show them as deprecated sometimes (it's more an IDE issue here). I'm in favor of having a 5 years deprecation because those could be still used and I think we should let people know that they don't need this pattern anymore. |
I think that this is not a rush :) If others strongly believe that 5 years is a must, then I can make the change :( |
|
Searching the top 15k PyPI projects (from February) found 632 matching lines in 150 projects for GitHub finds 26.9k files. I also recommend opening issues for Ruff and pyupgrade to rewrite these deprecations (we should do this more often!). |
|
I opened a new issue for |
|
I will keep this open for some time to gain more potential comments :) |
abcdecorators #149609