{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack-formulas/mysql-formula/issues/87","labels_url":"https://api.github.com/repos/saltstack-formulas/mysql-formula/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/mysql-formula/issues/87/comments","events_url":"https://api.github.com/repos/saltstack-formulas/mysql-formula/issues/87/events","html_url":"https://github.com/saltstack-formulas/mysql-formula/issues/87","id":98172868,"number":87,"title":"Deprecated iteritems() method not forward-compatible with Python 3","user":{"login":"xenophonf","id":7139195,"avatar_url":"https://avatars.githubusercontent.com/u/7139195?v=3","gravatar_id":"","url":"https://api.github.com/users/xenophonf","html_url":"https://github.com/xenophonf","followers_url":"https://api.github.com/users/xenophonf/followers","following_url":"https://api.github.com/users/xenophonf/following{/other_user}","gists_url":"https://api.github.com/users/xenophonf/gists{/gist_id}","starred_url":"https://api.github.com/users/xenophonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xenophonf/subscriptions","organizations_url":"https://api.github.com/users/xenophonf/orgs","repos_url":"https://api.github.com/users/xenophonf/repos","events_url":"https://api.github.com/users/xenophonf/events{/privacy}","received_events_url":"https://api.github.com/users/xenophonf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T13:46:48Z","updated_at":"2015-07-30T13:46:48Z","closed_at":null,"body":"Formulas iterating over dictionaries should use the `items()` method instead of `iteritems()` because the latter method has been [removed from Python 3](https://docs.python.org/3/library/2to3.html#2to3fixer-dict).  While the `items()` method in Python 2 uses more memory than `iteritems()`, these dictionaries are typically small (e.g., sets of settings from Pillar)."}}