Comments (2)
A few possibilities:
- Let the user override the protocol if needed.
- Always set the protocol to
2
(slows performance in Python 3). - Leave it how it is now, but alert the user in the documentation to the fact that Python 2 programs won't be able to read caches created using Python 3.
- A combination of the 1st and 3rd options.
from fcache.
Beginning in v0.4, fcache will default to pickle.HIGHEST_PROTOCOL
, but will allow the user to override the protocol.
from fcache.
Related Issues (20)
- Switch setup.py to use setuptools
- Remove TODO
- Make code PEP8 compatible
- Exclude sphinx docs build directory using MANIFEST file
- fcache rewrite for v0.4
- Add appdirs support
- Note the 3rd-party requirement for appdirs
- Documentation typo regarding serialization
- README example typo HOT 1
- Add docs test environment to tox
- keys must be str or bytes
- Add support for sub caches
- Test suite not included in PyPI release
- fcache unable to write across filesystems
- `'cs'` cache option is not thread safe HOT 4
- fcache is not multiprocess aware on Windows
- `_read_from_file` returns `None` instead of (re)raise an exception
- OSError: [WinError 17] The system cannot move the file to a different disk drive. HOT 7
- No KeyError is raised when deleting a non-existing key from cache
- Change reference on appdirs to platformdirs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcache.