Donate Share

Python IRC client library

Code

Programming Languages: Python

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics cvs -d:pserver:anonymous@python-irclib.cvs.sourceforge.net:/cvsroot/python-irclib login

cvs -z3 -d:pserver:anonymous@python-irclib.cvs.sourceforge.net:/cvsroot/python-irclib co -P modulename

Show:

What's happening?

  • Comment: Bug with dccreceive example

    Both works.

    2009-09-22 17:07:17 UTC by nobody

  • Comment: code cleanup

    how about replace the two initial lines, sockets = map(...) sockets = filter(...) with: sockets = [conn.get_socket() for conn in self.connections if conn.get_socket() != None].

    2009-09-22 11:43:38 UTC by nobody

  • Comment: Bug with dccreceive example

    'w+b' or 'wb' ?.

    2009-09-22 10:50:37 UTC by nobody

  • Bug with dccreceive example

    dccreceive example line 29 (version 0.4.8) should be: self.file = open(self.filename, 'w+b') instead of self.file = open(self.filename, 'w') This won't work correctly on Windows since Windows does string encoding (i.e., change '\n' to '\r\n'). The fix is to open the file for writing in binary mode instead of text mode.

    2009-09-21 03:56:54 UTC by nobody

Our Numbers