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 jaraco
Recipients alexreg, amaury.forgeotdarc, asvetlov, brian.curtin, eric.araujo, jaraco, ncoghlan, santoso.wijaya, wkornewald
Date 2012-01-13.22:52:59
SpamBayes Score 1.1130352e-10
Marked as misclassified No
Message-id <1326495180.19.0.71945830473.issue6727@psf.upfronthosting.co.za>
In-reply-to
Content
The MS support engineer has come back confirming the bug and suggesting using the MS C API instead of wstat for doing directory detection. It's still possible they'll fix the bug in an upcoming update, but even if they do, it will leave a window of broken systems, so I'm inclined to implement a workaround (i.e. not use stat for directory detection in import.c).

I started looking at implementing this for the Python 2.7 branch and I found that I could drastically simplify the code by extracting an 'isdir' function.

Consider the two changesets in this patch. I've confirmed this fixes the issue. Would somebody review this patch? If it's deemed acceptable, I'll consider something similar for Python 3.x.
History
Date User Action Args
2012-01-13 22:53:00jaracosetrecipients: + jaraco, amaury.forgeotdarc, ncoghlan, eric.araujo, brian.curtin, asvetlov, santoso.wijaya, wkornewald, alexreg
2012-01-13 22:53:00jaracosetmessageid: <1326495180.19.0.71945830473.issue6727@psf.upfronthosting.co.za>
2012-01-13 22:52:59jaracolinkissue6727 messages
2012-01-13 22:52:59jaracocreate