[issue32977] added acts_like decorator to dataclasses module

2018-03-01 Thread Eric V. Smith
Eric V. Smith added the comment: Since this has to wait until 3.8 and I'm swamped with 3.7, this is going to have to wait for me to look at it. Is there a reason it needs to be part of dataclasses itself? I'd suggest separating it out, putting it on PyPI, and getting some

[issue32977] added acts_like decorator to dataclasses module

2018-03-01 Thread Aaron Christianson
New submission from Aaron Christianson : I'm always writting these wrapper classes where I want to selectively want to expose the interface of some of the methods of certain attributes to co the containing object. This can mean I spend a lot of time implementing wrapper