On Tue, Dec 28, 2010 at 5:43 PM, Hugo Parente Lima <[email protected]> wrote: > On Tuesday 28 December 2010 18:55:23 Algis Kabaila wrote: >> The immediately above is unnecessarily confusing and breaks the >> requirement of not counting backwards version numbers. >> Acceptible, however, would be: >> >> (1, 0, 0, 1) >> (1, 0, 0, 2) >> etc >> up to >> (1, 0, 1) > > I prefer the approach suggested by Tamás Bajusz, use the same as Python itself > uses: > > (1, 0, 0, "beta2") and "1.0.0-beta2" > (1, 0, 0, "beta3") and "1.0.0-beta3" > (1, 0, 0, "final") and "1.0.0" > > Anyone have something against it?
I agree that the format used by Python itself is the one most developers will expect to see. Just a small correction: sys.version_info format is: major, minor, micro, level, serial = sys.version_info In this case it would be: (1, 0, 0, "beta", 2) and for final: (1, 0, 0, "final", 0) Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
