[issue23656] shutil.copyfile (or built-in open) releases sqlite3's transaction lock

2015-03-16 Thread Hiroaki Miyajima
Hiroaki Miyajima added the comment: I've realized that this is a bug of specification of fcntl system call. I am sorry to bother this site. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23656

[issue23656] shutil.copyfile (or built-in open) releases sqlite3's transaction lock

2015-03-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - not a bug stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23656 ___

[issue23656] shutil.copyfile (or built-in open) releases sqlite3's transaction lock

2015-03-13 Thread Hiroaki Miyajima
New submission from Hiroaki Miyajima: When copying sqlite3's database file by shutil.copyfile while holding its transaction lock, its lock is released unexpectedly. Attached is a sample program showing this. Inside, process-1 and process-2 just do following steps respectively: (1) open a