<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV dir=ltr align=left><SPAN class=271485315-23092005><FONT face=Verdana
color=#800000 size=2>I did actually look into this and the join works just fine.
Problem was, if I remember correctly, that we split the file into
different chunks due to newline character handling.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=271485315-23092005><FONT face=Verdana
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=271485315-23092005><FONT face=Verdana
color=#800000 size=2>It is definitely semantic difference - and therefore a bug
- so I intend to fix it. It is just that I was focusing on other pieces of
IronPython that I didn't get to it yet. Sorry about that.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=271485315-23092005><FONT face=Verdana
color=#800000 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=271485315-23092005><FONT face=Verdana
color=#800000 size=2>Martin</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
users-ironpython.com-bounces@lists.ironpython.com
[mailto:users-ironpython.com-bounces@lists.ironpython.com] <B>On Behalf Of
</B>Luis M. Gonzalez<BR><B>Sent:</B> Friday, September 23, 2005 5:51
AM<BR><B>To:</B> users-ironpython.com@lists.ironpython.com<BR><B>Subject:</B>
[IronPython] bug<BR></FONT><BR></DIV>
<DIV></DIV><!--StartFragment --> Hi Martin,<BR><BR>I just wanted to let
you know that this strange bug reported om Jun 30 is still ocurring:<BR><FONT
face=Arial
size=2>_____________________________________________________________________________________________</FONT><BR><PRE>Hi all,<BR>
<BR>
I post this here because I don't know how to describe it in the bug tracker.<BR>
This simple code reads a text file and removes all the dots, parenthesis and signs from each word, which then is printed in the screen:</PRE><PRE><BR>
<BR>
>>><I> f = open('c:/documents and settings/usuario1/escritorio<WBR>/sw3.txt')<BR>
</I>>>><I> for line in f:<BR>
</I> for word in line.split():<BR>
st=[]<BR>
for i in word:
<BR>
if i not in ['.','(',')','?']:<BR>
st.append(i)<BR>
print ''.join(st)</PRE><PRE><BR>
It works in Cpython, but in Ironpython it just prints empty spaces intead of words.</PRE>
<DIV><BR>Any hint?<BR><BR>Regards,<BR>Luis</DIV></BLOCKQUOTE></BODY></HTML>