ec2-autoscale-reactor icon indicating copy to clipboard operation
ec2-autoscale-reactor copied to clipboard

Deprecated iteritems() method not forward-compatible with Python 3

Open xenophonf opened this issue 9 years ago • 2 comments

Formulas iterating over dictionaries should use the items() method instead of iteritems() because the latter method has been removed from Python 3. While the items() method in Python 2 uses more memory than iteritems(), these dictionaries are typically small (e.g., sets of settings from Pillar).

xenophonf avatar Jul 30 '15 13:07 xenophonf

@xenophonf, does salt support python 3?

themalkolm avatar Aug 01 '15 23:08 themalkolm

I don't know if it does yet, but there's been talk about ongoing porting efforts as recently as May.

xenophonf avatar Aug 02 '15 12:08 xenophonf