Noel Cuillandre <noel.cuillan...@gmail.com> added the comment:
Because the same code in Python 2.5.2 does not produce a TypeError::
Python 2.5.2 (r252:60911, Oct 21 2008, 15:11:46)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class Foo:
... """'\x00'"""
...
>>>
Added file: http://bugs.python.org/file13189/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5373>
_______________________________________
Because the same code in Python 2.5.2 does not produce a
TypeError::<br><br>Python 2.5.2 (r252:60911, Oct 21 2008, 15:11:46) <br>[GCC
4.1.1 (Gentoo 4.1.1-r1)] on linux2<br>Type "help",
"copyright", "credits" or "license" for more
information.<br>
>>> class Foo:<br>...Â
"""'\x00'"""<br>...
<br>>>><br><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com