[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [minion-cvs] Use Zooko"s zlibutil to do bounded uncompression with P...
- To: mixminion-dev@freehaven.net
- Subject: Re: [minion-cvs] Use Zooko"s zlibutil to do bounded uncompression with P...
- From: Zooko <zooko@zooko.com>
- Date: Tue, 31 Dec 2002 23:11:23 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: mixminion-dev-outgoing@seul.org
- Delivered-to: mixminion-dev@seul.org
- Delivery-date: Tue, 31 Dec 2002 23:15:57 -0500
- In-reply-to: Message from nickm@seul.org (Nick Mathewson) of "Tue, 31 Dec 2002 12:40:57 EST." <20021231174057.C8B3E33C66@moria.seul.org>
- References: <20021231174057.C8B3E33C66@moria.seul.org>
- Reply-to: mixminion-dev@freehaven.net
- Sender: owner-mixminion-dev@freehaven.net
Cool! You chose to use my zlibutil code!
What's the minimum Python version you support?
I support Python 1.5 in pyutil and Mnet, but not because there are actually any
Python 1.5 users [1]. More because we have *always* supported Python 1.5 (since
back when Python 1.5 was the latest version) and I have lots of utility
functions in compat.py [1] for that purpose.
Anyway, if you want to support Python 1.5, you'll have to change
"if sys.version[:3] < (2,2,0)" to "if compat.version()[:3] < (2,2,0)".
Regards,
Zooko
[1] stats about what version of Python is used by Mnet users:
http://sourceforge.net/mailarchive/forum.php?thread_id=1472653&forum_id=7702
[2] http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pyutil/pyutil_new/pyutil/compat.py?rev=HEAD&content-type=text/vnd.viewcvs-markup
> +if sys.version[:3] < (2,2,0):
> + import mixminion._zlibutil as zlibutil
> +