[win32] Permission denied in fancy_rename

Martin Pool mbp at sourcefrog.net
Wed May 3 08:56:37 BST 2006


On 02/05/2006, at 11:41 PM, John Arbash Meinel wrote:
>
> Just so everyone realizes, that means that everything returned by
> Transport.get() needs to be closed.
>
> And probably the meme:
>
> TransportB.put(TransportA.get())
>
> cannot be used. Which is a shame.

In many cases we're just constructing StringIO objects to satisfy the  
interface, which suggests to me that it's not a good fit for many  
callers.

Possibly we should have

   transport_b.put_bytes('foo', transport_a.get_bytes('foo'))

-- 
Martin







More information about the bazaar mailing list