|
From: Michael B. <re...@bu...> - 2014-05-16 14:24:39
|
New submission from Michael Büsch: The attached test file "conntest.py" throws unexpected exceptions and warnings when being run on jython 2.7 hg: Expected behavior (CPython 2.7.6): > $ python2.7 ./conntest.py > ................ > Client: Connected to server > Server: A client connected Actual behavior (Jython 2.7 Mercurial): > $ /path/to/jython/dist/bin/jython ./conntest.py > May 16, 2014 4:04:18 PM io.netty.channel.nio.NioEventLoop select > WARNING: Selector.select() returned prematurely 512 times in a row; rebuilding selector. > May 16, 2014 4:04:18 PM io.netty.channel.nio.NioEventLoop rebuildSelector > INFO: Migrated 1 channel(s) to the new Selector. > CLIENT: Should not happen: CancelledKeyException > [Errno -1] Unmapped exception: java.nio.channels.CancelledKeyException > ...................... > Client: Connected to server > Server: A client connected ---------- components: Any files: conntest.py messages: 8420 nosy: mb_ severity: normal status: open title: socket warnings and exceptions type: behaviour versions: Jython 2.7 Added file: http://bugs.jython.org/file1412/conntest.py _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2147> _______________________________________ |