Python 2.X vs 3.x

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Python 2.X vs 3.x

Rikard Johnels-2
Hello all you wonderful developers!
I am a happy user of Gimp since a few years.


One slight question:

Will GIMP be "rewritten" for Python 3 at all? (Seeing as 2.x is (slowly) being phased out...)



/Rikard Johnels
--- DISCLAIMER ---
This mail is sent from the domain rikjoh.com.If you are not the intended recipient, please disregard this e-mail.
---------------------


_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Python 2.X vs 3.x

Shlomi Fish
Hi Rikard!

On Thu, 30 Jul 2020 21:39:30 +0200
Rikard Johnels <[hidden email]> wrote:

> Hello all you wonderful developers!
> I am a happy user of Gimp since a few years.
>

Nice.

>
> One slight question:
>
> Will GIMP be "rewritten" for Python 3 at all? (Seeing as 2.x is (slowly)
> being phased out...)
>

I expect that for gimp 3.x, the python code will be (or was already) ported to
python 3.x - but I don't expect it will require or justify a full rewrite of
gimp given these links:

* https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Perhaps there will still be compatibility with python 2.7 being able to run the
same code, but I don't recommend you to count on that.



>
>
> /Rikard Johnels
> --- DISCLAIMER ---
> This mail is sent from the domain rikjoh.com.If you are not the intended
> recipient, please disregard this e-mail. ---------------------
>
>
> _______________________________________________
> gimp-developer-list mailing list
> List address:    [hidden email]
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list



--

Shlomi Fish       https://www.shlomifish.org/
https://www.shlomifish.org/open-source/resources/tech-tips/

Jack: Hi Sophie!
Sophie: Don’t “Hi, Sophie!” me.
Jack: Don’t “Don’t ‘Hi, Sophie!’ me” me!

Please reply to list if it's a mailing list post - https://shlom.in/reply .
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Python 2.X vs 3.x

Liam R E Quin
In reply to this post by Rikard Johnels-2
On Thu, 2020-07-30 at 21:39 +0200, Rikard Johnels wrote:
> Will GIMP be "rewritten" for Python 3 at all?

Yes. The development version currently uses Python 3. But be aware this
means old Python scripts generally won't work without some rewriting.

slave liam


--
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
ankh on IRC, barefootliam on twitter etc.
Full-time slave in voluntary servitude.

_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list