/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
..
bash 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
debian 4665.6.1 16 years ago John Ferlito Add a debian init script for bzr --serve Diff
emacs 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
File bzr_access 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 7.6 KB Diff Download File
File bzr_ssh_path_limiter 3806.1.1 17 years ago Andrew Bennetts Add contrib/bzr_ssh_path_limiter. 550 bytes Diff Download File
convert_to_1.9.py 3823.3.2 17 years ago John Arbash Meinel Add a bit of help text when supplying --help. 5.1 KB Diff Download File
create_bzr_rollup.py 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
upload-bzr.dev 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File