﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26694	FileBasedCache.get() ignores all IOError errno values	Jon Dufresne	nobody	"Current [https://github.com/django/django/blob/359be1c/django/core/cache/backends/filebased.py implementation]:

{{{
    def get(self, key, default=None, version=None):
        fname = self._key_to_file(key, version)
        try:
            with io.open(fname, 'rb') as f:
                if not self._is_expired(f):
                    return pickle.loads(zlib.decompress(f.read()))
        except IOError as e:
            if e.errno == errno.ENOENT:
                pass  # Cache file doesn't exist.
        return default
}}}

By inspection, this appears to be ignoring all `errno` values. However, judging from the surrounding code and comments, it should only be ignoring `ENOENT`. See discussion in [https://github.com/django/django/pull/6652 PR  #6652] for more details."	Bug	closed	Core (Cache system)	dev	Normal	fixed			Accepted	1	0	0	0	0	0
