Rev 4860: NEWS about getting rid of Transport.get() calls. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-close-file-handles

John Arbash Meinel john at arbash-meinel.com
Wed Dec 2 18:10:41 GMT 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0b4-close-file-handles

------------------------------------------------------------
revno: 4860
revision-id: john at arbash-meinel.com-20091202181032-zs4u6nu423qy0lw3
parent: john at arbash-meinel.com-20091202180602-70ja2y4kwb9y3tw7
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0b4-close-file-handles
timestamp: Wed 2009-12-02 12:10:32 -0600
message:
  NEWS about getting rid of Transport.get() calls.
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2009-12-02 07:56:16 +0000
+++ b/NEWS	2009-12-02 18:10:32 +0000
@@ -77,6 +77,13 @@
 Internals
 *********
 
+* Several code paths that were calling ``Transport.get().read()`` have
+  been changed to the equalivent ``Transport.get_bytes()``. The main
+  difference is that the latter will explicitly call ``file.close()``,
+  rather than expecting the garbage collector to handle it. This helps
+  with some race conditions on Windows during the test suite and sftp
+  tests. (John Arbash Meinel)
+
 Testing
 *******
 



More information about the bazaar-commits mailing list