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 loewis
Recipients amaury.forgeotdarc, kristjan.jonsson, loewis, mhammond, ocean-city
Date 2009-02-03.19:52:16
SpamBayes Score 3.341305e-08
Marked as misclassified No
Message-id <1233690741.15.0.914400920732.issue4804@psf.upfronthosting.co.za>
In-reply-to
Content
As for checking CRT handles: it seems that __pioinfo is exported from
msvcr90.dll. So we could check whether osfile has the FOPEN flag set,
and we could check whether fh >= 0. Unfortunately, there seems to be no
way to check for _nhandle. However, that might not be necessary: IIUC,
we just need to check whether M=fh>>IOINFO_L2E is smaller than
IOINFO_ARRAYS and __pioinfo[M] is not null.
History
Date User Action Args
2009-02-03 19:52:22loewissetrecipients: + loewis, mhammond, amaury.forgeotdarc, kristjan.jonsson, ocean-city
2009-02-03 19:52:21loewissetmessageid: <1233690741.15.0.914400920732.issue4804@psf.upfronthosting.co.za>
2009-02-03 19:52:18loewislinkissue4804 messages
2009-02-03 19:52:16loewiscreate