April 28, 2009
12:09 a.m.
[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__.