I just came back from Gnome(wayland). Can't reproduce it on my machine. So I'm waiting for futher details from question author.
You are talking about duplicated message about parent window but I think we should look at "Gdk-CRITICAL **: 09:37:37.717: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed" first. I think it's not because of Python3 at all. It seems like some "GDK on Wayland" problem.
I just came back from Gnome(wayland). Can't reproduce it on my machine. So I'm waiting for futher details from question author.
You are talking about duplicated message about parent window but I think we should look at "Gdk-CRITICAL **: 09:37:37.717: gdk_wayland_ window_ handle_ configure_ popup: assertion 'impl-> transient_ for' failed" first. I think it's not because of Python3 at all. It seems like some "GDK on Wayland" problem.