[Python-Dev] Re: CVS: python/dist/src/Python sysmodule.c,2.59,2.60
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 13 Apr 2000 13:16:15 -0400 (EDT)
Barry A. Warsaw writes:
> And I think (but am not 100% positive) that once a final release comes
> out, Guido stops incrementing the PY_RELEASE_SERIAL's and instead
> starts incrementing PY_MICRO_VERSION. If that's not the case, then
> it complicates things a bit.
patchlevel.h includes a comment that indicates serial should be 0
for final releases.
> So is it easier to explain that the empty string means a final release
> or that 'final' means a final release? :)
I think it's the same; either is a special value. The only
significant advantage of 'final' is the monotonicity provided by
'final'. I'm not convinced that it's otherwise any better. It also
means to create a formatter version number from this that you need to
special-case the last item in sys.version_info.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives