~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.4.txt

  • 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
.. These may require users to change the way they use Bazaar.
17
17
 
 
18
* We have finally broken compatibility with python 2.4. From bzr-2.4
 
19
  onward we only maintain python-2.5+ compatibility. Note that stable
 
20
  update releases will continue to be made on older versions.
 
21
  (John Arbash Meinel)
 
22
 
18
23
* Two command synonyms for ``bzr branch`` have been deprecated, to avoid
19
24
  confusion and to allow the names to later be reused.  The removed names
20
25
  are: ``get`` and ``clone``.   (Martin Pool, #506265)
83
88
  know about so far have been fixed, but there may be fallout for edge
84
89
  cases that we are missing. (John Arbash Meinel, #759091)
85
90
 
 
91
* ``SFTPTransport`` is more pro-active about closing file-handles. This
 
92
  reduces the chance of having threads fail from async requests while
 
93
  running the test suite. (John Arbash Meinel, #767177)
 
94
 
86
95
* Standalone bzr.exe installation on Windows: user can put additional python 
87
96
  libraries into ``site-packages`` subdirectory of the installation directory,
88
97
  this might be required for "installing" extra dependencies for some plugins.