New submission from Alexander Belopolsky <belopol...@users.sourceforge.net>:
Most likely the same underlying problem as in issue 9202, but can be seen on a non-windows platform. >>> from os import * >>> stat('/') Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: NULL result without error in PyObject_Call With attached patch, the error message is clearer: >>> stat('.') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: In structseq_repr() member 15 name is NULL ---------- assignee: belopolsky messages: 109586 nosy: belopolsky priority: high severity: normal stage: unit test needed status: open title: os.stat() is broken type: behavior versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9206> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com