forked from miracle2k/webassets
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I changed the API for this; before, the filesystem cache tried to write strings directly, and only pickled other types, and required some help from the caller on get() to know whether to unpickle. Apart from being confusing, this was also a bit of a mindfuck trying to make it work both on Python 2 and 3 (which is not to say it wouldn't have been possible). I've changed the BaseCache API a bit, and the filesystem cache now simply pickles everything.
- Loading branch information
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters