<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Handle EINTR during webkitpy server process select()"
   href="https://bugs.webkit.org/show_bug.cgi?id=168361#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Handle EINTR during webkitpy server process select()"
   href="https://bugs.webkit.org/show_bug.cgi?id=168361">bug 168361</a>
              from <span class="vcard"><a class="email" href="mailto:webkit.org&#64;the-compiler.org" title="Florian Bruhin &lt;webkit.org&#64;the-compiler.org&gt;"> <span class="fn">Florian Bruhin</span></a>
</span></b>
        <pre><span class="quote">&gt;&gt; Tools/Scripts/webkitpy/port/server_process.py:250
&gt;&gt; +            if e.args[0] in [errno.EINVAL, errno.EINTR]:</span >
&gt;
<span class="quote">&gt; I would use a tuple here, i.e:</span >
&gt;
<span class="quote">&gt;   if e.args[0] in (errno.EINVAL, errno.EINTR):</span >

I'm curious - why? I view a tuple mostly as structured heterogeneous collections of data where the order/length matter (e.g., a (name, age) tuple), and a list as a collection of heterogeneous collection (i.e. a list of error numbers, like here).

If this is about tuples being immutable, that doesn't really matter much IMHO when used as literals like here.

FWIW I'm happy to change it, but I'd like to understand why :-)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>