New submission from Alex Gaynor <alex.gay...@gmail.com>: ATM there's no tests (at least in 2.x, I haven't checked 3.x yet) for this behavior:
>>> os.path.exists("/tmp\x00abcds") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.2/genericpath.py", line 18, in exists os.stat(path) TypeError: embedded NUL character ---------- components: Tests messages: 151877 nosy: alex, amaury.forgeotdarc priority: normal severity: normal status: open title: Add tests for NUL checking in certain strs versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13849> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com