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

Ramdebug's get_samples and get_channels functions return the internal list object instead of a copy of it #115

Open
trinamic-olh opened this issue Nov 27, 2024 · 0 comments

Comments

@trinamic-olh
Copy link

When using the functions get_samples() or get_channels() the lists internal to the class are returned.
This can cause some problems if the externally assigned variable is modified in any way.

I think returning a copy of the internal lists instead of the lists themselves should prevent any related issues.

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

1 participant