[Distutils] setuptools dev > rc.

Phillip J. Eby pje at telecommunity.com
Tue Sep 12 01:20:42 CEST 2006


At 09:05 PM 9/11/2006 +0200, Elvelind Grandin wrote:
>I was supriced that the following code returns True.
>parse_version("0.1dev") > parse_version("0.1rc")
>A rc release should in my mind be newer then a dev version.

This is because 'rc' is treated the same as 'c', which in turn is less than 
'dev'.



More information about the Distutils-SIG mailing list