<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/selectmodule.c, branch revert-11318-fast-enum</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)</title>
<updated>2018-12-08T14:16:55+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-12-08T14:16:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=99d56b53560b3867844472ae381fb3f858760621'/>
<id>99d56b53560b3867844472ae381fb3f858760621</id>
<content type='text'>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35310: Clear select() lists before returning upon EINTR (GH-10877)</title>
<updated>2018-12-05T20:36:03+00:00</updated>
<author>
<name>Oran Avraham</name>
<email>252748+oranav@users.noreply.github.com</email>
</author>
<published>2018-12-05T20:36:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7f52415a6d4841d77d3b7853e83b25a22e0048dc'/>
<id>7f52415a6d4841d77d3b7853e83b25a22e0048dc</id>
<content type='text'>
select() calls are retried on EINTR (per PEP 475).  However, if a
timeout was provided and the deadline has passed after running the
signal handlers, rlist, wlist and xlist should be cleared since select(2)
left them unmodified.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
select() calls are retried on EINTR (per PEP 475).  However, if a
timeout was provided and the deadline has passed after running the
signal handlers, rlist, wlist and xlist should be cleared since select(2)
left them unmodified.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33029: Fix signatures of getter and setter functions. (GH-10746)</title>
<updated>2018-11-27T17:34:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-27T17:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d4f9cf5545d6d8844e0726552ef2e366f5cc3abd'/>
<id>d4f9cf5545d6d8844e0726552ef2e366f5cc3abd</id>
<content type='text'>
Fix also return type for few other functions (clear, releasebuffer).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix also return type for few other functions (clear, releasebuffer).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29386: Pass -1 to epoll_wait() when timeout is &lt; -1 (GH-9040)</title>
<updated>2018-09-11T17:29:48+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2018-09-11T17:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc'/>
<id>b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc</id>
<content type='text'>
Although the kernel accepts any negative value for timeout, the
documented value to block indefinitely is -1.

This commit also makes the code similar to select.poll.poll().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the kernel accepts any negative value for timeout, the
documented value to block indefinitely is -1.

This commit also makes the code similar to select.poll.poll().
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796)</title>
<updated>2018-08-17T11:43:02+00:00</updated>
<author>
<name>Michael Osipov</name>
<email>1983-01-06@gmx.net</email>
</author>
<published>2018-08-17T11:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375'/>
<id>0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375</id>
<content type='text'>
Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a20c
which do not cause trouble on clang or GCC.

Patch by Michael Osipov.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a20c
which do not cause trouble on clang or GCC.

Patch by Michael Osipov.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434)</title>
<updated>2018-07-26T10:22:16+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-07-26T10:22:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7cb7bcff20a386bba59cbc51e2419542de358bd2'/>
<id>7cb7bcff20a386bba59cbc51e2419542de358bd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31938: Convert selectmodule.c to Argument Clinic (GH-4265)</title>
<updated>2018-06-30T20:02:48+00:00</updated>
<author>
<name>Tal Einat</name>
<email>taleinat+github@gmail.com</email>
</author>
<published>2018-06-30T20:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6dc57e2a20c5beb99e8bf5eb04cc836d53fa9aee'/>
<id>6dc57e2a20c5beb99e8bf5eb04cc836d53fa9aee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32568: make select.epoll() and its docs consistent (#7840)</title>
<updated>2018-06-30T12:43:23+00:00</updated>
<author>
<name>Tal Einat</name>
<email>taleinat+github@gmail.com</email>
</author>
<published>2018-06-30T12:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0cdf5f42898350261c5ff65d96334e736130780f'/>
<id>0cdf5f42898350261c5ff65d96334e736130780f</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.</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.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)</title>
<updated>2018-04-29T18:59:33+00:00</updated>
<author>
<name>Siddhesh Poyarekar</name>
<email>siddhesh.poyarekar@gmail.com</email>
</author>
<published>2018-04-29T18:59:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=55edd0c185ad2d895b5d73e47d67049bc156b654'/>
<id>55edd0c185ad2d895b5d73e47d67049bc156b654</id>
<content type='text'>
METH_NOARGS functions need only a single argument but they are cast
into a PyCFunction, which takes two arguments.  This triggers an
invalid function cast warning in gcc8 due to the argument mismatch.
Fix this by adding a dummy unused argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
METH_NOARGS functions need only a single argument but they are cast
into a PyCFunction, which takes two arguments.  This triggers an
invalid function cast warning in gcc8 due to the argument mismatch.
Fix this by adding a dummy unused argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32747: Remove trailing spaces in docstrings. (GH-5491)</title>
<updated>2018-02-02T08:52:55+00:00</updated>
<author>
<name>oldk</name>
<email>oldk1331@users.noreply.github.com</email>
</author>
<published>2018-02-02T08:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=aa0735f597b072c0eb00404c4d7df359ddc26755'/>
<id>aa0735f597b072c0eb00404c4d7df359ddc26755</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
