Skip to content

Monthly Archives: May 2007

Producer/Consumer with multitask library

Generators are great if you ask me and so are the power ups that Python 2.5 adds to them. Since the last version of Python you have: yield as an expression so you can store a returned value values can be sent to the generator with gen.send(value), so you can somewhat handle the generator from [...]

Updates from Python SVN, Part 8

Towards Python 3.0 There’s a new shiny feature: you can track what’s going to disappear in Python 3.x with the -3 switch on the command line. See: [code lang="python"] rhymes@groove % ./python.exe -3 Python 2.6a0 (trunk, May 29 2007, 13:55:02) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" [...]

CherryPy Essentials, Book Review

Kshipra Singh of Packt Publishing kindly sent me a review copy of the brand new book about CherryPy 3.0: a really nice and self contained HTTP framework. The author of the book is Sylvain Hellegouarch and I think he did the right thing writing it. It’s perfect if you want to start with CP or [...]

PyCon It is approaching

The first Python conference in Italy, ever, is finally approaching. Our aim is to promote, spread and get to know people in the Python world. The conference will be held in Florence on June, the 9th and 10th. If you understand Italian and are remotely interested in Python just come. I bet it will be [...]

Updates from Python SVN, Part 7

logging.SMTPHandler now supports authentication credentials through (username, password) tuple as the last argument of the constructor. logging.SocketHandler.makeSocket has an optional timeout argument. Added logging.WatchedFileHandler to better support external log file rotation. Useful only in Unix/Linux environments. BaseException.message has been deprecated (see PEP 352 for the rationale). The popen2 module and os.popen* are now deprecated in [...]