[openstack-dev] [Neutron] Python 3 and hacking rules.
cyril at redhat.com
Tue Jun 2 15:01:55 UTC 2015
On 06/02/2015 03:49 PM, Ihar Hrachyshka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> On 06/02/2015 03:27 PM, Cyril Roelandt wrote:
>> At the end of this cycle, Neutron should support Python 3.4
>> 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
>> 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.
More information about the OpenStack-dev