/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: John Arbash Meinel
  • Date: 2011-04-20 14:27:19 UTC
  • mto: This revision was merged to the branch mainline in revision 5837.
  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
bzr can optionally use compiled versions of some parts of the code
17
17
for increased speed. When installing bzr you need the ability to
18
 
build C extensions. Some Linux distributions package the necessary
 
18
build C extensions. Some GNU/Linux distributions package the necessary
19
19
headers separately from the main Python package. This package is
20
20
probably named something like python-dev or python-devel. FreeBSD,
21
 
Windows, source-based Linux distributions, and possibly other operating
 
21
Windows, source-based GNU/Linux distributions, and possibly other operating
22
22
systems, have the required files installed by default.
23
23
 
24
24
If you are installing bzr from a bzr branch rather than a release tarball,