[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-07-06 Thread Steve Dower
Change by Steve Dower : -- components: -Windows nosy: -steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-07-06 Thread Ian Jacob Bertolacci
Ian Jacob Bertolacci added the comment: What's being done about this? I would say this is less "misleading documentation" and more "incorrect implementation" There is also not an obvious temporary work-around. -- nosy: +IanBertolacci ___ Python

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2019-08-07 Thread Josh Rosenberg
Josh Rosenberg added the comment: Reading the docs, I'd definitely expect multiprocessing.Manager().Value to obey the same interface as multiprocessing.Value. The SyncManager docs say: > Its methods create and return Proxy Objects for a number of commonly used > data types to be

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2019-08-07 Thread Dávid Nemeskey
Dávid Nemeskey added the comment: OK, actually: trying to create a multiprocessing.Value object and sharing it between a Pool of processes results in "RuntimeError: Synchronized objects should only be shared between processes through inheritance". So the only way seems to be through a

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2019-08-07 Thread Dávid Nemeskey
Dávid Nemeskey added the comment: Nothing in the documentation says that multiprocessing.Value and the object returned by manager.Value() is any different. Nor is it clear why they should be. It is perfectly understandable to expect that manager.Value() is actually of type

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2019-01-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You are not using multiprocessing.Value: >>> import multiprocessing >>> x = multiprocessing.Value("i", 0) >>> x.get_lock() -- nosy: +pablogsal ___ Python tracker

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2019-01-19 Thread Lorenzo Persichetti
New submission from Lorenzo Persichetti : According to the documentation of the multiprocessing.Value() class available here https://docs.python.org/3.6/library/multiprocessing.html#multiprocessing.Value Operations like += which involve a read and write are not atomic. So if, for instance,