Closed alengwenus closed 3 years ago
For what it's worth, I don't mind.
- All
asyncio
tasks could be tagged with the name parameter. Thereforepypck
does not need to keep references to dangling tasks asasyncio
does this for us.
Wouldn't I missed that set_name()
achieve the same in 3.7?set_name
is new in 3.8.
Resolved with #70.
Dropping support for Python 3.7 would allow for some architectural changes:
asyncio
tasks could be tagged with the name parameter. Thereforepypck
does not need to keep references to dangling tasks asasyncio
does this for us.AsyncMock
object. Therefore theasynctest
module could be removed which caused errors in Python 3.8 under certain circumstances.In addition HomeAssistant removed support for Python 3.7 in v0.118. At least a deprecation warning should be raised in the next release of
pypck
.