See http://wiki.python.org/moin/ApplicationInfrastructure , "Version handling" below for a possible strict version API.
The page is relevant for the general packaging discussion as well, although it's not fully fleshed out yet. MS On Fri, Mar 27, 2009 at 5:11 PM, "Martin v. Löwis" <mar...@v.loewis.de>wrote: > Correct me if I wrong, but shouldn't Python include function for >> version comparisons? >> > > On the packaging summit yesterday, people agreed that yes, we should > have something like that in the standard library, and it should be more > powerful than what distutils currently offers. > > There was no conclusion of how specifically that functionality should > be offered; several people agreed that Python should mandate a standard > format, which it is then able to compare. So you might not be able to > spell it "10.3.40-beta", but perhaps "10.3.40b1" or "10.3.40~beta". > > Regards, > Martin
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com