Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a decorator to mark a keyword argument as deprecated #9844

Closed
twisted-trac opened this issue Jun 2, 2020 · 5 comments
Closed

Provide a decorator to mark a keyword argument as deprecated #9844

twisted-trac opened this issue Jun 2, 2020 · 5 comments

Comments

@twisted-trac
Copy link

wiml's avatar @wiml reported
Trac ID trac#9844
Type enhancement
Created 2020-06-02 08:18:06Z
Branch https://github.com/twisted/twisted/tree/9844-wiml-deprecated-keyword

It's occasionally useful to deprecate just the use of a keyword argument (I want this for #9550).

Searchable metadata
trac-id__9844 9844
type__enhancement enhancement
reporter__wiml wiml
priority__normal normal
milestone__None None
branch__9844_wiml_deprecated_keyword 9844-wiml-deprecated-keyword
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1591085886111971 1591085886111971
changetime__1591250361689153 1591250361689153
version__None None
owner__wiml wiml

@twisted-trac
Copy link
Author

wiml's avatar @wiml set owner to @wiml
@wiml set status to assigned

@twisted-trac
Copy link
Author

wiml's avatar @wiml removed owner
@wiml set status to new

@twisted-trac
Copy link
Author

rodrigc's avatar @rodrigc set owner to @wiml

Approved: #1286 (review)

@twisted-trac
Copy link
Author

wiml's avatar @wiml set status to closed

In changeset 9d2f14a

#!CommitTicketReference repository="" revision="9d2f14ac605d550eb714556f13ea4b0461ee4406"
Merge 9844-wiml-deprecated-keyword: New decorator t.p.deprecate.deprecatedKeywordParameter()

Author: wiml
Reviewer: rodrigc
Fixes: ticket:9844

@twisted-trac
Copy link
Author

glyph's avatar @glyph commented

Yaaaay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant