This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CAM-Gerlach
Recipients CAM-Gerlach, andrewsg, christian.heimes, dontbugme, eivindt, georg.brandl, marcadam, sphickson
Date 2021-12-20.22:14:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640038451.92.0.89405541919.issue5993@roundup.psfhosted.org>
In-reply-to
Content
I can verify that this still occurs on Linux under an up to date Python 3.9 env (unknown browser; I can inquire), while on my Windows machine running an essentially identical Python 3.9 env, I don't get the warning. The practical problem arises when we are using `-X dev`/`-W error` and/or strict `filterwarnings` with Pytest, and the user passes a custom `--open-browser` flag to our test suite to open the resulting output in their web browser to inspect it for themselves. See [spyder-ide/docrepr#33](https://github.com/spyder-ide/docrepr/pull/33#discussion_r772164817) for details. I'm concerned this is going to be difficult to work around without doing over-broad silencing of warnings on the Pytest, because the warning is raised when the object is GC'ed, which may happen at a non-deterministic time or even after or even Python invocation level, and I can't reproduce it on my machine to test it.
History
Date User Action Args
2021-12-20 22:14:11CAM-Gerlachsetrecipients: + CAM-Gerlach, georg.brandl, christian.heimes, dontbugme, eivindt, andrewsg, marcadam, sphickson
2021-12-20 22:14:11CAM-Gerlachsetmessageid: <1640038451.92.0.89405541919.issue5993@roundup.psfhosted.org>
2021-12-20 22:14:11CAM-Gerlachlinkissue5993 messages
2021-12-20 22:14:11CAM-Gerlachcreate