Skip to content

Conversation

@laenNoCode
Copy link

I recently tried using ShareableList (from the multiprocessing library) and encountered a shaky behaviour. This was due to me feeding a float instead of an it, leading to pseudo-random memory addresses.
To prevent others from having the same problem, I added type checking on reading to have a behaviour more similar to what list do (errors on non-int indicies).
I'm not sure it need a issue as the fix is really minor.
Have a good day

@laenNoCode laenNoCode requested a review from gpshead as a code owner January 27, 2025 10:38
@ghost
Copy link

ghost commented Jan 27, 2025

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Jan 27, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Jan 27, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@laenNoCode laenNoCode closed this Jan 29, 2025
@laenNoCode laenNoCode deleted the sanitize-shareablememory branch January 29, 2025 10:04
@laenNoCode
Copy link
Author

I was not able to reproduce the bug that lead to me doing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant