[Python-3000] How best to handle failing tests in struni?

Mike Klaas mike.klaas at gmail.com
Wed Jun 20 22:34:15 CEST 2007


On 20-Jun-07, at 10:51 AM, Jean-Paul Calderone wrote:

> On Wed, 20 Jun 2007 10:24:55 -0700, Guido van Rossum  
> <guido at python.org> wrote:
>
> > OTOH, pragmatically, people will generally use text strings for  
> db keys.
>>
>> I'm not sure how to decide this; perhaps we need to take it public.
>
> If it helps, after having used bsddb for a couple years and  
> developed a
> non-trivial library on top of it, what Martin said seems most  
> sensible to
> me.

As an extremely heavy user of bsddb, +1.

Berkeley db is rather sensitive on how things are serialized (for  
instance, big-endian is much better for ints, performance-wise), so  
it is necessary to let the developer control this on a bytestring  
level.  It is easy to write a wrapper on top of this to do the  
serialization automatically.

-Mike





More information about the Python-3000 mailing list