On Wednesday 29 December 2010 09:22:24 Hugo Parente Lima wrote:
> On Tuesday 28 December 2010 21:15:34 Anderson Lizardo wrote:
> > 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)
> 
> hmmm... now I understood the meaning of the serial element in
> the docs :-P, thanks!
> 
> > Regards,

Great! Good example how following Python helps. Good luck in 
doing it, Hugo! +1

Al.

Al.
-- 
Algis
http://akabaila.pcug.org.au
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to