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

Cyril Roelandt cyril at redhat.com
Tue Jun 2 15:01:55 UTC 2015

On 06/02/2015 03:49 PM, Ihar Hrachyshka wrote:
> Hash: SHA256
> On 06/02/2015 03:27 PM, Cyril Roelandt wrote:
>> 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, you don't realize what you may get due to your kindness!!! ^^ :)
> I would suggest people affected to fix their repos themselves...

That'd be best, but should it not be possible, I could spend 5 minutes 
writing a patch using https://github.com/haypo/sixer :)

> In any case, thanks for your work.

No problem.


More information about the OpenStack-dev mailing list