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 kartlee05
Recipients hercs, kartlee05, tim.golden
Date 2012-11-13.20:57:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352840270.41.0.84863390681.issue16458@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Tim,

Thanks for your reply.

I added test case using perl and python since it was easy to reproduce using perl socket module and show the issue happening with python's subprocess.py. There is definitely an action required in subprocess.py to catch 'invalid handle error' and my attached patch handle this situation.

I can come up with a test case like perl does to create a listening socket and map the socket handle to a file descriptor. You will see this issue *only* when the open_osfhandle(..) is used to map the handle to a file descriptor.

-Karthik
History
Date User Action Args
2012-11-13 20:57:50kartlee05setrecipients: + kartlee05, tim.golden, hercs
2012-11-13 20:57:50kartlee05setmessageid: <1352840270.41.0.84863390681.issue16458@psf.upfronthosting.co.za>
2012-11-13 20:57:50kartlee05linkissue16458 messages
2012-11-13 20:57:50kartlee05create