Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#26263 closed Cleanup/optimization (fixed)

Deprecate the template Context.has_key() method

Reported by: Tim Graham Owned by: Tim Graham
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Considering that:

  • Context is essentially documented as a dict-like object
  • dict.has_key() exists on Python 2
  • this method has been around "forever"

Aymeric favors a deprecation even though it's not documented.

Change History (4)

comment:1 by Tim Graham, 9 years ago

Has patch: set

comment:2 by Claude Paroz, 9 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In cdbd8745:

Fixed #26263 -- Deprecated Context.has_key()

comment:4 by Tim Graham <timograham@…>, 8 years ago

In 740f63a3:

Refs #26263 -- Removed deprecated Context.has_key().

Note: See TracTickets for help on using tickets.
Back to Top