ID 474183 - Deprecation warnings continue repeatedly when using the Python 'Warnings 'module

Follow

Problem summary
Deprecation warnings continue repeatedly when using the Python 'Warnings 'module.


Customer reported version
nuke.13.0v1


Customer reported platform
centos7


Steps to reproduce

1) In Nuke, open the Script Editor.

2) Run the following command: 

import warnings
warnings.simplefilter('always', DeprecationWarning)

3) Observe the output in the Script Editor.


Expected behavior
Minimal output should be present.


Actual behavior
The warnings continue repeatedly.


Workaround
There is no available workaround at this time.


Reproduced by Support in:
Nuke 13.0v1 - Windows 10, CentOS 7


Unable to reproduce bug in:
Nuke 12.2v6 - Windows 10, CentOS 7


Earliest version tested
Nuke 12.2v6 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why