A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003422.html below:

[Idle-dev] Forward progress with full backward compatibility

[Python-Dev] RE: [Idle-dev] Forward progress with full backward compatibility [Python-Dev] RE: [Idle-dev] Forward progress with full backward compatibilityBarry A. Warsaw bwarsaw@cnri.reston.va.us
Wed, 12 Apr 2000 15:29:11 -0400 (EDT)
>>>>> "FL" == Fredrik Lundh <effbot@telia.com> writes:

    FL> (ouch.  python is definitely not what it used to be.  wonder
    FL> if the right answer to this is "wouldn't a tuple be much more
    FL> python-like?" or "I'm outta here...")

Yeah, pulling the micro version number out of sys.hexversion is ugly
and undocumented, hence my subsequent message.

The basically idea is pretty cool though, and I've adopted it to
Mailman.  It allows me to do this:

    previous_version = last_hex_version()
    this_version = mm_cfg.HEX_VERSION

    if previous_version < this_version:
        # I'm upgrading

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4