python / cpython

The Python programming language
https://www.python.org
Other
62.33k stars 29.94k forks source link

shelve and dbm modules inconsistency #122841

Open Pekka1955 opened 1 month ago

Pekka1955 commented 1 month ago

Bug report

Bug description:

class BsdDbShelf(Shelf) #  on C:\Python312\lib\shelve.py
# BUT C:\Python312\lib\dbm package have no bsddb anymore or in stdlib have it!
# It seems that Berkeley database have dropped but remnants still haunt around the corner

CPython versions tested on:

3.12

Operating systems tested on:

Windows

ZeroIntensity commented 1 month ago

~What version was your program written on originally? bsddb was removed in Python 3.~

ZeroIntensity commented 1 month ago

Oh, I think I misinterpreted the report. Are you talking about how BsdDbShelf should be removed? It doesn't actually use bsddb, based on the source, but maybe it's worth deprecating.