Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12017 > unrolled thread
| Started by | Osamu Aoki <osamu@debian.org> |
|---|---|
| First post | 2019-11-17 06:40 +0100 |
| Last post | 2019-11-19 15:00 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#936604: FYI: Python 3 migration of distributuion Osamu Aoki <osamu@debian.org> - 2019-11-17 06:40 +0100
Bug#936604: FYI: Python 3 migration of distributuion Osamu Aoki <osamu@debian.org> - 2019-11-19 14:50 +0100
Re: FYI: Python 3 migration of distributuion Michael Kesper <mkesper@schokokeks.org> - 2019-11-19 15:00 +0100
| From | Osamu Aoki <osamu@debian.org> |
|---|---|
| Date | 2019-11-17 06:40 +0100 |
| Subject | Bug#936604: FYI: Python 3 migration of distributuion |
| Message-ID | <z3lih-3nK-1@gated-at.bofh.it> |
Hi, On Wed, Nov 13, 2019 at 11:11:43AM -0600, Charles Cazabon wrote: > Osamu Aoki <osamu@debian.org> wrote: > > > > Currently, getmail is a candidate for removal from the upcoming Debian > > release if it is not updated to support python 3 by someone (not > > necessary by upstream). > > Thanks for the update, Osamu. I have actually been playing with a prototype > refactoring of getmail to not just support but require a recent Python 3.x > version. Such a project would give me the opportunity to remove a lot of > historical cruft and backwards-compatibility code that getmail has accumulated > over 20+ years. That's great. (I thought you rejected idea to move to 3.0.) I tried to do it around getmail 5.5 days. (I didn't finish it) > Unfortunately, it's difficult to find the hours to devote to this task. I > don't know when, or even if, I could have a beta release ready. > > > If you convert python 2 code for 2.7 style, then we can support both > > python 2 and 3. > > I'm not very interested in doing this, as it means not using a lot of 3.x > features, or not using them in the most Pythonic way. My thought was that > this project would target at least Python 3.7; anyone who didn't want to run > 3.7 could still run "legacy" getmail under Python 2.7. I understand. When I tried to convert this to Python3, the first thing I did was clean out all backward compatibility codes, too. It is too much work to keep them. Also if it is Python3 only, we don't need to add things like: from __future__ import division from future import standard_library If you have a public git repository, maybe some Debian developer may help you. If you want, I can set up one at salsa.debian.org (or github.com) where ever you are comfortable. At least, if we have a place to share work in progress, we don't duplicate efforts. Osamu
[toc] | [next] | [standalone]
| From | Osamu Aoki <osamu@debian.org> |
|---|---|
| Date | 2019-11-19 14:50 +0100 |
| Message-ID | <z4c3f-2m1-1@gated-at.bofh.it> |
| In reply to | #12017 |
On Sun, Nov 17, 2019 at 02:28:44PM +0900, Osamu Aoki wrote: > Hi, > > On Wed, Nov 13, 2019 at 11:11:43AM -0600, Charles Cazabon wrote: > > Osamu Aoki <osamu@debian.org> wrote: > > > > > > Currently, getmail is a candidate for removal from the upcoming Debian > > > release if it is not updated to support python 3 by someone (not > > > necessary by upstream). > > > > Thanks for the update, Osamu. I have actually been playing with a prototype > > refactoring of getmail to not just support but require a recent Python 3.x > > version. Such a project would give me the opportunity to remove a lot of > > historical cruft and backwards-compatibility code that getmail has accumulated > > over 20+ years. > > That's great. (I thought you rejected idea to move to 3.0.) > > I tried to do it around getmail 5.5 days. (I didn't finish it) FYI: I found this repo https://gitlab.com/dkg/getmail/commits/python3 I think this is better work than my local work. Osamu
[toc] | [prev] | [next] | [standalone]
| From | Michael Kesper <mkesper@schokokeks.org> |
|---|---|
| Date | 2019-11-19 15:00 +0100 |
| Subject | Re: FYI: Python 3 migration of distributuion |
| Message-ID | <z4ccV-2pi-7@gated-at.bofh.it> |
| In reply to | #12029 |
[Multipart message — attachments visible in raw view] — view raw
Hi Osamu, On 19.11.19 14:43, Osamu Aoki wrote: > FYI: I found this repo > https://gitlab.com/dkg/getmail/commits/python3 > I think this is better work than my local work. I like he's done a commit for each step instead of one big "Turn into Python3" commit. Best Michael
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web