<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">Le 23/08/2015 02:01, Feodor Tersin a
      écrit :<br>
    </div>
    <blockquote cite="mid:COL130-W82FA615D23E9EAE3A7D46DBE630@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">
        <div>> From: <a class="moz-txt-link-abbreviated" href="mailto:kevin.mitchell@rackspace.com">kevin.mitchell@rackspace.com</a><br>
          > <br>
          > Actually, there should no longer be a need to use
          contextlib.nested.<br>
          > We've explicitly dropped Python 2.6 compatibility, which
          means we're<br>
          > expecting compatibility with Python 2.7+ only, and as of
          Python 2.7, the<br>
          > 'with' statement supports accepting multiple 'as'
          clauses. The<br>
          > contextlib.nested tool was really only necessary to work
          around that<br>
          > functionality being missing in Python 2.6, and has been
          deprecated as of<br>
          > Python 2.7 because it's no longer necessary.<br>
          <br>
        </div>
        <div>'with' statement has multiple form, but it does not allow
          line breaks inside. It leads to ugly formatting.</div>
        <div>See <a moz-do-not-send="true"
href="https://github.com/stackforge/ec2-api/commit/f5b320edbbc8ab554dae496dcae78be6fdd25fe7#diff-bfcbc316f2eb6b39de99a921a5753aadL631"
            target="_blank" style="font-size: 12pt;">https://github.com/stackforge/ec2-api/commit/f5b320edbbc8ab554dae496dcae78be6fdd25fe7#diff-bfcbc316f2eb6b39de99a921a5753aadL631</a></div>
        <div><br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    Yeah, even if the 'with' statement accepts now more than just one
    clause, it doesn't accept to have it in multiple lines using the ()
    for leaving less than 80 chars for each line.<br>
    <br>
    -Sylvain<br>
    <br>
    <blockquote cite="mid:COL130-W82FA615D23E9EAE3A7D46DBE630@phx.gbl"
      type="cite">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>