Michele Petrazzo  <[EMAIL PROTECTED]> wrote:
>I'm trying a script on a debian 3.1 that has problems on shelve library.
>The same script work well on a fedora 2 and I don't know why it create 
>this problem on debian:
> [ ... ]
>Now I see that shelve create not my file, but three files that has the 
>name that I want (/tmp/myfile) and also the extensions: .bak .dat .dir

This is a documented behaviour of shelve:

http://docs.python.org/lib/module-shelve.html

and note "an extension may be added to the filename and more than one
file may be created". I guess this depends on what dbm shelve is
built on the documentation implies it goes through anydbm. I'm not
seeing this behaviour on my Debian 3.1 (and I fail to understand why
it is a problem).

-- 
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to