/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
..
_static 4634.39.18 15 years ago Ian Clatworthy build the English user docs just like the other la Diff
_templates 4634.39.18 15 years ago Ian Clatworthy build the English user docs just like the other la Diff
admin-guide 3183.3.2 17 years ago Matthew Revell Added an admin-guide directory to doc/en and outli Diff
mini-tutorial 2691.1.11 17 years ago Ian Clatworthy Added mini tutorial Diff
quick-reference 2691.1.12 17 years ago Ian Clatworthy Added Quick Start Summary Diff
release-notes 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
tutorials 2977.1.13 17 years ago Ian Clatworthy more cleanups and creation of tutorials directory Diff
upgrade-guide 4501.3.1 16 years ago Ian Clatworthy first draft of a 2.0 Upgrade Guide Diff
user-guide 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
user-reference 2691.1.1 17 years ago Ian Clatworthy move most existing topics into the User Guide dir Diff
whats-new 4797.22.1 15 years ago Ian Clatworthy What's New in 2.1 - a summary of changes since 2.0 Diff
conf.py 5462.5.8 14 years ago Andrew Bennetts Tweaks to the sphinx build. 3.7 KB Diff Download File
index.txt 5639.1.2 14 years ago Andrew Bennetts Update doc index links to What's New in 2.4 (rathe 470 bytes Diff Download File
make.bat 4634.39.18 15 years ago Ian Clatworthy build the English user docs just like the other la 2.8 KB Diff Download File
Makefile 5193.6.22 15 years ago Vincent Ladeuil Merge cleanup into texinfo 3.8 KB Diff Download File