On Mon, Jul 24, 2006 at 04:03:13PM -0700, Andrew Straw wrote:
> Sasha wrote:
> 
> >On 7/24/06, Andrew Straw <[EMAIL PROTECTED]> wrote:
> >
> >>BTW, Fernando, all this is so that we can still have the svn revision
> >>number in __version__, but so that it doesn't screw up sorting.
> >
> >Sorting __version__ is screwed up regardless of svn revision number:
> >
> >>>>'1.9' < '1.10'
> >>>>        
> >>>>
> >False
> >
> Not if you parse __version__ with something that understands version
> numbers.

...and we've already got something for that: distutils.version.LooseVersion
(or StrictVersion).

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to