New submission from STINNER Victor: I found an issue in overlapped.c: read_buffer and write_buffer attributes are defined in an union, but they are sometimes use even if the type is not good. I found this issue while trying to get a BrokenPipeError on Windows when the stdin stream of a subprocess is full but the process exited.
Could you please review attached patch, especially the change in Overlapped_getresult? Another option would be to use two real attributes (remove the union), but I like the usage of union :-) All Tulip unit tests of my subprocess_stream pass on Linux and Windows with the patch. ---------- files: overlapped.patch keywords: patch messages: 209721 nosy: gvanrossum, haypo, larry, pitrou, sbt priority: release blocker severity: normal status: open title: _overlapped: read_buffer and write_buffer are misused versions: Python 3.4 Added file: http://bugs.python.org/file33812/overlapped.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20449> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com