<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/selectmodule.c, branch v3.6.7</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025)</title>
<updated>2018-06-30T13:15:53+00:00</updated>
<author>
<name>Tal Einat</name>
<email>taleinat+github@gmail.com</email>
</author>
<published>2018-06-30T13:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=db7ac30ef52ce35a4ead1bc1b9f0dd5331ed9779'/>
<id>db7ac30ef52ce35a4ead1bc1b9f0dd5331ed9779</id>
<content type='text'>
* `flags` is indeed deprecated, but there is a validation on its value for
  backwards compatibility reasons.  This adds mention of this in the docs.
* The docs say that `sizehint` is deprecated and ignored, but it is still
  used when `epoll_create1()` is unavailable. This adds mention of this in
  the docs.
* `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`.
  This is needed to have a default value available at the Python level,
  since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938)
* Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`.

The relevant tests have also been updated.

(cherry picked from commit 0cdf5f42898350261c5ff65d96334e736130780f)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `flags` is indeed deprecated, but there is a validation on its value for
  backwards compatibility reasons.  This adds mention of this in the docs.
* The docs say that `sizehint` is deprecated and ignored, but it is still
  used when `epoll_create1()` is unavailable. This adds mention of this in
  the docs.
* `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`.
  This is needed to have a default value available at the Python level,
  since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938)
* Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`.

The relevant tests have also been updated.

(cherry picked from commit 0cdf5f42898350261c5ff65d96334e736130780f)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (GH-4196) (#4201)</title>
<updated>2017-10-31T18:16:07+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-31T18:16:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=84e252b79eed94bc9e9175f82191322c89e489ad'/>
<id>84e252b79eed94bc9e9175f82191322c89e489ad</id>
<content type='text'>
* Fix a compilation error on FreeBSD.
* Fix the data attribute size on Mac OS X.
(cherry picked from commit 2298fad5ff907dd48ea0fb5c71fa22334ef28c6b)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix a compilation error on FreeBSD.
* Fix the data attribute size on Mac OS X.
(cherry picked from commit 2298fad5ff907dd48ea0fb5c71fa22334ef28c6b)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31893: Fixed select.kqueue(). (GH-4166) (#4190)</title>
<updated>2017-10-31T12:46:15+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-31T12:46:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f9a639b97c760f40d022223c7655053c89752850'/>
<id>f9a639b97c760f40d022223c7655053c89752850</id>
<content type='text'>
* Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD.
* Fixed the comparison of the kqueue_event objects.
(cherry picked from commit b9052a0f91d2e83bbc27267247a5920c82b242a3)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD.
* Fixed the comparison of the kqueue_event objects.
(cherry picked from commit b9052a0f91d2e83bbc27267247a5920c82b242a3)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) (#4033)</title>
<updated>2017-10-18T12:05:16+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-18T12:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=97abcabc195b87d6a5562dbb867a469fac27d3f6'/>
<id>97abcabc195b87d6a5562dbb867a469fac27d3f6</id>
<content type='text'>
Always pass -1, or INFTIM where defined, to the poll() system call when
a negative timeout is passed to the poll.poll([timeout]) method in the
select module. Various OSes throw an error with arbitrary negative
values.
(cherry picked from commit 6cfa927ceb931ad968b5b03e4a2bffb64a8a0604)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always pass -1, or INFTIM where defined, to the poll() system call when
a negative timeout is passed to the poll.poll([timeout]) method in the
select module. Various OSes throw an error with arbitrary negative
values.
(cherry picked from commit 6cfa927ceb931ad968b5b03e4a2bffb64a8a0604)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-31786: Make functions in the select module blocking when timeout is a small negative value. (GH-4003). (#4022)</title>
<updated>2017-10-18T08:12:47+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2017-10-18T08:12:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=95602b368b87da3702a0f340ded2a23e823bb104'/>
<id>95602b368b87da3702a0f340ded2a23e823bb104</id>
<content type='text'>
(cherry picked from commit 2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-30058: Fixed buffer overflow in select.kqueue.control(). (GH-1095) (#3973)</title>
<updated>2017-10-12T20:20:44+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2017-10-12T20:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c923da188bc055e4f3001a6daf1caf54f2b10e40'/>
<id>c923da188bc055e4f3001a6daf1caf54f2b10e40</id>
<content type='text'>
(cherry picked from commit de072100775cc29e6cd93a75466cecbd1086f258)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit de072100775cc29e6cd93a75466cecbd1086f258)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501) (#3190)</title>
<updated>2017-08-22T22:58:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-08-22T22:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cb7fdf69ec9235cb358580f189089eaf575fb9df'/>
<id>cb7fdf69ec9235cb358580f189089eaf575fb9df</id>
<content type='text'>
FreeBSD is the only platforms with unsigned FD_SETSIZE.

(cherry picked from commit 783d0c1a1c723733adcdf4249240246fc35a5bcb)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FreeBSD is the only platforms with unsigned FD_SETSIZE.

(cherry picked from commit 783d0c1a1c723733adcdf4249240246fc35a5bcb)</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28153: Make kqueue()'s event filters optional</title>
<updated>2016-09-14T15:16:59+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-09-14T15:16:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7ec64562b243f3b44a876a346f658a1d4a66a95a'/>
<id>7ec64562b243f3b44a876a346f658a1d4a66a95a</id>
<content type='text'>
Patch by Ed Schouten.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Ed Schouten.
</pre>
</div>
</content>
</entry>
<entry>
<title>replace Py_(u)intptr_t with the c99 standard types</title>
<updated>2016-09-06T20:47:26+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-06T20:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ca4706399879b30e952c402637b4fc0d4d2e661c'/>
<id>ca4706399879b30e952c402637b4fc0d4d2e661c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose EPOLLRDHUP conditionally</title>
<updated>2016-08-08T10:39:43+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-08-08T10:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e1d22fda7ee087ec4ca3fe20f38cbceae83afd28'/>
<id>e1d22fda7ee087ec4ca3fe20f38cbceae83afd28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
