On Wed, Jul 24, 2013 at 2:43 PM, Brian Curtin <brian.cur...@rackspace.com>wrote:
> On Jul 24, 2013, at 1:27 PM, Eric Windisch <e...@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. > It may not be possible to create a hard-and-fast rule on this. There was a case this week where the use of the "configparser" library caused a parse error under Python 2 when "ConfigParser" worked properly. Doug > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev