[Demexp-dev] Timestamps (de)compression?

2008-03-11 Par sujet Lyu Abe

Hi,

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?


Regards, Lyu


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Timestamps (de)compression?

2008-03-11 Par sujet David MENTRE
Hello Lyu,

2008/3/11, Lyu Abe [EMAIL PROTECTED]:
  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.


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev