Anonymous avatar Anonymous committed 5913d1c

Version 0.3.1.

Comments (0)

Files changed (3)

+2000-12-11  Joel Rosdahl  <>
+	* Released version 0.3.1.
+	* (IRC.process_once): Work-around for platform-dependent
+	select() on Windows systems.
+	* Clarification of SingleServerIRCBot doc string.
 2000-11-26  Joel Rosdahl  <>
 	* Released version 0.3.0.
     The bot keeps track of the channels it has joined, the other
     clients that are present in the channels and which of those that
-    have operator or voice modes.
+    have operator or voice modes.  The "database" is kept in the
+    self.channels attribute, which is an IRCDict of Channels.
     def __init__(self, server_list, nickname, realname, reconnection_interval=60):
         """Constructor for SingleServerIRCBot objects.
 import time
 import types
-VERSION = 0, 3, 0
+VERSION = 0, 3, 1
 DEBUG = 0
         sockets = map(lambda x: x._get_socket(), self.connections)
         sockets = filter(lambda x: x != None, sockets)
-        (i, o, e) =, [], [], timeout)
-        self.process_data(i)
+        if sockets:
+            (i, o, e) =, [], [], timeout)
+            self.process_data(i)
+        else:
+            time.sleep(timeout)
     def process_forever(self, timeout=0.2):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.