cpython: 08c95dd68cfc (original) (raw)
Mercurial > cpython
changeset 87928:08c95dd68cfc 3.3
Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. [#17919]
Serhiy Storchaka storchaka@gmail.com | |
---|---|
date | Fri, 13 Dec 2013 12:08:01 +0200 |
parents | 2f975036cf39 |
children | e78743e03c8f 68e0dbc492de |
files | Lib/test/test_poll.py Misc/NEWS Modules/selectmodule.c |
diffstat | 3 files changed, 4 insertions(+), 7 deletions(-)[+] [-] Lib/test/test_poll.py 4 Misc/NEWS 2 Modules/selectmodule.c 5 |
line wrap: on
line diff
--- a/Lib/test/test_poll.py +++ b/Lib/test/test_poll.py @@ -161,10 +161,6 @@ class PollTests(unittest.TestCase): pollster = select.poll() # Issue 15989
self.assertRaises(OverflowError, pollster.register, 0,[](#l1.7)
_testcapi.SHRT_MAX + 1)[](#l1.8)
self.assertRaises(OverflowError, pollster.register, 0,[](#l1.9)
_testcapi.USHRT_MAX + 1)[](#l1.10) self.assertRaises(OverflowError, pollster.poll, _testcapi.INT_MAX + 1)[](#l1.11) self.assertRaises(OverflowError, pollster.poll, _testcapi.UINT_MAX + 1)[](#l1.12)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -29,6 +29,8 @@ Core and Builtins Library ------- +- Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. +
- Issue #19063: if a Charset's body_encoding was set to None, the email package would generate a message claiming the Content-Transfer-Encoding was 7bit, and produce garbage output for the content. This now works.
--- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -380,11 +380,10 @@ static PyObject * poll_register(pollObject *self, PyObject *args) { PyObject *o, *key, *value;