[openstack-dev] [neutron] monkey patching strategy

Ihar Hrachyshka ihrachys at redhat.com
Fri Feb 13 15:37:57 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/13/2015 02:33 AM, Kevin Benton wrote:
> Why did the services fail with the stdlib patched? Are they
> incompatible with eventlet?

It's not like *service entry points* are not ready for neutron.* to be
monkey patched, but tools around it (flake8 that imports
neutron.hacking.checks, setuptools that import hooks from
neutron.hooks etc). It's also my belief that base library should not
be monkey patched not to put additional assumptions onto consumers.

(Though I believe that all the code in the tree should be monkey
patched, including those agents that currently run without the library
patched - for consistency and to reflect the same test environment for
unit tests that will be patched from neutron/tests/__init__.py).

/Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJU3hpVAAoJEC5aWaUY1u57nBUIANIjk5j31l2E9+HNvUhiMulP
mIa7zB3PNO+XsFHq9DWWUHzKoY5GVYF9DdLN56wbiLCCD7aoR3XZ/euGRm9NnJzf
Akb6+qsq/1+qge4zG0C33aBc/lted+1RdVU7aDk8pUpUbWAEW833EqwolXdtg0RF
aljsg5U3759MPpZpRV8o/GzHScmTvWenn6hLzXQ2frGFHoR4OpPkEctME1LAmNxs
GqfKeK5ST0wVsCimTFMM/BV7zQTQSeiMNYQesnqTh4V3mjaS3UiHJfCQF9KtiJJG
AaMEW3wyBAO3ew373oXUMTd4k0HhO34RuK4eznYdq7BFQO6KDjFSC1HtvFJaPCk=
=KckY
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list