<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Software Mind</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {font-family:"Courier New";}
p.body, li.body, div.body
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:5.0pt;
        font-family:Verdana;
        color:#888888;}
p.table, li.table, div.table
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        border:none;
        padding:0in;
        font-size:7.0pt;
        font-family:Verdana;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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 bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sorry Szymon, I believe this is my fault.  We
did receive your report but somehow it didn&#8217;t make it into a bug.  I&#8217;ve
got the bug opened now, and we&#8217;ll fix this before beta 6.  Again, sorry
for the delay on this.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=1 color=black face="Bookman Old Style"><span
style='font-size:8.0pt;font-family:"Bookman Old Style"'><a
href="http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038">Do
you want to help develop Dynamic languages on CLR?</a> </span></font><font
size=1 color=white face="Bookman Old Style"><span style='font-size:1.0pt;
font-family:"Bookman Old Style";color:white'>(http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)</span></font><font
size=1 face="Bookman Old Style"><span style='font-size:8.0pt;font-family:"Bookman Old Style"'><o:p></o:p></span></font></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> users-bounces@lists.ironpython.com
[mailto:users-bounces@lists.ironpython.com] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Szymon Kobalczyk<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, March 31, 2006 1:25
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Discussion
 of IronPython</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [IronPython] Line info in
PythonSyntaxError</span></font><font color=black><span style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi, <br>
First big thanks for yet another great release! <br>
<br>
However, as I see you haven't addressed this small issue I described a while
ago. Please confirm you have received my report and if you are going to address
it. Now I've manually added these properties to the PythonSyntaxError class:<br>
<br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;
public class PythonSyntaxError : Exception, ICustomExceptionConversion {</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int
lineNo, columnNo;</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string
lineText, file;</font></tt><br>
<br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public
int LineNumber</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
get { return lineNo; }</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font></tt><br>
<br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public
int ColumnNumber</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
get { return columnNo; }</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font></tt><br>
<br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public
string File</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
get { return file; }</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font></tt><br>
<br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public
string LineText</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
get { return lineText; }</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font></tt><br>
<br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; ... </font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp; }</font></tt></span></font><br>
<br>
<br>
<o:p></o:p></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Regards,<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Szymon Kobalczyk<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
Szymon Kobalczyk napisał(a): <o:p></o:p></span></font></p>

<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>Hi,<o:p></o:p></span></font></pre><pre><font size=2
color=black face="Courier New"><span style='font-size:10.0pt'>I found it quite convenient to be able to catch parsing error from the <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>engine's Compile method and read the line and column number where the <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>error occurred. In previous version this was simply displayed in the <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>PythonSyntaxError's message. Currently it was removed and instead this <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>exception carries this information in private fields so it can recreate <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>PythonException. Do you have anything against exposing these fields as <o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>read-only properties?<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Regards,<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Szymon Kobalczyk<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>users mailing list<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>  <o:p></o:p></span></font></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>-- <o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600
 style='width:6.25in'>
 <tr>
  <td colspan=4 style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'>&nbsp;<o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td width=21 rowspan=4 style='width:15.75pt;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>
  </td>
  <td width=380 valign=top style='width:285.0pt;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'><img border=0 width=141
  height=58 id="_x0000_i1025" src="cid:image001.gif@01C6549E.8D3E8AD0"
  alt="Software Mind" align=bottom><o:p></o:p></span></font></p>
  </td>
  <td rowspan=2 valign=bottom style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'><br>
  <b><span style='font-weight:bold'>Software Mind Sp z oo</span></b><br>
  Bociana 22A<br>
  31-231 Kraków<br>
<st1:country-region w:st="on"><st1:place w:st="on">Poland</st1:place></st1:country-region><br>
  Tel. (+48-12) 6145490<br>
  Fax: (+48-12) 6145170<br>
  <a href="mailto:s.kobalczyk@softwaremind.pl">s.kobalczyk@softwaremind.pl</a><br>
  <a href="www.softwaremind.pl">www.softwaremind.pl</a> <o:p></o:p></span></font></p>
  </td>
  <td width=12 rowspan=3 style='width:9.0pt;padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td valign=bottom style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><b><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana;font-weight:bold'>Szymon Kobalczyk</span></font></b><font
  size=1 face=Verdana><span style='font-size:7.0pt;font-family:Verdana'><br>
  Software Developer <o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan=2 style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'>&nbsp;<o:p></o:p></span></font></p>
  </td>
 </tr>
 <tr>
  <td colspan=3 bgcolor=black style='background:black;padding:0in 0in 0in 0in;
  -moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-attachment:scroll;
  background-position-x:0%;background-position-y:50%'>
  <p class=MsoNormal><font size=1 color=black face=Verdana><span
  style='font-size:7.0pt;font-family:Verdana'>&nbsp;<o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600
 style='width:6.25in'>
 <tr>
  <td style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=1 color="#888888" face=Verdana><span
  style='font-size:5.0pt;font-family:Verdana;color:#888888'><br>
  This email may contain confidential and privileged material for the sole use
  of the intended recipient(s). Any review, use, retention, distribution or
  disclosure by others is strictly prohibited. If you are not the intended
  recipient (or authorized to receive for the recipient), please contact the
  sender by reply email and delete all copies of this message. Also, email is
  susceptible to data corruption, interception, tampering, unauthorized
  amendment and viruses. We only send and receive emails on the basis that we
  are not liable for any such corruption, interception, tampering, amendment or
  viruses or any consequence thereof.<o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>