On 10 January 2018 at 23:03, Andrew Nelson <andyf...@gmail.com> wrote:
> Further to my last message, why is the warning only raised once?

Warnings are only raised once because that is the default behaviour
for warnings.  The warning is issued every time but only displayed on
the first occurence.

You can control this with the warnings module:

https://docs.python.org/3.6/library/warnings.html

Gerrit.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to