-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update legacy zipshelve #3
Comments
There could also be a python bug. Because I don't seem to be able to open a shelf in readonly mode. |
The bug is resolved in Ubuntu as per here and links therein. |
On MacOS and with then Possible fixes:
The second approach will likely be better since the Campus Cluster usually runs Linux. |
A minimally working (on UNIX) implementation of shelve with zip has been ported over from here. The linked file is written in legacy Python2 format and follows different PEP and coding conventions.
Its been minimally modified to work on Python3 environment of this repository, however:
pathlib
instead of string operations to parse file names and check if they exist or not.with something as athing:
) seems to work, but needs to be double checked to make sure nothing will break.The text was updated successfully, but these errors were encountered: