Message357167
It seems there are a couple of places in `_pickle.c` where we favour a `KeyError` instead of `UnpicklingError` such as https://github.com/python/cpython/blob/master/Modules/_pickle.c#L6178. From a quick debugging it seems it originates in `load_long_binget`.
Ideally those places should return `UnpicklingError` instead, not sure why a `KeyError` was preferred. Happy to submit a patch if that's a change that makes sense. |
|
Date |
User |
Action |
Args |
2019-11-21 13:08:15 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, alexandre.vassalotti, BTaskaya, Linus Pithan |
2019-11-21 13:08:15 | Claudiu.Popa | set | messageid: <1574341695.04.0.506533374591.issue38876@roundup.psfhosted.org> |
2019-11-21 13:08:15 | Claudiu.Popa | link | issue38876 messages |
2019-11-21 13:08:14 | Claudiu.Popa | create | |
|