[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix Python digest typemap

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-05-07 19:48:00 CEST

"David James" <james@cs.toronto.edu> writes:

> I have a question. Why do you think that the MD5 checksums should be
> passed in raw format instead of in cstring format? Your change breaks
> compatibility with any code which previously used the checksum return
> value, so we should have a good reason if we want to change it.

The old code was the incompatible one; why should the Python
binding change things like this on you? To be complete, we'd
have to wrap the functions that take that raw checksum
(e.g. svn_wc_process_committed*) to convert the hex string back
to the raw data; why convert it back and forth? Python
applications can always use binascii.b2a_hex to get the
human-readable hex form.

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 7 19:49:08 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.