[New-bugs-announce] [issue29345] More lost updates with multiprocessing.Value and .Array

Just a Person report at bugs.python.org
Sun Jan 22 12:02:49 EST 2017

New submission from Just a Person:

Lately, I have been having trouble using the multiprocessing library's shared memory on Windows. Often, updating the .value property seems to fail for no reason. As shown in the attached video, changing ```if __name__ == '__main__':``` in the sample code from the documentation to  ```if True:``` causes the program to not work.

This issue does not arise under Linux as far as I can tell (testing the same code).

Any explanation/fix would be helpful.

components: Windows
files: 2017-01-22-1140-25.mp4
messages: 286015
nosy: Just a Person, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: More lost updates with multiprocessing.Value and .Array
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file46380/2017-01-22-1140-25.mp4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list