As noted by @00rebe, if one seeks on purpose to a bad spot in the file and then tries reading, one gets
AttributeError: 'Mark5BStreamReader' object has no attribute '_frame'
This is because the bad frame machinery uses a previously existing frame as a template for the invalid frame that it wants to return.
Could be fixed by starting with an empty invalid frame.
As noted by @00rebe, if one seeks on purpose to a bad spot in the file and then tries reading, one gets
This is because the bad frame machinery uses a previously existing frame as a template for the invalid frame that it wants to return.
Could be fixed by starting with an empty invalid frame.