[Distutils] [Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new =?utf-8?Q?=7E=3D_?=operator

Donald Stufft donald.stufft at gmail.com
Tue Feb 26 14:23:29 CET 2013


On Tuesday, February 26, 2013 at 8:17 AM, Nick Coghlan wrote:
> I *don't* like the idea of (== 1.3) and (== 1.3.0) being equivalent
> when (1.3) and (1.3.0) are substantially different, though. Instead,
> I'll reinstate a variant of the commentary from PEP 386 that pointed
> out the value of always publishing releases with a consistent number
> of components by including the trailing ".0".

I think it makes absolute sense. These aren't strings they are version numbers.

1.0 == 1.00 == 1.00 == 1.000, adding more zeros doesn't change the
semantics.

It also matches the existing practices of setuptools.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130226/ae495cae/attachment.html>


More information about the Distutils-SIG mailing list