[Distutils] RFC : Version comparison

Eric Smith eric at trueblade.com
Tue Apr 28 02:09:45 CEST 2009


> [Trent]
>>> Or we could have:
>>>
>>>    RationalVersion(...version bits...)
>>>    RationalVersion.from_string(s)      # this is a @classmethod
> 
> [Tres]
>> I would prefer keeping the string version of __init__, with the "I'm in
>> control, dammit" version reserved for the non-default factory method.
> 
> I'd tend to agree, but I don't feel strongly about it.

I agree. The more common one will be the string version, it should be 
__init__.



More information about the Distutils-SIG mailing list