bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
524 stars 143 forks source link

Remove ID generation fallback for when the uuid module is not found #185

Closed davidalber closed 4 years ago

davidalber commented 4 years ago

Session ID generation preferentially uses the uuid module, which was added in Python 2.5.

image

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.

amol- commented 4 years ago

thanks for taking care of this technical debt. Looks good to me