Conversation
Signed-off-by: Paul Horton <phorton@sonatype.com>
Signed-off-by: Paul Horton <phorton@sonatype.com>
|
@madpah could you change the if you want to forward the original exception (which is usually the case p there is no real reason to not do it) then just add it. < except StopIteration as err:
< raise JSONDecodeError("Expecting value", s, err.value) from None
> except StopIteration as err:
> raise JSONDecodeError("Expecting value", s, err.value) from errif you want to omitt the original error, then this example would work < except StopIteration as err:
< raise JSONDecodeError("Expecting value", s, err.value) from None
> except StopIteration as err:
> raise JSONDecodeError("Expecting value", s, err.value) |
jkowalleck
left a comment
There was a problem hiding this comment.
fix invalid py syintax as described here: #64 (comment)
|
These errors are not from this libraries code I don't think @jkowalleck - I think they are from the JSON library itself?? |
|
We are suffering from python-poetry/poetry#4210 it seems - issues with Poetry and Python 3.10. Will attempt the stated workaround. |
…thon 3.10 (see: python-poetry/poetry#4210) Signed-off-by: Paul Horton <phorton@sonatype.com>
As per #60.