<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks again for the bug report.&nbsp; I&#8217;ve opened bug 797 &nbsp;to track
this one<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&amp;WorkItemId=797">http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&amp;WorkItemId=797</a><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Is this currently blocking you?&nbsp; The reason I ask is we&#8217;re only
differing by a couple of things (the property name being the obviously most
egregious one) and it&#8217;d be nice to have an idea how we should prioritize this.&nbsp;
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #91C0FF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Segoe UI","sans-serif"'>From:</span></b><span
style='font-size:9.0pt;font-family:"Segoe UI","sans-serif"'> users-bounces@lists.ironpython.com
[mailto:users-bounces@lists.ironpython.com] <b>On Behalf Of </b>Simon Dahlbacka<br>
<b>Sent:</b> Wednesday, July 05, 2006 12:29 PM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> [IronPython] __slots__ and __str__/__repr__<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>CPython2.4.1<br>
&gt;&gt;&gt;class foo(object):<br>
... &nbsp;&nbsp; __slots__ = [&quot;bar&quot;]<br>
...<br>
&gt;&gt;&gt;foo.bar<br>
&lt;member 'foo' of 'foo' objects&gt;<br>
&gt;&gt;&gt; f = foo()<br>
&gt;&gt;&gt; f.bar<br>
Traceback (most recent call last): <br>
&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in ?<br>
AttributeError: bar<br>
<br>
<br>
<br>
<br>
Ironpython beta8<br>
&gt;&gt;&gt;class foo(object):<br>
...&nbsp;&nbsp;&nbsp; __slots__ = [&quot;bar&quot;]<br>
&gt;&gt;&gt;foo.bar<br>
&lt;property# foo on Object_1&gt; <br>
&gt;&gt;&gt; f = foo()<br>
&gt;&gt;&gt; f.bar<br>
Traceback (most recent call last):<br>
&nbsp; File , line 0, in &lt;stdin&gt;##42<br>
&nbsp; File , line 0, in get_bar##43<br>
AttributeError: '&lt;class '__main__.foo'&gt;' object has no attribute 'bar' <o:p></o:p></p>

</div>

</body>

</html>