<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 2:43 PM, Brian Curtin <span dir="ltr"><<a href="mailto:brian.curtin@rackspace.com" target="_blank">brian.curtin@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>
<div>On Jul 24, 2013, at 1:27 PM, Eric Windisch <<a href="mailto:eric@cloudscaling.com" target="_blank">eric@cloudscaling.com</a>></div>
<div> wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr"><br><div class="im">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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?</div>
</blockquote>
<div><br>
</div>
<div>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.</div>
</div>
</div>
</div></div>
</blockquote>
<br>
</div>
<div>That's my belief and preference as well.</div></div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>