Your message dated Mon, 11 Oct 2021 20:21:59 +0200
with message-id <[email protected]>
and subject line Re: Bug#996084: vte2.91: wrong argument list in spawn_async 
documentation
has caused the Debian Bug report #996084,
regarding vte2.91: wrong argument list in spawn_async documentation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
996084: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: vte2.91
Version: 0.62.3-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

According to
https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.spawn_async
and
https://lazka.github.io/pgi-docs/#Vte-2.91/classes/Pty.html#Vte.Pty.spawn_async
the order of arguments includes:
..., spawn_flags, child_setup, timeout, ...

However, the code does not work when trying to use that argument order,
the result is: TypeError: Argument 9 does not allow None as a value

It would be great if the code and its documentation would match.

An example illustrating that there must be in fact two arguments
between the spawn_flags and the timeout can be found here:
https://stackoverflow.com/questions/55105447/virtual-python-shell-with-vte-pty-spawn-async

What is the correct list of arguments that the function takes?

--- End Message ---
--- Begin Message ---
> This seems like a bug in the documentation-generating tool.

Thank you Simon for the very fast response, clarifying that this is
auto-generated documentation. I've filed this here now:
https://github.com/pygobject/pgi-docgen/issues/207

Closing as there is nothing to do on the Debian side.

--- End Message ---

Reply via email to