Message151205
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. |
|
Date |
User |
Action |
Args |
2012-01-13 22:53:00 | jaraco | set | recipients:
+ jaraco, amaury.forgeotdarc, ncoghlan, eric.araujo, brian.curtin, asvetlov, santoso.wijaya, wkornewald, alexreg |
2012-01-13 22:53:00 | jaraco | set | messageid: <1326495180.19.0.71945830473.issue6727@psf.upfronthosting.co.za> |
2012-01-13 22:52:59 | jaraco | link | issue6727 messages |
2012-01-13 22:52:59 | jaraco | create | |
|