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

exempt __repr__s __slots__ and other @attrs related changes from compatibility policy #9982

Closed
twisted-trac opened this issue Sep 28, 2020 · 2 comments

Comments

@twisted-trac
Copy link

graingert's avatar @graingert reported
Trac ID trac#9982
Type enhancement
Created 2020-09-28 11:29:48Z

I think it's generally assumed that __repr__s and monkey patching are not public interfaces to be depended upon, but now with @attrs.frozen on the horizon it's likely that objects new and old will be better with the new attrs defaults.

This PR nails down those compatibility assumptions, for the purposes of @functools.wraps, @property and @attrs.frozen

#1406

Searchable metadata
trac-id__9982 9982
type__enhancement enhancement
reporter__graingert graingert
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1601292588020378 1601292588020378
changetime__1603754210426000 1603754210426000
version__None None
owner__None None

@twisted-trac
Copy link
Author

graingert's avatar @graingert commented

#1406

@twisted-trac
Copy link
Author

graingert's avatar @graingert set status to closed

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