Re: Two bugs in 4.1.1
Brazen <odbrazen-/[email protected]> Sun, 25 Jul 2004 07:34:03 -0700 (PDT)
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
--- Tuomas_Härkönen <[email protected]> wrote: > I've ran into two bugs in Lyntin 4.1.1. Platform Win2k, Python 2.3.4. > Using Tkui, but both can be reproduced in textui as well. > > Starting with the one that seems to be quite simple: > > The #snoop command appears broken. '#snoop <session> on/off' produces an > error, stating that there is no method setSnoop defined in the Session > class. This is indeed the case. Something for 5.0, have seperate buffers & GUI widgets for each session. I hacked up a tkui variant that does this (in the sandbox) and someone had mentioned doing something similar on the list. Text goes to the wigdet to just the session the socket is associated with, but you can write to that plus the current session if you like. Maybe some of the people who use multiple sessions w/ the current lyntin can comment on how they handle multiple sessions now. > The second bug: > > Lyntin seems to have trouble with long (_long_) lines. As a test case, I > generated a plain ascii file with the character 'a' 10000 times. Lyntin > chokes pretty badly as I try to view this file <snip> summary: 10k characters on a line is slow, much much slower than 10 chars on a thousand lines. </snip> This sounds like a bad regular expression, since the same amount of network and GUI work has to be done in either case it is clearly the long line that is killing it. It is easy to write a bad regexp that takes exponential time. Could you try this without any of your own regexps loaded (or confirm you didn't have any of your own regexps loaded) so we can be sure the bad regexp is in the core code? The net.py _line_regexp looks like a candidate for bad behavior, I'll check that one out in the meantime. Thanks in advance, Brazen plug for OverDrive: overdrive.concentric.net 5195 __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click