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

Ihar Hrachyshka ihrachys at redhat.com
Tue Jun 2 13:49:15 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
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...

In any case, thanks for your work.

Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVbbRbAAoJEC5aWaUY1u57+iUH/RQGqHsohu7zyHlaB5GGzkX2
3oWxvT4B7dPBu9C7aouighEef18ZEHTMCHfHTayX1IVSPo18uugjF2Eryks/WNmQ
QGwCtTdTpP1uKWhTyidJp+QPiL6VFXtvn1D0BhpVa68tTR8TZdff5M1xXVtlt5gY
U8S5A6zFQwI0nZXCaz/TGmhHhL7qZswzyaKtcgOwRPNlKbb3HrgyshilQZ/Ut7r4
n7U6aOfRB1Ywgew0X4CObwtX16LBjigUvbNtZCF3daV7EkgfDgucHujHW80E3U2G
/Yw/2xm/5JNBwFHbUCnRYAOY49FoIEcgRkqU+wjA9sIF7CSOWfUk5Jv/B9eK+/o=
=E2ym
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list