html.py doesn't specify pickle protocol version · Issue #287 · nedbat/coveragepy (original) (raw)

Originally reported by Anonymous


html.py contains

#!python

pickle.dump(status, fout)

which outputs version 3 data under python3, which then cannot be read under python2.x

Should be:

#!python

pickle.dump(status, fout, 2)