[openstack-dev] [hacking] proposed rules drop for 1.0

Brian Curtin brian at python.org
Tue Dec 9 16:15:34 UTC 2014


On Tue, Dec 9, 2014 at 9:05 AM, Sean Dague <sean at dague.net> wrote:
> - [H305 H306 H307] Organize your imports according to the `Import order
>   template`_ and `Real-world Import Order Examples`_ below.
>
> I think these remain reasonable guidelines, but H302 is exceptionally
> tricky to get right, and we keep not getting it right.
>
> H305-307 are actually impossible to get right. Things come in and out of
> stdlib in python all the time.

Do you have concrete examples of where this has been an issue? Modules
are only added roughly every 18 months and only on the 3.x line as of
the middle of 2010 when 2.7.0 was released. Nothing should have left
the 2.x line within that time as well, and I don't recall anything
having completed a deprecation cycle on the 3.x side.



More information about the OpenStack-dev mailing list