﻿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
31418	ValueError when FileBasedCache is used in Python 3.7	mastizada	nobody	"Using FileBasedCache in Django 2.2.12 with Python 3.7.3 is giving ValueError: unsupported pickle protocol: 5

Checking the highest protocol version for pickle using `pickle.HIGHEST_PROTOCOL` is giving 4, so the protocol 5 is not available.

Line that is causing the error: `filebased.py` in `_is_expired` at line 146, `exp = pickle.load(f)`.

Using Python 3.8.0 solves the problem."	Bug	closed	Core (Cache system)	2.2	Release blocker	invalid			Unreviewed	0	0	0	0	0	0
