survey: is shelve broken? should it be fixed?

Gerhard Häring gerhard at bigfoot.de
Tue May 7 05:21:31 EDT 2002


Roman Suzi wrote in comp.lang.python:
> On Tue, 7 May 2002, Alex Martelli wrote:
> 
>> We probably can't change this default (mis-)behavior due to backward
>> compatibility needs, but it wouldn't be too hard to at least give a simple 
>> _optional_ way out, even though off-by-default:
>> [...]
> I think it is better to fix and not looking for backward compatibility!
> It will not be seen on the background of other major changes to Python.
> So, no smart is needed, IMHO.

I agree.

> Or, maybe python needs some runtime key or phrase like:
> 
> from __past__ import broken_shelve

I hope this was a joke. You never know with some of the PEPs ;-)

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list