summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2009-03-22 20:09:33 (GMT)
committerLars Gustäbel <lars@gustaebel.de>2009-03-22 20:09:33 (GMT)
commit2020a59563caeda95023307a4c830fe03c338990 (patch)
treedbd8152d0b445bbebd60a48eecaadf0fdc687a37 /Misc
parentb364bfe2f406a99a83fc5b1073726ecbaa63f50f (diff)
downloadcpython-2020a59563caeda95023307a4c830fe03c338990.zip
cpython-2020a59563caeda95023307a4c830fe03c338990.tar.gz
cpython-2020a59563caeda95023307a4c830fe03c338990.tar.bz2
Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
forever on incomplete input. That caused tarfile.open() to hang when used with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or partial bzip2 compressed data.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0b02dd9..17bc214 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -188,6 +188,11 @@ Core and Builtins
Library
-------
+- Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop
+ forever on incomplete input. That caused tarfile.open() to hang when used
+ with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or
+ partial bzip2 compressed data.
+
- Issue #5536: urllib.urlretrieve makes sure to close the file it's writing to
even if an exception occurs.