WxPython versus Tkinter.

Giampaolo Rodolà g.rodola at gmail.com
Thu Jan 27 13:35:46 EST 2011


> It might be true, however I have seen some modules that say that are ment for Python 2.5, for 2.6 or for 2.7, so there seem to be differences between these versions also.

Python cares *a lot* about maintaining backward compatibiilty between
all major versions.
This is so true that I managed to use a unique code base for pyftpdlib
which supports python from 2.3 to 2.7.
Same for psutil which covers versions from 2.4 to 3.2 by using a
unique code base!

> It might be true, however I have seen some modules that say that are ment for Python 2.5, for 2.6 or for 2.7, so there seem to be differences between these versions also.

Usually the differences between one version and another rely on *new
features* only.
One might decide to target a module only for a certain version of the
2.x serie because that certain version introduced a new functionnality
which was not available before (silly example
http://docs.python.org/library/os.html#os.initgroups ).
All the other functionnalities are likely to remain the same and fully
backward compatible.

> py2exe offers the following installation kits, depending on the Python version. If you know, please tell me why there are different packages for different versions of Python?
>
> py2exe-0.6.9.win32-py2.5.exe
> py2exe-0.6.9.win32-py2.4.exe
> py2exe-0.6.9.win32-py2.3.exe
> py2exe-0.6.9.win32-py2.6.exe
> py2exe-0.6.9.win32-py2.7.exe

That's a different story: those are pre-compiled binaries which are
generated from a *unique* source code which support all those
versions.
If you have a compiler you can install pywin32 extension by using any
Python version.


--- Giampaolo
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/



2011/1/27 Octavian Rasnita <orasnita at gmail.com>:
> From: "Emile van Sebille" <emile at fenx.com>
>> On 1/26/2011 11:02 PM Octavian Rasnita said...
>>
>>> As we all know, Python doesn't care too much about maintaining a
>>> backward compatibility
>>
>> Where'd you get this idea?  Between v2 and v3 yes, that was the intent.
>
> To be sincere I was thinking to the differences between Python 2 and 3.
>
>>  But otherwise, I think there's another miscommunication behind this...
>
> It might be true, however I have seen some modules that say that are ment for Python 2.5, for 2.6 or for 2.7, so there seem to be differences between these versions also.
>
> py2exe offers the following installation kits, depending on the Python version. If you know, please tell me why there are different packages for different versions of Python?
>
> py2exe-0.6.9.win32-py2.5.exe
> py2exe-0.6.9.win32-py2.4.exe
> py2exe-0.6.9.win32-py2.3.exe
> py2exe-0.6.9.win32-py2.6.exe
> py2exe-0.6.9.win32-py2.7.exe
>
> Thanks.
>
> Octavian
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list