Skip to content

threading.Thread.setDaemon has been deprecated in favor of setting daemon attribute directly in Python 3.10 #86

Open
@tirkarthi

Description

@tirkarthi

Timer inherits from threading.Thread . Ref : python/cpython#25174

self._timer.setDaemon(True)

/root/checked_repos/python-elasticsearch-logger/cmreslogging/handlers.py:208: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
  self._timer.setDaemon(True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions