diff options
| author | Miro Hrončok <miro@hroncok.cz> | 2020-01-04 23:59:54 +0100 |
|---|---|---|
| committer | Miro Hrončok <miro@hroncok.cz> | 2020-01-04 23:59:54 +0100 |
| commit | 482f0833884fe490d50eb03a08eebfb19e9ed46d (patch) | |
| tree | ac2d3f04558192cdb1a0bd9d7f44b03eb6e4cf3d /setup.py | |
| parent | c0dd1f4fd9ce7d994aa97dabda964f921604725b (diff) | |
| download | python-decorator-git-482f0833884fe490d50eb03a08eebfb19e9ed46d.tar.gz | |
Python 3.9 compatibility
Thread.isAlive() is deprecated in 3.8 and removed in 3.9:
$ python3.8 -c 'import threading; t = threading.Thread(); t.isAlive()'
<string>:1: DeprecationWarning: isAlive() is deprecated, use is_alive() instead
$ python3.9 -c 'import threading; t = threading.Thread(); t.isAlive()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'Thread' object has no attribute 'isAlive'
Fixes https://github.com/micheles/decorator/issues/75
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
