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 pitrou
Recipients Rémy Léone, pitrou
Date 2017-05-22.15:12:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495465960.4.0.254431143861.issue30430@psf.upfronthosting.co.za>
In-reply-to
Content
So basically the write() system call seems to be returning EINVAL.  Can I suggest the following steps:

1. try to reproduce using os.open() and os.write() instead of open() and write() (just to make sure something doesn't get in the way)

2. if it still fails, try to reproduce using an equivalent C snippet

If 2 fails as well, then this is a system issue and not a Python issue.  Otherwise, we'll have to find out how Python differs from C.
History
Date User Action Args
2017-05-22 15:12:40pitrousetrecipients: + pitrou, Rémy Léone
2017-05-22 15:12:40pitrousetmessageid: <1495465960.4.0.254431143861.issue30430@psf.upfronthosting.co.za>
2017-05-22 15:12:40pitroulinkissue30430 messages
2017-05-22 15:12:40pitroucreate