piskvorky / sqlitedict

Persistent dict, backed by sqlite3 and pickle, multithread-safe.
Apache License 2.0
1.16k stars 130 forks source link

Use of deprecated threading.Thread.setDaemon raises warning in python 3.10 #156

Closed biostu24 closed 2 years ago

biostu24 commented 2 years ago

Since python 3.10, setDaemon from threading.Thread has been deprecated (see this link). When using SqliteDict in python 3.10, a warning raised.

These code should be updated to prevent this warning.

piskvorky commented 2 years ago

@biostu24 thanks – can you open a PR?

biostu24 commented 2 years ago

@piskvorky I will do, I have a fix for this issue