title: Python, disable warnings filter
body: <p>How to disable the filtering of the warnings?</p>
  
  <p>I would like to output several times the same warning, but a filter in the library avoids to output more than once the same warning.</p>
  
  <pre><code>import warnings
  
  for i in range(2):
      warnings.warn("warning message")
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>C:\Users\me\my_script.py:4: UserWarning: warning message
    warnings.warn("warning message")
  </code></pre>
  
  <p>The documentation is here:
  <a href="https://docs.python.org/2/library/warnings.html" rel="nofollow noreferrer">https://docs.python.org/2/library/warnings.html</a></p>
  
  <p>Apparently I have to set <code>"always"</code> in the tuple at the entry of the filter, I don't know how to do so, and where to access this tuple.</p>