[django/django] f07735: Fixed #22867 -- Memoized django.utils.version.get_...

2 views
Skip to first unread message

GitHub

unread,
Jun 22, 2014, 1:18:17 PM6/22/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: f07735c619c121d8785082972acd8fbad8b236af
https://github.com/django/django/commit/f07735c619c121d8785082972acd8fbad8b236af
Author: Loic Bistuer <loic.b...@gmail.com>
Date: 2014-06-23 (Mon, 23 Jun 2014)

Changed paths:
M django/utils/version.py

Log Message:
-----------
Fixed #22867 -- Memoized django.utils.version.get_git_changeset().

This follows commits 80f4487 and 01399fa; original patch had to be
reverted because it wasn't Python 2.6 compatible and we need it to
be in order to build docs on the djangoproject.com server.

This fix should be replaced by @lru_cache as soon as we drop
Python 2.6 compatibility.

Thanks Florian Apolloner for the review and Alexander Schepanovski
for the original patch.


Reply all
Reply to author
Forward
0 new messages