Jason R. Coombs <jar...@jaraco.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to