Re: getmail with python 3 adpatations

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Matthias Andree <[email protected]> wrote:
> 
> Compatibility that comes at little effort, ok, but if it starts with
> writing dozens of lines of workarounds for an old system, not gonna
> happen, sorry.

I wouldn't write a lot of new compatibility code for old Python versions
today; there are some things in getmail that just don't work if you're on a
really old Python.  But the existing codebase is compatible back to Python
2.3.3, and there's not a lot of point doing work to remove that compatibility
for anything less than a full modern refactoring targeting Python 3.6 or 3.7.

> Moving towards Python >= 3.5 or better >= 3.7 (so it doesn't go out of
> support in less than half a year's time) would seem the reasonable approach.

I use 3.7 for everything I'm doing currently, and look forward to when 3.8 is
supported in the stacks we use so I can migrate to that version.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.