]> granicus.if.org Git - python/commit
Miscellaneous cleanups to bz2 and test_bz2 following issue #1625.
authorNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 29 May 2011 23:12:24 +0000 (01:12 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 29 May 2011 23:12:24 +0000 (01:12 +0200)
commit98838bac9c1ac67a910e19812e4c9f6e77ef2378
tree6de2a7cbfcee95b06cbb629ecce7ae24dce50056
parent65bf417fe1e061169c93fd5030611410ad9d0e0e
Miscellaneous cleanups to bz2 and test_bz2 following issue #1625.

* In bz2.decompress(), concatenate partial results in a way that should
   be more friendly to other Python implementations
* Remove redundant comments in test_bz2
* Use 'while True:' instead of 'while 1:'
Lib/bz2.py
Lib/test/test_bz2.py