[issue35624] Shelve sync issues while using Gevent

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35624] Shelve sync issues while using Gevent

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs already note a restriction: "the shelve module does not support concurrent read/write access to shelved objects". We should further document that sync() is not thread-safe. When sync() is running, the *writeback* attribute is set to False and o

[issue35624] Shelve sync issues while using Gevent

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security fixes. Please verify that there is a problem in 3.8 (or at least 3.7) Also demonstrate that issue is not with the 3rd party gevent module. Does gevent includes compiled non-python code? (I suspect it does, but don't know.) If so,

[issue35624] Shelve sync issues while using Gevent

2018-12-31 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi, thanks for opening a bug report. Can you provide a script that reproduce the issue? -- nosy: +remi.lapeyre ___ Python tracker ___ _

[issue35624] Shelve sync issues while using Gevent

2018-12-31 Thread Oded Engel
Change by Oded Engel : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue35624] Shelve sync issues while using Gevent

2018-12-31 Thread Oded Engel
New submission from Oded Engel : Shelve method, sync, does not work when using gevent threading. writeback was set to True, flag was set to 'c'. only way to get the dbb synced is by closing and reopening the db. -- components: Library (Lib) messages: 332807 nosy: Oded Engel priority: no