Christian Heimes added the comment: Good point, but I think it should be `q[MAXPATHLEN + 1] = L'\0';`. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15905> _______________________________________