This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rémy Léone
Recipients Rémy Léone, neologix, pitrou
Date 2017-05-22.15:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495467361.4.0.927457324454.issue30430@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-05-22 15:36:01Rémy Léonesetrecipients: + Rémy Léone, pitrou, neologix
2017-05-22 15:36:01Rémy Léonesetmessageid: <1495467361.4.0.927457324454.issue30430@psf.upfronthosting.co.za>
2017-05-22 15:36:01Rémy Léonelinkissue30430 messages
2017-05-22 15:36:01Rémy Léonecreate