Volodymyr Kostyrko c.kw...@gmail.com added the comment:
I was wrong. The current behavior is correct. The difference between execution
is a difference between pipe file object and vnode file object. vnode backed
file objects doesn't send any signals and care should be taken to detect file
Terry J. Reedy tjre...@udel.edu added the comment:
I presume the first example should have been
# cat file | ./test.py
or seceond should have been
# ./test.py test.py
so that test.py gets same input on stdin in either case.
For other readers: kqueue and kevent are bsd-specific functions and
Volodymyr Kostyrko c.kw...@gmail.com added the comment:
Ok, I'll try to ask FreeBSD developers, too bad I'm not that familiar with C to
write example other way than test if it's a system problem.
--
nosy: -terry.reedy
___
Python tracker