pynmea2 icon indicating copy to clipboard operation
pynmea2 copied to clipboard

Pickling and ProprietarySentence classes

Open JNevrly opened this issue 6 years ago • 0 comments

By accident I've found out that at least some instances of ProprietarySentences are picklable, but cannot be unpickled due to the way their constructor works (detected on Python 3.4.3 with Pickle Protocol 4 and SRF156 sentence).

Unfortunately I didn't have much opportunity to analyze further, but as the standard sentences are perfectly picklable, I think it could be considered as a bug.

JNevrly avatar Jun 25 '19 12:06 JNevrly