Giter VIP home page Giter VIP logo

Comments (2)

thekix avatar thekix commented on June 2, 2024

Hi @bkircher

Your question is very interesting.

I was using the Debian version of imaplib2 [1]. This version is the upstream imaplib2.py3 version [2] with these patches applied:

  • Use SSLContext if available so we send SNI
  • Do not use TIMEOUT_MAX for Condition.wait()

These patches are in the "Pull request" for imaplib2.

Now I am using "my own version". Is like the Debian version, with the patch "Remove crash if debug is set and port is not set" (it is in Pull request" too). It only affects an specific problem with debug and tunneling, so is like the Debian version.

If you are using the Debian's version, is perfect. I am not sure about other distros, like Fedora, Slackware,...

Probably, in the future, these patches could be applied to the upstream. See [3].
I proposed migrate imaplib2 to Python 3 standard lib. See [4].

Regards,
kix

[1] Debian version: https://packages.debian.org/sid/python3-imaplib2
[2] Upstream version: https://github.com/imaplib2/imaplib2
[3] jazzband/imaplib2#7
[4] jazzband/imaplib2#12

from offlineimap3.

bkircher avatar bkircher commented on June 2, 2024

Hey hey @thekix Many thanks for the thorough answer.

[3] jazzband/imaplib2#7

Upstream is dead it seems. The picture on PyPI looks even more woeful: https://pypi.org/search/?q=imaplib2

FYI, imaplib2 is not packaged for Fedora. At least I couldn't find any.

I'll carry the discussion over to jazzband/imaplib2#7. Thanks again @thekix

from offlineimap3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.