closes #11: use threading.current_thread() and name in Python versions post 2.6#13
Open
JnRouvignac wants to merge 1 commit intorobotframework:masterfrom
Open
closes #11: use threading.current_thread() and name in Python versions post 2.6#13JnRouvignac wants to merge 1 commit intorobotframework:masterfrom
JnRouvignac wants to merge 1 commit intorobotframework:masterfrom
Conversation
…Python versions post 2.6 Keep using the old names currentThread() and getName() for Python versions pre 2.6
Author
|
Hello @pekkaklarck, would you have any feedback on this PR? Sorry if I am a insistent on this, the output in our software is completely drowned into these messages. The terminal is almost entirely filled with repetitions of the following two lines (hundreds and hundreds of lines): Merging this PR and releasing this code would significantly improve our use case. |
Author
|
We have found a workaround with Python's warnings.filterwarnings() method. Adding the following line to your program stops these deprecation warnings: warnings.filterwarnings(action='ignore',
category=DeprecationWarning,
module='robotbackgroundlogger',
message='(currentThread|getName)\(\) is deprecated, use .*') |
Author
|
Hello @pekkaklarck, please have a look at this PR if you get a chance. Thank you very much! |
Author
|
Hello @pekkaklarck, I am coming back almost 3 years later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep using the old names currentThread() and getName() for Python versions pre 2.6