On Fri, 3 Nov 2023 at 16:02, Markus Armbruster wrote:
>
> Peter Maydell writes:
>
> > On Fri, 3 Nov 2023 at 03:08, John Snow wrote:
> >>
> >> On Wed, Oct 25, 2023 at 6:10 AM Markus Armbruster
> >> wrote:
> >> >
> >> > Pylint advises:
> >> >
> >> > docs/sphinx/qapidoc.py:518:12: W0707: Cons
Peter Maydell writes:
> On Fri, 3 Nov 2023 at 03:08, John Snow wrote:
>>
>> On Wed, Oct 25, 2023 at 6:10 AM Markus Armbruster wrote:
>> >
>> > Pylint advises:
>> >
>> > docs/sphinx/qapidoc.py:518:12: W0707: Consider explicitly re-raising
>> > using 'raise ExtensionError(str(err)) from err'
On Fri, 3 Nov 2023 at 03:08, John Snow wrote:
>
> On Wed, Oct 25, 2023 at 6:10 AM Markus Armbruster wrote:
> >
> > Pylint advises:
> >
> > docs/sphinx/qapidoc.py:518:12: W0707: Consider explicitly re-raising
> > using 'raise ExtensionError(str(err)) from err' (raise-missing-from)
> >
> > Fro
On Wed, Oct 25, 2023 at 6:10 AM Markus Armbruster wrote:
>
> Pylint advises:
>
> docs/sphinx/qapidoc.py:518:12: W0707: Consider explicitly re-raising
> using 'raise ExtensionError(str(err)) from err' (raise-missing-from)
>
> From its manual:
>
> Python's exception chaining shows the trace
Pylint advises:
docs/sphinx/qapidoc.py:518:12: W0707: Consider explicitly re-raising using
'raise ExtensionError(str(err)) from err' (raise-missing-from)
>From its manual:
Python's exception chaining shows the traceback of the current
exception, but also of the original exception.