Session ID generation preferentially uses the uuid module, which was added in Python 2.5.
Beaker has a fallback — implemented in 2011 — that uses a different approach when import uuid fails. Support for Python 2.4 and 2.5 was dropped in 2015, so all versions of Python currently supported by Beaker have the uuid module. This PR removes the now-unnecessary fallback.
Session ID generation preferentially uses the uuid module, which was added in Python 2.5.
Beaker has a fallback — implemented in 2011 — that uses a different approach when
import uuid
fails. Support for Python 2.4 and 2.5 was dropped in 2015, so all versions of Python currently supported by Beaker have the uuid module. This PR removes the now-unnecessary fallback.