aio-libs / aiosmtpd

A reimplementation of the Python stdlib smtpd.py based on asyncio.
https://aiosmtpd.aio-libs.org
Apache License 2.0
313 stars 95 forks source link

Drop older asyncio workarounds for Python < 3.7 #334

Open pepoluan opened 1 year ago

pepoluan commented 1 year ago

Since we've dropped 3.6, and 3.7 has A LOT of asyncio improvements (here's a glance of some -- already a long list!), we might want to start replacing all 'workarounds' that catered to Python < 3.7 to things that are 'more elegant' (and definitely more up-to-date).

Not marking this for any particular version. But definitely making this a tech-debt.

pepoluan commented 1 year ago

When PR #359 gets merged, we will have completely removed any support for Python<3.7, and this issue can go forward.

Edit/update: That PR has been merged, there's no stopping us now from going 'modern' 😉