homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Stephen Larroque
Recipients Stephen Larroque
Date 2017年08月05日.16:26:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501950419.2.0.502891257534.issue31125@psf.upfronthosting.co.za>
In-reply-to
Content
This is a followup of issue 23174.
When using `shelve.open(tempfile.mkstemp()[1])`, the shelve (or anydbm or dumbdbm) fail with "anydbm.error: db type could not be determined".
Instead, the module could detect the file is empty and use it as if it were not existing before ('c' or 'n' flag). For the moment, there is no way around except creating the temporary file and then delete it.
History
Date User Action Args
2017年08月05日 16:26:59Stephen Larroquesetrecipients: + Stephen Larroque
2017年08月05日 16:26:59Stephen Larroquesetmessageid: <1501950419.2.0.502891257534.issue31125@psf.upfronthosting.co.za>
2017年08月05日 16:26:59Stephen Larroquelinkissue31125 messages
2017年08月05日 16:26:58Stephen Larroquecreate

AltStyle によって変換されたページ (->オリジナル) /