[issue30430] Cannot write to a tun interface file
Rémy Léone
report at bugs.python.org
Mon May 22 11:36:01 EDT 2017
Rémy Léone added the comment:
I've tackle the 1. by replacing write/open with os.write/os.open. I still get :
$ python3 simple_incorrect.py
b'\xc3\xa9'
Traceback (most recent call last):
File "simple_incorrect.py", line 32, in <module>
os.write(tun, incorrect_frame)
OSError: [Errno 22] Invalid argument
I'm going to study more in depth the point you raised about tun.c
----------
Added file: http://bugs.python.org/file46886/simple_incorrect.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30430>
_______________________________________
More information about the Python-bugs-list
mailing list