[openstack-dev] [Neutron] Python 3 and hacking rules.

Cyril Roelandt cyril at redhat.com
Tue Jun 2 13:27:11 UTC 2015


Hello,

At the end of this cycle, Neutron should support Python 3.4 
(https://blueprints.launchpad.net/neutron/+spec/neutron-python3). In 
order to do this, some hacking checks will be added, so that non 
python3-compliant code cannot be added. This might break code in 
neutron-*aas and other projects that use the Neutron hacking rules. 
Ihar Hrachyshka	and I decided to submit patches to fix this:

https://review.openstack.org/187353
https://review.openstack.org/187356
https://review.openstack.org/187364

If your project still uses dict.iteritems  AND uses the Neutron hacking 
rules, you can:
- replace dict.iteritems() with six.iteritems();
- ask me to do it for you!



Cyril.



More information about the OpenStack-dev mailing list