Also the template BaseContext class has an undocumented has_key() method. I 
wonder if that can be removed without a deprecation?

https://github.com/django/django/pull/6066

On Friday, January 29, 2016 at 6:11:54 PM UTC-5, Tim Graham wrote:
>
> Any opposition to deprecating Cache.has_key()? Cache already implements 
> __contains__() so converting has_key() to "in" can be done with existing 
> versions of Django. Anyone using flake8 will get a warning about has_key() 
> usage: W601 .has_key() is deprecated, use 'in'.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/afbb78c6-3288-4544-b934-26b48acd9192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to