Oliver Sheridan-Methven
Oliver Sheridan-Methven
I just encountered a very similar issue and the root cause was that `stdout` was being buffered. Adding `setbuf(stdout, NULL);` disabled this, and thereafter I was able to get the...
I ran this on an old Intel Mac and got the same error, so perhaps this could be caught or checked for and reported to the user as a warning...
The following code: ```python import warnings def foo() -> None: """ Some function. Raises ------ ValueError Something went wrong. Warns ----- RuntimeWarning Something will go wrong. """ warnings.warn("Something", RuntimeWarning) raise...
This also has other knock on side effects, such as page reloading and file watching when using `mkdocs serve`: https://github.com/mkdocs/mkdocs/issues/4032