[New-bugs-announce] [issue37005] bz2 module doesn't write end-of-stream marker

Dobatymo report at bugs.python.org
Tue May 21 23:36:08 EDT 2019


New submission from Dobatymo <the-real-hazzard at outlook.com>:

According to https://en.wikipedia.org/wiki/Bzip2 the reference implementation of bzip2 writes an end-of-stream marker (also called stream footer) with a magic number and a stream checksum to the file.

Python does not do so. The files can still be read by all bzip2 compatible software I tried. For completeness and better error detection however, writing this marker (optionally maybe) would be useful.

----------
messages: 343143
nosy: Dobatymo
priority: normal
severity: normal
status: open
title: bz2 module doesn't write end-of-stream marker
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37005>
_______________________________________


More information about the New-bugs-announce mailing list