[ftputil] Which Python version(s) do you use?
Stefan Schwarzer
sschwarzer at sschwarzer.net
Wed Jul 26 12:10:46 CEST 2006
Hi all,
On 2006-07-21 01:48, Stefan Schwarzer wrote:
> when I released ftputil for the first time, Python 2.2 had just
> been released (or was about to be released). So I tried to make
> ftputil compatible with Python versions starting at 2.1, which
> required some compromises. I would like to make use of the
> features added in 2.2. This would allow to remove e. g. the
> UserTuple class and the extra handling of the True/False values
> (though they were introduced in Python 2.2.1, not 2.2, if I
> remember correctly).
>
> Thus my question: Which is the lowest Python version you use with
> ftputil? Would it be ok to drop compatibility with Python
> versions < 2.2.1 with the release of ftputil 2.2? Or do you
> really depend on earlier Python versions, i. e. can only switch
> to a newer version with much effort?
after the discussion we had, I'll try to stick to Python 2.3(.0)
as the minimum requirement. I plan to do the changes requiring
Python 2.2+ on the same branch which is used to add the stat
caching. (This is less "clean" but also much easier to handle
than an additional branch.)
It may happen that I code something that only works with higher
versions (possibly higher minor versions like Python 2.3.3). This
is _not_ intentional and should be considered a (usually minor)
bug. On the other hand, there may be cases where a particular
feature, e. g. in Python 2.3.7 ;-) , is desirable. In this case,
we must decide if it's worth to decrease compatibility with older
Python versions.
Stefan
More information about the ftputil
mailing list