Staging
v0.5.1
https://github.com/python/cpython
Revision b6987b13fecdfbbc3a45e84025754d06ad18fca9 authored by Guido van Rossum on 07 April 1999, 18:32:51 UTC, committed by Guido van Rossum on 07 April 1999, 18:32:51 UTC
before exiting when an error happened.  This didn't work right when
Python is invoked from a daemon.
1 parent a99c5db
Raw File
Tip revision: b6987b13fecdfbbc3a45e84025754d06ad18fca9 authored by Guido van Rossum on 07 April 1999, 18:32:51 UTC
Alas, get rid of the Win specific hack to ask the user to press Return
Tip revision: b6987b1
dbhash.py
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""

import bsddb

error = bsddb.error

def open(file, flag, mode=0666):
    return bsddb.hashopen(file, flag, mode)
back to top