id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11306 Replace uses of `has_key` with `in` Ryan J Ollos Ryan J Ollos "Since `has_key` is [http://docs.pythonsprints.com/python3_porting/py-porting.html#replacing-dict-has-key formally deprecated] since Python 2.6 and even [http://docs.python.org/3.0/whatsnew/3.0.html#builtins removed in Python 3.0], and I've been removing these in various refactoring changesets (e.g. [11956]), I thought it might be better to create a ticket and replace these everywhere at once. Additionally, it sounds like this will give a small performance improvement (negligible for nearly all cases I'm sure), and an increment towards #10083." enhancement closed normal 1.0.2 general normal fixed python3 Replaced uses of deprecated `has_key` with `in`.