Message appears on swipl-win launch terminal when Python call made by janus

I’m using: SWI-Prolog version 10.1.10-27-gb662174c4

test.pl:

:- use_module(library(janus)).

test :-
    py_call(list, _,  [py_object(true)]).

Run goal which calls py_call/3

101 ?- test.
% Interactive session; added `.` to Python `sys.path`
true.

In the terminal which started swipl-win I see an unexpected message. Is this a symptom of anything untoward?

mike@meepi01:~/odd_and_sods$ swipl-win test.pl
Thread 3 (con1): foreign predicate janus:py_call/3 did not clear exception:
	error(python_error(ModuleNotFoundError,<py_ModuleNotFoundError>(0xffff6c2f28c0)),_19836)

Is there a file list.py? To me, both versions give the module not found error. It is a bug that this is not a normal exception. Both versions seem to understand this is an interactive session.

Ok. The exception now surfaces as it should. There is also an extension to builtins that provide access to builtin functions and classes as Python objects. So, now we get

101 ?- py_call(builtins:list, L).
% Interactive session; added `.` to Python `sys.path`
L = <py_type>(0x7fafc9fc08a0).

Beautiful! Confirmed fix works for me.

Thanks Jan.