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

Clone a class? #139

Open
gaborcsardi opened this issue Feb 26, 2018 · 1 comment
Open

Clone a class? #139

gaborcsardi opened this issue Feb 26, 2018 · 1 comment
Labels
feature a feature request or enhancement

Comments

@gaborcsardi
Copy link
Member

This would be handy in the case when you want to emulate multiple inheritance, by just set()-ing methods on a class.

However, modifying an exported class might break other packages that use it, so it would be great if we could clone it.

@wch
Copy link
Member

wch commented Feb 26, 2018

That does sound like it could be useful. I'd be happy to look at a PR.

@hadley hadley added the feature a feature request or enhancement label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants