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-16.19:00:03
SpamBayes Score 1.9698507e-09
Marked as misclassified No
Message-id <1326740403.82.0.00266680723774.issue6727@psf.upfronthosting.co.za>
In-reply-to
Content
I ported the patch to the 3.2 branch. This port required more extensive adjustments. In particular, the NullImporter no longer used (char *) for directory detection, but instead used platform-specific PyObjects.

Therefore, the 3.2 diff creates a new function, Py_PathIsDir, which takes a PyUnicode on Windows and PyBytes on other platforms and calculates the directory state of the parameter.

I'm fairly unhappy with the way the patch for 2.7 and 3.1 translated to 3.2.

So, I'm seeking review and approval of the 2.7 and 3.1 patches, and comments on the 3.2 patch.
History
Date User Action Args
2012-01-16 19:00:03jaracosetrecipients: + jaraco, amaury.forgeotdarc, ncoghlan, eric.araujo, brian.curtin, asvetlov, santoso.wijaya, wkornewald, alexreg
2012-01-16 19:00:03jaracosetmessageid: <1326740403.82.0.00266680723774.issue6727@psf.upfronthosting.co.za>
2012-01-16 19:00:03jaracolinkissue6727 messages
2012-01-16 19:00:03jaracocreate