[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Demexp-dev] Timestamps (de)compression?
From: |
David MENTRE |
Subject: |
Re: [Demexp-dev] Timestamps (de)compression? |
Date: |
Tue, 11 Mar 2008 19:53:02 +0100 |
Hello Lyu,
2008/3/11, Lyu Abe <address@hidden>:
> I try to decode compressed timestamps. I tried to use the decompress
> function from the zlib module in mod python, but it does not seem to
> give satifactory results (undecipherable strings). Any hint?
Yes. Look at get_timestamps_decoded() in the source code of the Python
XML RPC proxy, especially the function __as_int_array() (lines
132-147):
http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/xmlrpc-proxy?f=2c37f5f19621;file=demexp-xmlrpc-proxy.py
Yours,
d.