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

WIP: Instantiation w/ **keywords tests #1463

Closed
wants to merge 4 commits into from
Closed

WIP: Instantiation w/ **keywords tests #1463

wants to merge 4 commits into from

Conversation

mscuthbert
Copy link
Member

TEMPORARILY Restoring an old requirement for Music21Objects that require them to be instantiable without ().

I think that this is the wrong approach now that I'm working on it, and will probably close in favor of a __new__ based deepcopy rather than __init__ based.

Came up with an idea that should make deepcopying music21 objects MUCH faster, but

also set up FrozenDuration to have __deepcopy__ return self. as in copy._deepcopy_atomic
@mscuthbert mscuthbert marked this pull request as draft October 12, 2022 20:21
mscuthbert added a commit that referenced this pull request Oct 14, 2022
Merging this rather than #1463 but some good improvements there that need to be integrated.
@mscuthbert
Copy link
Member Author

Closing in favor of #1464

@mscuthbert mscuthbert closed this Oct 14, 2022
@mscuthbert mscuthbert deleted the deepcopy branch October 16, 2022 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant