[Python-bugs-list] [ python-Bugs-732951 ] bsddb.*open mode should default to 'r' rather than 'c'
SourceForge.net
noreply@sourceforge.net
Mon, 19 May 2003 13:11:42 -0700
Bugs item #732951, was opened at 2003-05-05 18:35
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=732951&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Coleman (mkc)
>Assigned to: Gregory P. Smith (greg)
Summary: bsddb.*open mode should default to 'r' rather than 'c'
Initial Comment:
In module bsddb, the second argument of the open
functions (e.g., btopen) should default to 'r' rather
than 'c'. Most (all?) of the other open functions,
both in the various dbm-like modules and for basic I/O
default this way.
If this change is not made, then at least this behavior
should be documented clearly. Currently it's not
documented at all (as far as I can find).
Cheers,
Mike
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-05-19 16:11
Message:
Logged In: YES
user_id=12800
That certainly would make it more consistent with other *dbm
open functions. I guess you'd want to change hashopen(),
btopen(), and rnopen().
OTOH, this probably breaks backward compatibility for those
coming from the pybsddb world. Assigning to Greg Smith to
make final decision.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=732951&group_id=5470