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

Migration of imaplib2 to stdlib #12

Open
thekix opened this issue Dec 30, 2020 · 3 comments
Open

Migration of imaplib2 to stdlib #12

thekix opened this issue Dec 30, 2020 · 3 comments

Comments

@thekix
Copy link
Contributor

thekix commented Dec 30, 2020

Hi,

I was thinking about the idea of moving imaplib2 to the Python 3 standard libs. That idea was done by Maxim Khitrov here [1] but had some problems here [2]. I would like to propose it again.

I all of us agree it, we can start to update the impalib2 code to make the imaplib and imaplib2 interface compatible (for backward compatibility). We need check the imaplib patches that can apply in imaplib2,.... Perhaps we can send some patches to the imaplib standard lib.

What do you think?

Happy new year!
Best regards,
kix

[1] https://python-ideas.python.narkive.com/dgZhBV1Y/new-imaplib-implementation-for-python-3-2-standard-library
[2] https://python-ideas.python.narkive.com/dgZhBV1Y/new-imaplib-implementation-for-python-3-2-standard-library#post18

@chris001
Copy link

chris001 commented Jan 8, 2021

@thekix
Nota Bene! The Maxim Khitrov project "imaplib2" is different from our "imaplib2" by Piers!

@thekix
Copy link
Contributor Author

thekix commented Jan 8, 2021

@chris001 thanks a lot,

That is new for me. We should think about this if we decide migrate. Also, we should check how many applications are using the stdlib-imaplib, piers-imaplib2 and mxk-imaplib2 [1]

Regards,
kix

[1] https://github.com/mxk/py-imaplib2

@chris001
Copy link

chris001 commented Jan 9, 2021

Ideally, we should implement a new "imaplib2 interface" layer, which lets us use all 3 IMAP4 libraries! User can select his preferred library! Default would be piers-imaplib2! But at the higher level, they should all ultimately accomplish the same tasks and achieve the exact same result, on the 1IMAP41 server! Which would be verified by means of tests which run in Travis-CI against the top 10 most popular IMAP4 servers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants