This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, bgamari, eric.araujo, tarek
Date 2011-10-09.09:03:14
SpamBayes Score 2.31312e-06
Marked as misclassified No
Message-id <1318150995.21.0.52486667081.issue13055@psf.upfronthosting.co.za>
In-reply-to
Content
The fact that 1) StrictVersion and LooseVersion have None as default argument for vstring in __init__ 2) __init__ does not raise an exception if vstring is not given makes me think that the intended behavior is that the vstring argument is optional.  Making it required would be a behavior change which would run contrary to the distutils code freeze*.  I don’t feel that the workaround (set self.vstring to '') is okay; I’d rather fix the methods that fail when self.vstring is not defined, like __str__, or document the limitations.  What is your use case for these classes, and what methods need fixing?

* There is a lot of code out there that will break if we start to add and remove
  things, so a freeze was decided and we work on distutils2, a new version.
  distutils only gets fixes for real bugs.
History
Date User Action Args
2011-10-09 09:03:15eric.araujosetrecipients: + eric.araujo, tarek, bgamari, alexis
2011-10-09 09:03:15eric.araujosetmessageid: <1318150995.21.0.52486667081.issue13055@psf.upfronthosting.co.za>
2011-10-09 09:03:14eric.araujolinkissue13055 messages
2011-10-09 09:03:14eric.araujocreate