﻿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
9626	Bug in Cache when calling has_key	anonymous	nobody	"  File ""/var/django/mydjangoapp/../mydjangoapp/stories/context_processors.py"", line 5, in get_cached_num                   
    if not cache.has_key(which):                                                                                               
                                                                                                                               
  File ""/var/lib/python-support/python2.4/django/core/cache/backends/locmem.py"", line 99, in has_key                           
    del self._cache[key]
                                                                                                                               
KeyError: 'authors'   

i do not think, its a bug in my code, when django tries to delete a item, for which i am checking if it even exists."		closed	Core (Cache system)	1.0		fixed	cache,has_key,KeyError,locmem,del		Accepted	0	0	0	0	0	0
