|
From: | edgar . soldin |
Subject: | Re: [Duplicity-talk] gpg key password asked for backup after verify |
Date: | Mon, 29 May 2017 14:27:07 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 29.05.2017 13:26, Kenneth Loafman wrote: > 1) This was from the README for 0.7.05: > > * Fix bug #1494228 CygWin: TypeError: basis_file must be a (true) file > > - The problem that caused the change to tempfile.TemporaryFile was > due > > to the fact that os.tmpfile always creates its file in the system > > temp directory, not in the directory specified. The fix applied > was > > to use os.tmpfile in cygwin/windows and tempfile.TemporaryFile in > all > > the rest. This means that cygwin is now broken with respect to > temp > > file placement of this one file (deleted automatically on close). wrt. os.tmpfile() .. afaics. does https://hg.python.org/cpython/file/2.7/Lib/tempfile.py#l484 use the os module ( os.open, os.fdopen ) all around to create temp files. aren't these supposed to return a (true) file? the docs say nothing in this regard. https://docs.python.org/2/library/os.html#file-object-creation ..ede
[Prev in Thread] | Current Thread | [Next in Thread] |