Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork to py3 with asyncio #23

Open
icgood opened this issue Aug 1, 2014 · 3 comments
Open

Fork to py3 with asyncio #23

icgood opened this issue Aug 1, 2014 · 3 comments

Comments

@icgood
Copy link
Member

icgood commented Aug 1, 2014

https://docs.python.org/3/library/asyncio.html

@icgood
Copy link
Member Author

icgood commented Nov 19, 2014

It seems unlikely that this will happen. Python2 is alive and well, and a significant rewrite of slimta would probably be in a new language entirely.

@brycedrennan
Copy link
Contributor

@icgood how you feeling about this 4 years later?

@icgood
Copy link
Member Author

icgood commented Sep 29, 2018

@brycedrennan actually, only in the recent release of Python 3.7 they've finally added a feature that un-blocks an asyncio rewrite: asyncio.loop.start_tls(). The ubiquitous STARTTLS command was essentially impossible to implement prior to 3.7.

Another question mark for me is the perceived difficulty of porting all the unit tests, which rely on the older and mostly deprecated mox3 library. However, many of the tests use mock sockets, which should transition nicely to something like this.

It's something I want to do, of course, but time is the limiting factor.

@icgood icgood reopened this Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants