[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: Thanks for explanation. -- ___ Python tracker <http://bugs.python.org/issue25717> ___ ___ Python-bugs-list mailing list Unsub

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: My environment: Windows as host OS, VirtualBox VM, Linux as guest OS When temporary directory is a directory which mounted from the host OS, a "OSError: [Errno 26] Text file busy" exception is thrown. Test file: import tempfile with tempfile.Tem

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: Problem is still actual for Python 2.7 Can you provide the fix for 2.7 too? -- nosy: +Oleg Babintsev versions: +Python 2.7 -Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issue25