Skip to content

DeprecationWarning: setDaemon() is deprecated #162

Description

@Justintime50

After running my test suite, I receive the following error stating that functionality in this lib is deprecated:

/Users/jhammond/git/personal/harvey/venv/lib/python3.10/site-packages/sqlitedict.py:381: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
    self.setDaemon(True)  # python2.5-compatible

It looks like based on the comment next to it it's there to retain Python 2.5 compatibility. As Python 3.10 and 3.11 become more prevalent, it may be needful to adjust this line to instead be forwards compatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions