You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-01-30.20:45:43.593>created_at=<Date2014-01-30.15:22:29.593>labels= ['release-blocker']
title='_overlapped: read_buffer and write_buffer are misused'updated_at=<Date2014-01-30.20:45:43.592>user='https://github.com/vstinner'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: