[New-bugs-announce] [issue9591] kqueu not reporting EOF under certain circumstances

Volodymyr Kostyrko report at bugs.python.org
Fri Aug 13 20:47:25 CEST 2010


New submission from Volodymyr Kostyrko <c.kworr at gmail.com>:

This one is BSD related. FreeBSD 8.1.

This works:
# cat test.py | ./test.py
-1 684 32768 0 0
#

This hangs:
# ./test.py < file
-1 684 0 0 0

The difference is that in second case popped kevent lacks any data on EOF.

----------
components: Library (Lib)
files: test.py
messages: 113811
nosy: Volodymyr.Kostyrko
priority: normal
severity: normal
status: open
title: kqueu not reporting EOF under certain circumstances
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file18506/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9591>
_______________________________________


More information about the New-bugs-announce mailing list