-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Labels
OS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Description
Documentation
Bug description:
Line 21 in aa3f11f
del d[key] # delete data stored at key (raises KeyError |
this doesn't work on 3.12 under Windows 11
it looks like two files are used to store the shelf, .dir contains keys and offsets where to find the data in the .dat-file
del shelf[key]
only removes the reference in the .dir-file, but the data stays untoched (i.e. still stored) in the .dat-file
does this work on other systems and the documentation just doesn't fit my windows
Metadata
Metadata
Assignees
Labels
OS-windowsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory