survey: is shelve broken? should it be fixed?
Aahz
aahz at pythoncraft.com
Tue May 7 15:07:46 EDT 2002
In article <mailman.1020794352.2944.python-list at python.org>,
holger krekel <pyth at devel.trillke.net> wrote:
>
>i'd suggest something like
>
> shelve.returncopies=0
>
>on a global module level. Every time we are
>fixing "python semantics" rather than introducing new
>features we should do it on the module level.
>
>These keyword-arguments like 'smart' are code-bloat
>and scattered all over the code. Having a section
>on top of a python script basically like
>
>assert(pythonversion >2.2.4)
>if pythonversion < 2.3.0:
> shelve.returncopies=0
> somemodule.somefeature=1
>
>is just much nicer and encapsulated.
+1
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
See me at OSCON! I'm teaching Python for [Perl] Programmers, a fast intro
for all experienced programmers (not just Perl). Early bird ends June 10.
http://conferences.oreillynet.com/os2002/
More information about the Python-list
mailing list