/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: John Arbash Meinel
  • Date: 2011-04-20 14:27:19 UTC
  • Revision ID: john@arbash-meinel.com-20110420142719-advs1k5vztqzbrgv
Fix bug #767177. Be more agressive with file.close() calls.

Our test suite gets a number of thread leaks and failures because it happens to get async
SFTPFile.close() calls. (if an SFTPFile closes due to __del__ it is done as an async request,
while if you call SFTPFile.close() it is done as a synchronous request.)
We have a couple other cases, probably. Namely SFTPTransport.get() also does an async
prefetch of the content, so if you don't .read() you'll also leak threads that think they
are doing work that you want.

The biggest change here, though, is using a try/finally in a generator, which is not 
python2.4 compatible.
Filename Latest Rev Last Changed Committer Comment Size
..
advanced.txt 4871.7.3 15 years ago Neil Martinsen-Burrell change mention of merge --pull 7 KB Diff Download File
backup.txt 4871.5.4 15 years ago Neil Martinsen-Burrell completely rework the part about filesystem backup 8.8 KB Diff Download File
code-browsing.txt 5050.22.1 14 years ago John Arbash Meinel Lots of documentation updates. We had a lot of ht 5.1 KB Diff Download File
hooks-plugins.txt 5050.22.1 14 years ago John Arbash Meinel Lots of documentation updates. We had a lot of ht 11.3 KB Diff Download File
index-plain.txt 4871.1.1 15 years ago Neil Martinsen-Burrell Put in place a structure for the admin-guide 644 bytes Diff Download File
index.txt 4871.1.1 15 years ago Neil Martinsen-Burrell Put in place a structure for the admin-guide 496 bytes Diff Download File
integration.txt 4871.1.1 15 years ago Neil Martinsen-Burrell Put in place a structure for the admin-guide 224 bytes Diff Download File
introduction.txt 5278.1.5 15 years ago Martin Pool Correct more sloppy use of the term 'Linux' 2.5 KB Diff Download File
migration.txt 5050.22.1 14 years ago John Arbash Meinel Lots of documentation updates. We had a lot of ht 3.1 KB Diff Download File
other-setups.txt 5439.3.1 14 years ago John C Barstow Make it clearer that we support HTTPS 2.7 KB Diff Download File
security.txt 4871.8.3 15 years ago Neil Martinsen-Burrell address comments from reviews 5.5 KB Diff Download File
simple-setups.txt 5718.6.5 14 years ago Andrew Bennetts Minor English tweaks. 6.6 KB Diff Download File
upgrade.txt 5050.22.1 14 years ago John Arbash Meinel Lots of documentation updates. We had a lot of ht 3.9 KB Diff Download File