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 &quot;help&quot;, 
&quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more 
information.<br>
&gt;&gt;&gt; class Foo:<br>...  
&quot;&quot;&quot;&#39;\x00&#39;&quot;&quot;&quot;<br>... 
<br>&gt;&gt;&gt;<br><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to