[issue26370] shelve filename inconsistent between platforms

2016-02-18 Thread SilentGhost
SilentGhost added the comment: Would you like to try to submit a patch for a solution you think most appropriate? -- nosy: +SilentGhost, georg.brandl type: behavior -> enhancement versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue26370] shelve filename inconsistent between platforms

2016-02-16 Thread Dima Tisnek
New submission from Dima Tisnek: shelve.open("foo.db") creates "foo.db" on Linux and "foo.db.db" on OSX. Something to that extent is even documented: """d = shelve.open(filename) # open, with (g)dbm filename -- no suffix""" and """As a side-effect, an extension may be added to the filename and