[win32] Permission denied in fancy_rename
Robert Collins
robertc at robertcollins.net
Thu May 4 01:21:29 BST 2006
On Wed, 2006-05-03 at 19:17 -0500, John Arbash Meinel wrote:
> Robert Collins wrote:
>
> ...
>
> >> By invoking its close method, if it's a file-like object. For other
> >> objects that can be used as iterators, it will vary.
> >>
> >> Or, to put it another way, finalizing iterators isn't a responsibility
> >> of get_bytes. It must be done in the calling code.
> >
> > Because of our problems with open files on windows, I think we must
> > define the interface of the return value of get_bytes *so that* the
> > calling code can fulfil that responsibility.
> >
> > Rob
> >
>
> Well, you can just make it part of the api that you must run the
> generator to completion, and then the file will close itself.
Dunno about you, but pulling multi mb files over wet spaghetti because
our interface doesn't allow closing when we have what we wanted would
really suck.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060504/42307cb3/attachment.pgp
More information about the bazaar
mailing list