On 11/04/2011 11:47 AM, Rich Burridge wrote:
On 11/04/2011 10:43 AM, Danek Duvall wrote:
Danek Duvall wrote:

https://cr.opensolaris.org/action/browse/userland/dduvall/pybugs/
I've updated the webrev in place.  Changes include implementing Alan's
closerange() suggestion, and Norm's request to port the changes to Python
2.7.

Why does the 2.7 posix_closerange() function differ from the 2.6 one?

To answer my own question, based on the URL below, I suspect this is
something that's not in 2.6, but is in 2.7 (or later):

  http://www.gossamer-threads.com/lists/python/python/722510


2.7:

  30 -    for (i = fd_from; i<  fd_to; i++)
  31 -        if (_PyVerify_fd(i))
  32 -            close(i);


2.6

  30 -       for (i = fd_from; i<  fd_to; i++)
  31 -               close(i);



_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to