New submission from Noel Cuillandre <noel.cuillan...@gmail.com>: The following code raises 'TypeError: __doc__ contains null-bytes'::
Python 3.1a0 (py3k, Jan 27 2009, 18:02:26) [GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class Foo: ... """'\x00'""" ... Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: __doc__ contains null-bytes ---------- messages: 82747 nosy: noel.cuillandre severity: normal status: open title: TypeError when '\x00' in docstring type: compile error versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5373> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com