<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=345403209-29112006><FONT face=Arial size=2>I've just noticed 
pkg_resources.parse_version() doesn't appear to follow the setuptools 
documentation with regards 'rc' vs. '-rc'.&nbsp; With 
setuptools-0.6c3:</FONT></SPAN></DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial size=2>Python 2.4.1 (#1, 
Oct 13 2006, 16:58:04)<BR>[GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] on 
linux2<BR>Type "help", "copyright", "credits" or "license" for more 
information.<BR>&gt;&gt;&gt; from pkg_resources import 
parse_version<BR>&gt;&gt;&gt; parse_version('2.1-rc2') &lt; 
parse_version('2.1')<BR>True<BR>&gt;&gt;&gt; parse_version('2.1rc2') &lt; 
parse_version('2.1')<BR>True<BR>&gt;&gt;&gt;<BR></FONT></SPAN></DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial size=2>This contradicts the 
docs and suggests a '-' no longer differentiates pre and post 
releases.</FONT></SPAN></DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial size=2>Is this a bug or 
feature?</FONT></SPAN></DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=345403209-29112006><FONT face=Arial 
size=2>Stephen.</DIV></FONT></SPAN>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>---</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Stephen Pascoe&nbsp; 01235 
445980</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>British Atmospheric Data 
Centre</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Rutherford Appleton Laboratory, 
CCLRC</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>