-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sumurai8 (DD): > text = IRC.recv(1024) > msgs = text.split('\n')
This seems to have a bug: if there's more than 1024 bytes waiting, you could receive only part of the final message; so you will truncate that message, and the next recv will receive the other half (which will then be effectively junk). - river. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0A/0QACgkQIXd7fCuc5vKX8QCeKN77J7YXVJaO5utUVMyxCC5a ubsAnR/+E/8WtjZuD1Qrc78S5v68ZQ5/ =z4ru -----END PGP SIGNATURE----- _______________________________________________ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette