[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__.

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to