[openstack-dev] Python 3

Brian Curtin brian.curtin at RACKSPACE.COM
Wed Jul 24 18:43:43 UTC 2013


On Jul 24, 2013, at 1:27 PM, Eric Windisch <eric at cloudscaling.com<mailto:eric at cloudscaling.com>>
 wrote:


Speaking of preferred ways to port, has there been any discussion about which version takes precedence when we have to do different things? For example, with imports, should we be trying the 2.x name first and falling back to 3.x on ImportError, or vice versa?

Are we having it now? My belief here is we should be following the principle of "ask forgiveness, not permission". Try Python 3 and then fallback to Python 2 whenever possible.

That's my belief and preference as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130724/f159207e/attachment.html>


More information about the OpenStack-dev mailing list