On Tue, 23 Feb 2021 16:45:27 +0000 Rob Boehne <r...@datalogics.com> wrote: > On 2/22/21, 4:06 PM, "Antoine Pitrou" <anto...@python.org> wrote: > > On Mon, 22 Feb 2021 19:50:43 +0000 > Rob Boehne <r...@datalogics.com> wrote: > > > > The other thing that crept into this thread was the mention of test > that intermittently fail. > > That's a huge problem because it suggests that applications will > sometimes fail. > > I have usually seen these sort of issues because of > > 1) Uninitialized memory being used (read) > > 2) Threading problems > > 3) Resources used (files, networking, daemons) but unavailable > > 4) memory mis-management (buffer overrun that doesn't cause a crash) > > > > #3 is probably best fixed by testing for resources and skipping when > unavailable > > 5) Poor quality POSIX support in the target platform. The Python test > suite is actually quite demanding in this regard (except on Windows). > > Regards > > Antoine. > > > > Antoine: > > I find this a bit of a surprise, can you give an example of poor POSIX > support leading to intermittent test failures?
Hmm, I don't have any precise examples off the top of my head (that was several years ago), but issues mixing pthreads, signals and/or fork come to mind. OpenBSD was quite bad at that especially. Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/4TOL7P47UBAYOXOFM2C3RTWGTJFWMHYU/ Code of Conduct: http://python.org/psf/codeofconduct/