Bug#1004312: diffoscope: can't diff non-existent file with .pyc: struct.error: unpack requires a buffer of 4 bytes

2022-01-24 Thread Chris Lamb
tags 1004312 + pending thanks Fixed in Git, pending upload... likely Friday. :) https://salsa.debian.org/reproducible-builds/diffoscope/commit/9ebba4b2e333d8bffe0932cefb353ed54c0bfd36 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk

Bug#1004312: diffoscope: can't diff non-existent file with .pyc: struct.error: unpack requires a buffer of 4 bytes

2022-01-24 Thread Jakub Wilk
Package: diffoscope Version: 201 I wanted to use diffoscope to see what's inside a .pyc file, but that didn't work: $ echo '6 * 7' > test.py $ python3 -m compileall -b test.py Compiling 'test.py'... $ diffoscope --new-file /nonexistent test.pyc Traceback (most recent call