[prev in list] [next in list] [prev in thread] [next in thread]
List: python-bugs-list
Subject: [Python-bugs-list] [ python-Bugs-732951 ] bsddb.*open mode should default to 'r' rather than 'c'
From: noreply () sourceforge ! net (SourceForge ! net)
Date: 2003-05-28 7:59:50
Message-ID: E19Kvqg-0006bb-00 () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Bugs item #732951, was opened at 2003-05-05 15:35
Message generated for change (Comment added) made by greg
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: Closed
>Resolution: Fixed
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: Gregory P. Smith (greg)
Date: 2003-05-28 00:59
Message:
Logged In: YES
user_id=413
It appears that the old bsddb library also defaulted to 'r'
for the *open() functions. I just committed an update to
the libbsddb.tex documentation source that mentions that 'r'
is the default. I didn't want to break compatibility with
any existing applications.
hopefully that documentation update will make it into the
2.3 release.
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-05-19 13: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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic