Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

> The original text file was an IRC log. Shoving Charles Dickens' "Great
> Expectations" 17 times in a text file and then parsing it doesn't show
> this problem for some weird reason.

I'd say the "weird reason" is probably a bug in your script. For example
the following appears very dubious:

                for o in self.wlist:
                        if len(o) > 0xFF:
                                o = o[:0xFF]
                        fp.write(chr(len(o)))
                        fp.write(o)
                        for s in self.wlist[o]:

In any case, the idea that one of Python's built-in containers would
silently *drop* values (rather than segfault or produce a MemoryError)
is in itself quite unbelievable, due to the way those containers funciton.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to