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

copy: deepcopy() references a non-existant variable #26

Open
dhylands opened this issue Feb 21, 2019 · 1 comment
Open

copy: deepcopy() references a non-existant variable #26

dhylands opened this issue Feb 21, 2019 · 1 comment

Comments

@dhylands
Copy link
Contributor

In copy.py:
https://github.com/pfalcon/micropython-lib/blob/01b5a1571d3c094074fb08727c792bfd63b1732e/copy/copy.py#L163
the deepcopy function references the variable dispatch_table which isn't initialized.

@pfalcon
Copy link
Owner

pfalcon commented Feb 23, 2019

Yeah, CPython's "copy" module turned out to be very bloated and tangled, it doesn't work fully. I'm sure that someone needing deepcopy() will propose a working solution. I for one, all these years never had a need for it (I avoid using it myself, knowing how inefficient and bloated it is, and apparently, many other folks think the same, as I didn't hit it in the code I ported.)

@pfalcon pfalcon changed the title deepcopy function references a non-existant variable copy: deepcopy() references a non-existant variable Jun 11, 2019
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

No branches or pull requests

2 participants